# CVE-2022-50333: fs: jfs: fix shift-out-of-bounds in dbDiscardAG

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.26% (percentile 11, 2026-11-26)
- **CWE:** CWE-125
- **Published:** 2025-09-15T14:49:46.222Z
- **Modified:** 2026-08-05T08:58:15.308Z

## 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

## 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

- Linux: \>= b40c2e665cd552eae5fbdbb878bc29a34357668e, \< f8d4d0bac603616e2fa4a3907e81ed13f8f3c380; \>= b40c2e665cd552eae5fbdbb878bc29a34357668e, \< 0183c8f46ab5bcd0740f41c87f5141c6ca2bf1bb; \>= b40c2e665cd552eae5fbdbb878bc29a34357668e, \< 624843f1bac448150f6859999c72c4841c14a2e3; \>= b40c2e665cd552eae5fbdbb878bc29a34357668e, \< 50163a115831ef4e6402db5a7ef487d1989d7249; \>= b40c2e665cd552eae5fbdbb878bc29a34357668e, \< 911999b193735cd378517b6cd5fe585ee345d49c; \>= b40c2e665cd552eae5fbdbb878bc29a34357668e, \< 10b87da8fae79c7daf5eda6a9e4f1d31b85b4d92; \>= b40c2e665cd552eae5fbdbb878bc29a34357668e, \< ab5cd3d62c2493eca3337e7d0178cc7bd819ca64; \>= b40c2e665cd552eae5fbdbb878bc29a34357668e, \< 3d340b684dcec5e34efc470227cd1c7d2df121ad; \>= b40c2e665cd552eae5fbdbb878bc29a34357668e, \< 25e70c6162f207828dd405b432d8f2a98dbf7082 (cvelist)
- Linux: 3.7 (cvelist)

## Mitigation

- Upgrade Linux to 25e70c6162f207828dd405b432d8f2a98dbf7082 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- patch: <https://git.kernel.org/stable/c/f8d4d0bac603616e2fa4a3907e81ed13f8f3c380>
- patch: <https://git.kernel.org/stable/c/0183c8f46ab5bcd0740f41c87f5141c6ca2bf1bb>
- patch: <https://git.kernel.org/stable/c/624843f1bac448150f6859999c72c4841c14a2e3>
- patch: <https://git.kernel.org/stable/c/50163a115831ef4e6402db5a7ef487d1989d7249>
- patch: <https://git.kernel.org/stable/c/911999b193735cd378517b6cd5fe585ee345d49c>
- patch: <https://git.kernel.org/stable/c/10b87da8fae79c7daf5eda6a9e4f1d31b85b4d92>
- patch: <https://git.kernel.org/stable/c/ab5cd3d62c2493eca3337e7d0178cc7bd819ca64>
- patch: <https://git.kernel.org/stable/c/3d340b684dcec5e34efc470227cd1c7d2df121ad>
- patch: <https://git.kernel.org/stable/c/25e70c6162f207828dd405b432d8f2a98dbf7082>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-50333>

HTML: <https://flawdb.com/CVE-2022-50333> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-50333>
