CVE-2022-50057
fs/ntfs3: Fix NULL deref in ntfs_update_mftmirr
Mitigation
- Upgrade Linux to 321460ca3b55f48b3ba6008248264ab2bd6407d9 or later.
Who should check
- Anyone running Linux >= 82cae269cfa953032fbb8980a7d554d60fb00b17, < 8e8e1a84dac7a3d2b432162a70d7fb6a75960772; >= 82cae269cfa953032fbb8980a7d554d60fb00b17, < bf6089dc01ba3194ab962105d7b85690843c256f; >= 82cae269cfa953032fbb8980a7d554d60fb00b17, < 321460ca3b55f48b3ba6008248264ab2bd6407d9
- Anyone running Linux 5.15
Vulnerability facts
- Affected
- Linux >= 82cae269cfa953032fbb8980a7d554d60fb00b17, < 8e8e1a84dac7a3d2b432162a70d7fb6a75960772; >= 82cae269cfa953032fbb8980a7d554d60fb00b17, < bf6089dc01ba3194ab962105d7b85690843c256f; >= 82cae269cfa953032fbb8980a7d554d60fb00b17, < 321460ca3b55f48b3ba6008248264ab2bd6407d9; Linux 5.15
- Fixed in
- Linux 8e8e1a84dac7a3d2b432162a70d7fb6a75960772, Linux 321460ca3b55f48b3ba6008248264ab2bd6407d9
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.27% chance of exploitation in 30 days (percentile 13, 2026-11-26)
- CWE
- CWE-476
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: fs/ntfs3: Fix NULL deref in ntfs_update_mftmirr If ntfs_fill_super() wasn't called then sbi->sb will be equal to NULL. Code should check this ptr before dereferencing. Syzbot hit this issue via passing wrong mount param as can be seen from log below Fail log: ntfs3: Unknown parameter 'iochvrset' general protection fault, probably for non-canonical address 0xdffffc0000000003: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000018-0x000000000000001f] CPU: 1 PID: 3589 Comm: syz-executor210 Not tainted 5.18.0-rc3-syzkaller-00016-gb253435746d9 #0 ... Call Trace: <TASK> put_ntfs+0x1ed/0x2a0 fs/ntfs3/super.c:463 ntfs_fs_free+0x6a/0xe0 fs/ntfs3/super.c:1363 put_fs_context+0x119/0x7a0 fs/fs_context.c:469 do_new_mount+0x2b4/0xad0 fs/namespace.c:3044 do_mount fs/namespace.c:3383 [inline] __do_sys_mount fs/namespace.c:3591 [inline]
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 82cae269cfa953032fbb8980a7d554d60fb00b17, < 8e8e1a84dac7a3d2b432162a70d7fb6a75960772; >= 82cae269cfa953032fbb8980a7d554d60fb00b17, < bf6089dc01ba3194ab962105d7b85690843c256f; >= 82cae269cfa953032fbb8980a7d554d60fb00b17, < 321460ca3b55f48b3ba6008248264ab2bd6407d9 | — | cvelist |
| Linux | 5.15 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-50057. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-50057.md Affected: Linux >= 82cae269cfa953032fbb8980a7d554d60fb00b17, < 8e8e1a84dac7a3d2b432162a70d7fb6a75960772; >= 82cae269cfa953032fbb8980a7d554d60fb00b17, < bf6089dc01ba3194ab962105d7b85690843c256f; >= 82cae269cfa953032fbb8980a7d554d60fb00b17, < 321460ca3b55f48b3ba6008248264ab2bd6407d9; Linux 5.15 Fixed in: Linux 8e8e1a84dac7a3d2b432162a70d7fb6a75960772, Linux 321460ca3b55f48b3ba6008248264ab2bd6407d9 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.
References
FAQ
Is CVE-2022-50057 being exploited?
There is no confirmed exploitation: CVE-2022-50057 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.27% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-50057?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2022-50057?
Linux >= 82cae269cfa953032fbb8980a7d554d60fb00b17, < 8e8e1a84dac7a3d2b432162a70d7fb6a75960772; >= 82cae269cfa953032fbb8980a7d554d60fb00b17, < bf6089dc01ba3194ab962105d7b85690843c256f; >= 82cae269cfa953032fbb8980a7d554d60fb00b17, < 321460ca3b55f48b3ba6008248264ab2bd6407d9; Linux 5.15.
Is there a fix for CVE-2022-50057?
Yes. Fixed in Linux 8e8e1a84dac7a3d2b432162a70d7fb6a75960772, Linux 321460ca3b55f48b3ba6008248264ab2bd6407d9. Upgrade Linux to 321460ca3b55f48b3ba6008248264ab2bd6407d9 or later.
How do I check if I'm affected by CVE-2022-50057?
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.