Linux Kernel up to 6.0.9 sb_bsize_shift out-of-bounds

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
4.4$0-$5k0.00

Summaryinfo

A vulnerability described as problematic has been identified in Linux Kernel up to 6.0.9. This impacts the function sb_bsize_shift. Such manipulation leads to out-of-bounds. This vulnerability is referenced as CVE-2022-49769. No exploit is available. Upgrading the affected component is recommended.

Detailsinfo

A vulnerability, which was classified as problematic, has been found in Linux Kernel up to 6.0.9. Affected by this issue is the function sb_bsize_shift. The manipulation with an unknown input leads to a out-of-bounds vulnerability. Using CWE to declare the problem leads to CWE-125. The product reads data past the end, or before the beginning, of the intended buffer. Impacted is confidentiality. CVE summarizes:

In the Linux kernel, the following vulnerability has been resolved: gfs2: Check sb_bsize_shift after reading superblock Fuzzers like to scribble over sb_bsize_shift but in reality it's very unlikely that this field would be corrupted on its own. Nevertheless it should be checked to avoid the possibility of messy mount errors due to bad calculations. It's always a fixed value based on the block size so we can just check that it's the expected value. Tested with: mkfs.gfs2 -O -p lock_nolock /dev/vdb for i in 0 -1 64 65 32 33; do gfs2_edit -p sb field sb_bsize_shift $i /dev/vdb mount /dev/vdb /mnt/test && umount /mnt/test done Before this patch we get a withdraw after [ 76.413681] gfs2: fsid=loop0.0: fatal: invalid metadata block [ 76.413681] bh = 19 (type: exp=5, found=4) [ 76.413681] function = gfs2_meta_buffer, file = fs/gfs2/meta_io.c, line = 492 and with UBSAN configured we also get complaints like [ 76.373395] UBSAN: shift-out-of-bounds in fs/gfs2/ops_fstype.c:295:19 [ 76.373815] shift exponent 4294967287 is too large for 64-bit type 'long unsigned int' After the patch, these complaints don't appear, mount fails immediately and we get an explanation in dmesg.

The advisory is shared for download at git.kernel.org. This vulnerability is handled as CVE-2022-49769 since 04/16/2025. There are known technical details, but no exploit is available.

The vulnerability scanner Nessus provides a plugin with the ID 240812 (SUSE SLES15 Security Update : kernel (SUSE-SU-2025:01982-1)), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 4.9.334, 4.14.300, 4.19.267, 5.4.225, 5.10.156, 5.15.80 or 6.0.10 eliminates this vulnerability. Applying the patch d6b1e8ea6f3418c3b461ad5a35cdc93c996b2c87/1ad197097343568066a8ffaa27ee7d0ae6d9f476/15c83fa0fd659dd9fbdc940a560b61236e876a80/8b6534c9ae9dba5489703a19d8ba6c8f2cfa33c2/5fa30be7ba81191b0a0c7239a89befc0c94286d5/28275a7c84d21c55ab3282d897f284d8d527173c/16670534c7cff1acd918a6a5ec751b14e7436b76/670f8ce56dd0632dc29a0322e188cc73ce3c6b92 is able to eliminate this problem. The bugfix is ready for download at git.kernel.org. The best possible mitigation is suggested to be upgrading to the latest version.

The vulnerability is also documented in the vulnerability database at Tenable (240812). VulDB is the best source for vulnerability data and more expert information about this specific topic.

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 4.5
VulDB Meta Temp Score: 4.4

VulDB Base Score: 3.5
VulDB Temp Score: 3.4
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 5.5
NVD Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Exploitinginfo

Class: Out-of-bounds
CWE: CWE-125 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: Partially

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 240812
Nessus Name: SUSE SLES15 Security Update : kernel (SUSE-SU-2025:01982-1)

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: Kernel 4.9.334/4.14.300/4.19.267/5.4.225/5.10.156/5.15.80/6.0.10
Patch: d6b1e8ea6f3418c3b461ad5a35cdc93c996b2c87/1ad197097343568066a8ffaa27ee7d0ae6d9f476/15c83fa0fd659dd9fbdc940a560b61236e876a80/8b6534c9ae9dba5489703a19d8ba6c8f2cfa33c2/5fa30be7ba81191b0a0c7239a89befc0c94286d5/28275a7c84d21c55ab3282d897f284d8d527173c/16670534c7cff1acd918a6a5ec751b14e7436b76/670f8ce56dd0632dc29a0322e188cc73ce3c6b92

Timelineinfo

04/16/2025 🔍
05/01/2025 +15 days 🔍
05/01/2025 +0 days 🔍
11/07/2025 +190 days 🔍

Sourcesinfo

Vendor: kernel.org

Advisory: git.kernel.org
Status: Confirmed

CVE: CVE-2022-49769 (🔍)
GCVE (CVE): GCVE-0-2022-49769
GCVE (VulDB): GCVE-100-306920

Entryinfo

Created: 05/01/2025 17:18
Updated: 11/07/2025 13:14
Changes: 05/01/2025 17:18 (58), 06/28/2025 00:08 (2), 11/07/2025 13:14 (12)
Complete: 🔍
Cache ID: 216::103

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to know what is going to be exploited?

We predict KEV entries!