CVE-2022-50567: fs: jfs: fix shift-out-of-bounds in dbAllocAG
Vulnerability summary
CVE-2022-50567 is a high (CVSS 7.8) vulnerability in linux. EPSS estimates a 0.17% chance of exploitation in the next 30 days, higher than 6.5% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 4 · Related 4Timeline
- 22-10-2025PublishedVulnerability first disclosed.
- 05-08-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: fs: jfs: fix shift-out-of-bounds in dbAllocAG Syzbot found a crash : UBSAN: shift-out-of-bounds in dbAllocAG. The underlying bug is the missing check of bmp->db_agl2size. The field can be greater than 64 and trigger the shift-out-of-bounds. Fix this bug by adding a check of bmp->db_agl2size in dbMount since this field is used in many following functions. The upper bound for this field is L2MAXL2SIZE - L2MAXAG, thanks for the help of Dave Kleikamp. Note that, for maintenance, I reorganized error handling code of dbMount.
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.17%
Chance of exploitation in the next 30 days
Percentile
7%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.17% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu120 products
- linuxAll versions (No fix recorded) | < 4.15.0-208.220 | < 5.4.0-144.161 | < 5.15.0-69.76
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 4.15.0-1153.166 | < 5.4.0-1097.105 | < 5.15.0-1033.37
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Debian1 product
- linux< 6.1.4-1
Linux1 product
- linux≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < d3b486946a4e62c7ef6023f7d9c1d049051384ba | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 3115313cf03113e87c87adee18ee49a20bbdb9ba | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < eea87acb6027be3dd4d3c57186bb22800d57fdda | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 359616ce587e524107730504891afa4b1a8be58c | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 3e997e4ce8ae7ab89d72334120f6aee49c5bbdbd | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 0536f76a2bca83d1a3740517ba22cc93a44b3099 | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 2c575c8905f7a8b32d5611b91856b69bac2a5bf1 | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 67973caae78e21ee46a7281aaa8ca364eb9c444f | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 898f706695682b9954f280d95e49fa86ffa55d08 | 2.6.12
3 vendors · 122 products