# CVE-2022-50762: fs/ntfs3: Avoid UBSAN error on true\_sectors\_per\_clst()

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.28% (percentile 13, 2026-11-26)
- **Published:** 2025-12-24T13:05:54.020Z
- **Modified:** 2026-11-10T12:10:00.177Z

## Who should check

- Anyone running Linux \>= 58cf68a1886d14ffdc5c892ce483a82156769e88, \< 4b51f27d4448c84957bce190292f75d4896d56b3; \>= a3b774342fa752a5290c0de36375289dfcf4a260, \< 8fe280ae85177c2323ae8c9849ff27a3a6b69506; \>= a3b774342fa752a5290c0de36375289dfcf4a260, \< 95afb464c86c6e9e95ea9e595282fa6f693072e8; \>= a3b774342fa752a5290c0de36375289dfcf4a260, \< caad9dd8792a2622737b7273cb34835fd9536cd2; 4746c49b11b2403f5b5b07c6eac9e60663dcd9a3; a2b6986316a2d106f6951e76db70fa4b2fde64a9; \>= 5.15.45, \< 5.15.86; \>= 5.17.13, \< 5.18; \>= 5.18.2, \< 5.19
- Anyone running Linux 5.19

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

## Affected and fixed versions

- Linux: \>= 58cf68a1886d14ffdc5c892ce483a82156769e88, \< 4b51f27d4448c84957bce190292f75d4896d56b3; \>= a3b774342fa752a5290c0de36375289dfcf4a260, \< 8fe280ae85177c2323ae8c9849ff27a3a6b69506; \>= a3b774342fa752a5290c0de36375289dfcf4a260, \< 95afb464c86c6e9e95ea9e595282fa6f693072e8; \>= a3b774342fa752a5290c0de36375289dfcf4a260, \< caad9dd8792a2622737b7273cb34835fd9536cd2; 4746c49b11b2403f5b5b07c6eac9e60663dcd9a3; a2b6986316a2d106f6951e76db70fa4b2fde64a9; \>= 5.15.45, \< 5.15.86; \>= 5.17.13, \< 5.18; \>= 5.18.2, \< 5.19 (cvelist)
- Linux: 5.19 (cvelist)

## Mitigation

- Upgrade Linux to 5.19 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-50762. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50762.md
Affected: Linux >= 58cf68a1886d14ffdc5c892ce483a82156769e88, < 4b51f27d4448c84957bce190292f75d4896d56b3; >= a3b774342fa752a5290c0de36375289dfcf4a260, < 8fe280ae85177c2323ae8c9849ff27a3a6b69506; >= a3b774342fa752a5290c0de36375289dfcf4a260, < 95afb464c86c6e9e95ea9e595282fa6f693072e8; >= a3b774342fa752a5290c0de…
Fixed in: Linux 4b51f27d4448c84957bce190292f75d4896d56b3, Linux 8fe280ae85177c2323ae8c9849ff27a3a6b69506, Linux 95afb464c86c6e9e95ea9e595282fa6f693072e8, Linux 5.15.86, Linux 5.18, Linux 5.19

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-50762 being exploited?

There is no confirmed exploitation: CVE-2022-50762 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-50762?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2022-50762?

Linux \>= 58cf68a1886d14ffdc5c892ce483a82156769e88, \< 4b51f27d4448c84957bce190292f75d4896d56b3; \>= a3b774342fa752a5290c0de36375289dfcf4a260, \< 8fe280ae85177c2323ae8c9849ff27a3a6b69506; \>= a3b774342fa752a5290c0de36375289dfcf4a260, \< 95afb464c86c6e9e95ea9e595282fa6f693072e8; \>= a3b774342fa752a5290c0de36375289dfcf4a260, \< caad9dd8792a2622737b7273cb34835fd9536cd2; 4746c49b11b2403f5b5b07c6eac9e60663dcd9a3; a2b6986316a2d106f6951e76db70fa4b2fde64a9; \>= 5.15.45, \< 5.15.86; \>= 5.17.13, \< 5.18; \>= 5.18.2, \< 5.19; Linux 5.19.

### Is there a fix for CVE-2022-50762?

Yes. Fixed in Linux 4b51f27d4448c84957bce190292f75d4896d56b3, Linux 8fe280ae85177c2323ae8c9849ff27a3a6b69506, Linux 95afb464c86c6e9e95ea9e595282fa6f693072e8, Linux 5.15.86, Linux 5.18, Linux 5.19. Upgrade Linux to 5.19 or later.

### How do I check if I'm affected by CVE-2022-50762?

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

- other: <https://git.kernel.org/stable/c/4b51f27d4448c84957bce190292f75d4896d56b3>
- other: <https://git.kernel.org/stable/c/8fe280ae85177c2323ae8c9849ff27a3a6b69506>
- other: <https://git.kernel.org/stable/c/95afb464c86c6e9e95ea9e595282fa6f693072e8>
- other: <https://git.kernel.org/stable/c/caad9dd8792a2622737b7273cb34835fd9536cd2>

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

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