Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2022-50451

MEDIUM 5.5EPSS 7%

fs/ntfs3: Fix memory leak on ntfs_fill_super() error path

Mitigation

  • Upgrade Linux to 5.20 or later.

Who should check

  • Anyone running Linux >= 78e4aebc35b3e4494a96ffe7534db7201aba869f, < 2dd9ccfb06bcdad30ad92d96c3affa38a458679e; >= cd39981fb92adf0cc736112f87e3e61602baa415, < ff0df7d9cdbb12878155168b5234e99029e5377f; >= cd39981fb92adf0cc736112f87e3e61602baa415, < 2600c80ea7b39f987c3fa89287e73d62e322bbbd; >= cd39981fb92adf0cc736112f87e3e61602baa415, < 51e76a232f8c037f1d9e9922edc25b003d5f3414; 0fd64f062c8d1793d8d6d39fa3a4468e39880f90; >= 5.15.63, < 5.15.87; >= 5.19.4, < 5.20
  • Anyone running Linux 6.0

Vulnerability facts

Affected
Linux >= 78e4aebc35b3e4494a96ffe7534db7201aba869f, < 2dd9ccfb06bcdad30ad92d96c3affa38a458679e; >= cd39981fb92adf0cc736112f87e3e61602baa415, < ff0df7d9cdbb12878155168b5234e99029e5377f; >= cd39981fb92adf0cc736112f87e3e61602baa415, < 2600c80ea7b39f987c3fa89287e73d62e322bbbd; >= cd39981fb92adf0cc736112f87e3e61602baa415, < 51e76a232f8c037f1d9e9922edc25b003d5f3414; 0fd64f062c8d1793d8d6d39fa3a4468e39880f90; >= 5.15.63, < 5.15.87; >= 5.19.4, < 5.20; Linux 6.0
Fixed in
Linux 2dd9ccfb06bcdad30ad92d96c3affa38a458679e, Linux 2600c80ea7b39f987c3fa89287e73d62e322bbbd, Linux 51e76a232f8c037f1d9e9922edc25b003d5f3414, Linux 5.15.87, Linux 5.20
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.22% chance of exploitation in 30 days (percentile 7, 2026-11-26)
CWE
CWE-401
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: fs/ntfs3: Fix memory leak on ntfs_fill_super() error path syzbot reported kmemleak as below: BUG: memory leak unreferenced object 0xffff8880122f1540 (size 32): comm "a.out", pid 6664, jiffies 4294939771 (age 25.500s) hex dump (first 32 bytes): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 ed ff ed ff 00 00 00 00 ................ backtrace: [<ffffffff81b16052>] ntfs_init_fs_context+0x22/0x1c0 [<ffffffff8164aaa7>] alloc_fs_context+0x217/0x430 [<ffffffff81626dd4>] path_mount+0x704/0x1080 [<ffffffff81627e7c>] __x64_sys_mount+0x18c/0x1d0 [<ffffffff84593e14>] do_syscall_64+0x34/0xb0 [<ffffffff84600087>] entry_SYSCALL_64_after_hwframe+0x63/0xcd This patch fixes this issue by freeing mount options on error path of ntfs_fill_super().

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 78e4aebc35b3e4494a96ffe7534db7201aba869f, < 2dd9ccfb06bcdad30ad92d96c3affa38a458679e; >= cd39981fb92adf0cc736112f87e3e61602baa415, < ff0df7d9cdbb12878155168b5234e99029e5377f; >= cd39981fb92adf0cc736112f87e3e61602baa415, < 2600c80ea7b39f987c3fa89287e73d62e322bbbd; >= cd39981fb92adf0cc736112f87e3e61602baa415, < 51e76a232f8c037f1d9e9922edc25b003d5f3414; 0fd64f062c8d1793d8d6d39fa3a4468e39880f90; >= 5.15.63, < 5.15.87; >= 5.19.4, < 5.20—cvelist
Linux6.0—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-50451. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50451.md
Affected: Linux >= 78e4aebc35b3e4494a96ffe7534db7201aba869f, < 2dd9ccfb06bcdad30ad92d96c3affa38a458679e; >= cd39981fb92adf0cc736112f87e3e61602baa415, < ff0df7d9cdbb12878155168b5234e99029e5377f; >= cd39981fb92adf0cc736112f87e3e61602baa415, < 2600c80ea7b39f987c3fa89287e73d62e322bbbd; >= cd39981fb92adf0cc736112…
Fixed in: Linux 2dd9ccfb06bcdad30ad92d96c3affa38a458679e, Linux 2600c80ea7b39f987c3fa89287e73d62e322bbbd, Linux 51e76a232f8c037f1d9e9922edc25b003d5f3414, Linux 5.15.87, Linux 5.20

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

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

How serious is CVE-2022-50451?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2022-50451?

Linux >= 78e4aebc35b3e4494a96ffe7534db7201aba869f, < 2dd9ccfb06bcdad30ad92d96c3affa38a458679e; >= cd39981fb92adf0cc736112f87e3e61602baa415, < ff0df7d9cdbb12878155168b5234e99029e5377f; >= cd39981fb92adf0cc736112f87e3e61602baa415, < 2600c80ea7b39f987c3fa89287e73d62e322bbbd; >= cd39981fb92adf0cc736112f87e3e61602baa415, < 51e76a232f8c037f1d9e9922edc25b003d5f3414; 0fd64f062c8d1793d8d6d39fa3a4468e39880f90; >= 5.15.63, < 5.15.87; >= 5.19.4, < 5.20; Linux 6.0.

Is there a fix for CVE-2022-50451?

Yes. Fixed in Linux 2dd9ccfb06bcdad30ad92d96c3affa38a458679e, Linux 2600c80ea7b39f987c3fa89287e73d62e322bbbd, Linux 51e76a232f8c037f1d9e9922edc25b003d5f3414, Linux 5.15.87, Linux 5.20. Upgrade Linux to 5.20 or later.

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

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.

Sponsors