CVE-2022-50333
fs: jfs: fix shift-out-of-bounds in dbDiscardAG
Check your servers for CVE-2022-50333
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-50333 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- required: a user has to do something, such as open a link or a file
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.18%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 8.02% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from b40c2e665cd552eae5fbdbb878bc29a34357668e, before f8d4d0bac603616e2fa4a3907e81ed13f8f3c380 affected from b40c2e665cd552eae5fbdbb878bc29a34357668e, before 0183c8f46ab5bcd0740f41c87f5141c6ca2bf1bb affected from b40c2e665cd552eae5fbdbb878bc29a34357668e, before 624843f1bac448150f6859999c72c4841c14a2e3 affected from b40c2e665cd552eae5fbdbb878bc29a34357668e, before 50163a115831ef4e6402db5a7ef487d1989d7249 affected from b40c2e665cd552eae5fbdbb878bc29a34357668e, before 911999b193735cd378517b6cd5fe585ee345d49c affected from b40c2e665cd552eae5fbdbb878bc29a34357668e, before 10b87da8fae79c7daf5eda6a9e4f1d31b85b4d92 affected from b40c2e665cd552eae5fbdbb878bc29a34357668e, before ab5cd3d62c2493eca3337e7d0178cc7bd819ca64 affected from b40c2e665cd552eae5fbdbb878bc29a34357668e, before 3d340b684dcec5e34efc470227cd1c7d2df121ad affected from b40c2e665cd552eae5fbdbb878bc29a34357668e, before 25e70c6162f207828dd405b432d8f2a98dbf7082
Other versions: unaffected
|
| Linux |
affected 3.7 unaffected before 3.7 unaffected from 4.9.337 up to and including 4.9.* unaffected from 4.14.303 up to and including 4.14.* unaffected from 4.19.270 up to and including 4.19.* unaffected from 5.4.229 up to and including 5.4.* unaffected from 5.10.163 up to and including 5.10.* unaffected from 5.15.86 up to and including 5.15.* unaffected from 6.0.16 up to and including 6.0.* unaffected from 6.1.2 up to and including 6.1.* unaffected 6.2 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-50333 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-50333
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2022-50333
trivy image --scanners vuln IMAGE | grep CVE-2022-50333
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/f8d4d0bac603616e2fa4a3907e81ed13f8f3c380 git.kernel.org
- https://git.kernel.org/stable/c/0183c8f46ab5bcd0740f41c87f5141c6ca2bf1bb git.kernel.org
- https://git.kernel.org/stable/c/624843f1bac448150f6859999c72c4841c14a2e3 git.kernel.org
- https://git.kernel.org/stable/c/50163a115831ef4e6402db5a7ef487d1989d7249 git.kernel.org
- https://git.kernel.org/stable/c/911999b193735cd378517b6cd5fe585ee345d49c git.kernel.org
- https://git.kernel.org/stable/c/10b87da8fae79c7daf5eda6a9e4f1d31b85b4d92 git.kernel.org
- https://git.kernel.org/stable/c/ab5cd3d62c2493eca3337e7d0178cc7bd819ca64 git.kernel.org
- https://git.kernel.org/stable/c/3d340b684dcec5e34efc470227cd1c7d2df121ad git.kernel.org
- https://git.kernel.org/stable/c/25e70c6162f207828dd405b432d8f2a98dbf7082 git.kernel.org
Source: the record CVE-2022-50333 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse