CVE-2022-50762
fs/ntfs3: Avoid UBSAN error on true_sectors_per_clst()
Check your servers for CVE-2022-50762
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-50762 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/ntfs3: Avoid UBSAN error on true_sectors_per_clst()
syzbot reported UBSAN error as below:
[ 76.901829][ T6677] ================================================================================ [ 76.903908][ T6677] UBSAN: shift-out-of-bounds in fs/ntfs3/super.c:675:13 [ 76.905363][ T6677] shift exponent -247 is negative
This patch avoid this error.
Exploitation
EPSS 0.28%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 21.6% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 58cf68a1886d14ffdc5c892ce483a82156769e88, before 4b51f27d4448c84957bce190292f75d4896d56b3 affected from a3b774342fa752a5290c0de36375289dfcf4a260, before 8fe280ae85177c2323ae8c9849ff27a3a6b69506 affected from a3b774342fa752a5290c0de36375289dfcf4a260, before 95afb464c86c6e9e95ea9e595282fa6f693072e8 affected from a3b774342fa752a5290c0de36375289dfcf4a260, before caad9dd8792a2622737b7273cb34835fd9536cd2 affected 4746c49b11b2403f5b5b07c6eac9e60663dcd9a3 affected a2b6986316a2d106f6951e76db70fa4b2fde64a9 affected from 5.15.45, before 5.15.86 affected from 5.17.13, before 5.18 affected from 5.18.2, before 5.19
Other versions: unaffected
|
| Linux |
affected 5.19 unaffected before 5.19 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-50762 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-50762
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-50762
trivy image --scanners vuln IMAGE | grep CVE-2022-50762
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/4b51f27d4448c84957bce190292f75d4896d56b3 git.kernel.org
- https://git.kernel.org/stable/c/8fe280ae85177c2323ae8c9849ff27a3a6b69506 git.kernel.org
- https://git.kernel.org/stable/c/95afb464c86c6e9e95ea9e595282fa6f693072e8 git.kernel.org
- https://git.kernel.org/stable/c/caad9dd8792a2622737b7273cb34835fd9536cd2 git.kernel.org
Source: the record CVE-2022-50762 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