CVE-2022-50333
fs: jfs: fix shift-out-of-bounds in dbDiscardAG
Mitigation
- Upgrade Linux to 25e70c6162f207828dd405b432d8f2a98dbf7082 or later.
Who should check
- Anyone running Linux >= b40c2e665cd552eae5fbdbb878bc29a34357668e, < f8d4d0bac603616e2fa4a3907e81ed13f8f3c380; >= b40c2e665cd552eae5fbdbb878bc29a34357668e, < 0183c8f46ab5bcd0740f41c87f5141c6ca2bf1bb; >= b40c2e665cd552eae5fbdbb878bc29a34357668e, < 624843f1bac448150f6859999c72c4841c14a2e3; >= b40c2e665cd552eae5fbdbb878bc29a34357668e, < 50163a115831ef4e6402db5a7ef487d1989d7249; >= b40c2e665cd552eae5fbdbb878bc29a34357668e, < 911999b193735cd378517b6cd5fe585ee345d49c; >= b40c2e665cd552eae5fbdbb878bc29a34357668e, < 10b87da8fae79c7daf5eda6a9e4f1d31b85b4d92; >= b40c2e665cd552eae5fbdbb878bc29a34357668e, < ab5cd3d62c2493eca3337e7d0178cc7bd819ca64; >= b40c2e665cd552eae5fbdbb878bc29a34357668e, < 3d340b684dcec5e34efc470227cd1c7d2df121ad; >= b40c2e665cd552eae5fbdbb878bc29a34357668e, < 25e70c6162f207828dd405b432d8f2a98dbf7082
- Anyone running Linux 3.7
Vulnerability facts
- Affected
- Linux >= b40c2e665cd552eae5fbdbb878bc29a34357668e, < f8d4d0bac603616e2fa4a3907e81ed13f8f3c380; >= b40c2e665cd552eae5fbdbb878bc29a34357668e, < 0183c8f46ab5bcd0740f41c87f5141c6ca2bf1bb; >= b40c2e665cd552eae5fbdbb878bc29a34357668e, < 624843f1bac448150f6859999c72c4841c14a2e3; >= b40c2e665cd552eae5fbdbb878bc29a34357668e, < 50163a115831ef4e6402db5a7ef487d1989d7249; >= b40c2e665cd552eae5fbdbb878bc29a34357668e, < 911999b193735cd378517b6cd5fe585ee345d49c; >= b40c2e665cd552eae5fbdbb878bc29a34357668e, < 10b87da8fae79c7daf5eda6a9e4f1d31b85b4d92; >= b40c2e665cd552eae5fbdbb878bc29a34357668e, < ab5cd3d62c2493eca3337e7d0178cc7bd819ca64; >= b40c2e665cd552eae5fbdbb878bc29a34357668e, < 3d340b684dcec5e34efc470227cd1c7d2df121ad; >= b40c2e665cd552eae5fbdbb878bc29a34357668e, < 25e70c6162f207828dd405b432d8f2a98dbf7082; Linux 3.7
- Fixed in
- Linux 0183c8f46ab5bcd0740f41c87f5141c6ca2bf1bb, Linux 624843f1bac448150f6859999c72c4841c14a2e3, Linux 50163a115831ef4e6402db5a7ef487d1989d7249, Linux 911999b193735cd378517b6cd5fe585ee345d49c, Linux 10b87da8fae79c7daf5eda6a9e4f1d31b85b4d92, Linux 3d340b684dcec5e34efc470227cd1c7d2df121ad, Linux 25e70c6162f207828dd405b432d8f2a98dbf7082
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: None
- User interaction: Required
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.26% chance of exploitation in 30 days (percentile 11, 2026-11-26)
- CWE
- CWE-125
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: fs: jfs: fix shift-out-of-bounds in dbDiscardAG This should be applied to most URSAN bugs found recently by syzbot, by guarding the dbMount. As syzbot feeding rubbish into the bmap descriptor.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= b40c2e665cd552eae5fbdbb878bc29a34357668e, < f8d4d0bac603616e2fa4a3907e81ed13f8f3c380; >= b40c2e665cd552eae5fbdbb878bc29a34357668e, < 0183c8f46ab5bcd0740f41c87f5141c6ca2bf1bb; >= b40c2e665cd552eae5fbdbb878bc29a34357668e, < 624843f1bac448150f6859999c72c4841c14a2e3; >= b40c2e665cd552eae5fbdbb878bc29a34357668e, < 50163a115831ef4e6402db5a7ef487d1989d7249; >= b40c2e665cd552eae5fbdbb878bc29a34357668e, < 911999b193735cd378517b6cd5fe585ee345d49c; >= b40c2e665cd552eae5fbdbb878bc29a34357668e, < 10b87da8fae79c7daf5eda6a9e4f1d31b85b4d92; >= b40c2e665cd552eae5fbdbb878bc29a34357668e, < ab5cd3d62c2493eca3337e7d0178cc7bd819ca64; >= b40c2e665cd552eae5fbdbb878bc29a34357668e, < 3d340b684dcec5e34efc470227cd1c7d2df121ad; >= b40c2e665cd552eae5fbdbb878bc29a34357668e, < 25e70c6162f207828dd405b432d8f2a98dbf7082 | — | cvelist |
| Linux | 3.7 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-50333. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-50333.md Affected: Linux >= b40c2e665cd552eae5fbdbb878bc29a34357668e, < f8d4d0bac603616e2fa4a3907e81ed13f8f3c380; >= b40c2e665cd552eae5fbdbb878bc29a34357668e, < 0183c8f46ab5bcd0740f41c87f5141c6ca2bf1bb; >= b40c2e665cd552eae5fbdbb878bc29a34357668e, < 624843f1bac448150f6859999c72c4841c14a2e3; >= b40c2e665cd552eae5fbdbb… Fixed in: Linux 0183c8f46ab5bcd0740f41c87f5141c6ca2bf1bb, Linux 624843f1bac448150f6859999c72c4841c14a2e3, Linux 50163a115831ef4e6402db5a7ef487d1989d7249, Linux 911999b193735cd378517b6cd5fe585ee345d49c, Linux 10b87da8fae79c7daf5eda6a9e4f1d31b85b4d92, Linux 3d340b684dcec5e34efc470227cd1c7d2df121ad, Linux 25e70… Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/f8d4d0bac603616e2fa4a3907e81ed13f8f3c380
- https://git.kernel.org/stable/c/0183c8f46ab5bcd0740f41c87f5141c6ca2bf1bb
- https://git.kernel.org/stable/c/624843f1bac448150f6859999c72c4841c14a2e3
- https://git.kernel.org/stable/c/50163a115831ef4e6402db5a7ef487d1989d7249
- https://git.kernel.org/stable/c/911999b193735cd378517b6cd5fe585ee345d49c
- https://git.kernel.org/stable/c/10b87da8fae79c7daf5eda6a9e4f1d31b85b4d92
- https://git.kernel.org/stable/c/ab5cd3d62c2493eca3337e7d0178cc7bd819ca64
- https://git.kernel.org/stable/c/3d340b684dcec5e34efc470227cd1c7d2df121ad
- https://git.kernel.org/stable/c/25e70c6162f207828dd405b432d8f2a98dbf7082
FAQ
Is CVE-2022-50333 being exploited?
There is no confirmed exploitation: CVE-2022-50333 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.26% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-50333?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2022-50333?
Linux >= b40c2e665cd552eae5fbdbb878bc29a34357668e, < f8d4d0bac603616e2fa4a3907e81ed13f8f3c380; >= b40c2e665cd552eae5fbdbb878bc29a34357668e, < 0183c8f46ab5bcd0740f41c87f5141c6ca2bf1bb; >= b40c2e665cd552eae5fbdbb878bc29a34357668e, < 624843f1bac448150f6859999c72c4841c14a2e3; >= b40c2e665cd552eae5fbdbb878bc29a34357668e, < 50163a115831ef4e6402db5a7ef487d1989d7249; >= b40c2e665cd552eae5fbdbb878bc29a34357668e, < 911999b193735cd378517b6cd5fe585ee345d49c; >= b40c2e665cd552eae5fbdbb878bc29a34357668e, < 10b87da8fae79c7daf5eda6a9e4f1d31b85b4d92; >= b40c2e665cd552eae5fbdbb878bc29a34357668e, < ab5cd3d62c2493eca3337e7d0178cc7bd819ca64; >= b40c2e665cd552eae5fbdbb878bc29a34357668e, < 3d340b684dcec5e34efc470227cd1c7d2df121ad; >= b40c2e665cd552eae5fbdbb878bc29a34357668e, < 25e70c6162f207828dd405b432d8f2a98dbf7082; Linux 3.7.
Is there a fix for CVE-2022-50333?
Yes. Fixed in Linux 0183c8f46ab5bcd0740f41c87f5141c6ca2bf1bb, Linux 624843f1bac448150f6859999c72c4841c14a2e3, Linux 50163a115831ef4e6402db5a7ef487d1989d7249, Linux 911999b193735cd378517b6cd5fe585ee345d49c, Linux 10b87da8fae79c7daf5eda6a9e4f1d31b85b4d92, Linux 3d340b684dcec5e34efc470227cd1c7d2df121ad, Linux 25e70c6162f207828dd405b432d8f2a98dbf7082. Upgrade Linux to 25e70c6162f207828dd405b432d8f2a98dbf7082 or later.
How do I check if I'm affected by CVE-2022-50333?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.