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

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 8% of CVEs (2026-12-01)
- Published: 2025-09-15T14:49:46.222Z
- Modified: 2026-08-05T08:58:15.308Z
- Weaknesses: CWE-125
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from b40c2e665cd552eae5fbdbb878bc29a34357668e before f8d4d0bac603616e2fa4a3907e81ed13f8f3c380; from b40c2e665cd552eae5fbdbb878bc29a34357668e before 0183c8f46ab5bcd0740f41c87f5141c6ca2bf1bb; from b40c2e665cd552eae5fbdbb878bc29a34357668e before 624843f1bac448150f6859999c72c4841c14a2e3; from b40c2e665cd552eae5fbdbb878bc29a34357668e before 50163a115831ef4e6402db5a7ef487d1989d7249; from b40c2e665cd552eae5fbdbb878bc29a34357668e before 911999b193735cd378517b6cd5fe585ee345d49c; from b40c2e665cd552eae5fbdbb878bc29a34357668e before 10b87da8fae79c7daf5eda6a9e4f1d31b85b4d92; from b40c2e665cd552eae5fbdbb878bc29a34357668e before ab5cd3d62c2493eca3337e7d0178cc7bd819ca64; from b40c2e665cd552eae5fbdbb878bc29a34357668e before 3d340b684dcec5e34efc470227cd1c7d2df121ad; from b40c2e665cd552eae5fbdbb878bc29a34357668e before 25e70c6162f207828dd405b432d8f2a98dbf7082; 3.7 (not affected: before 3.7; from 4.9.337 up to 4.9.*; from 4.14.303 up to 4.14.*; from 4.19.270 up to 4.19.*; from 5.4.229 up to 5.4.*; from 5.10.163 up to 5.10.*; from 5.15.86 up to 5.15.*; from 6.0.16 up to 6.0.*; from 6.1.2 up to 6.1.*; from 6.2 up to *)
- linux linux_kernel: before 4.9.337; from 4.10 before 4.14.303; from 4.15 before 4.19.270; from 4.20 before 5.4.229; from 5.5 before 5.10.163; from 5.11 before 5.15.86; from 5.16 before 6.0.16; from 6.1 before 6.1.2

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`

## References

- <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> (patch)

## Sources

- CVE List: [CVE-2022-50333](https://www.cve.org/CVERecord?id=CVE-2022-50333), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2022-50333](https://nvd.nist.gov/vuln/detail/CVE-2022-50333), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2022-50333 · Whole record: https://cve.day/CVE-2022-50333.json · Rebuilt by cve.day 2026-11-25T22:58:21.168Z
