CVE-2022-50451

published 1 Oct 2025 · updated 17 Nov 2026

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

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel ff0df7d9cdbb12878155168b5234e99029e5377f, Kernel 5.20, Kernel 2dd9ccfb06bcdad30ad92d96c3affa38a458679e and 5 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=cd39981fb92adf0cc736112f87e3e61602baa415 <ff0df7d9cdbb12878155168b5234e99029e5377f, >=5.19.4 <5.20, >=78e4aebc35b3e4494a96ffe7534db7201aba869f <2dd9ccfb06bcdad30ad92d96c3affa38a458679e, >=cd39981fb92adf0cc736112f87e3e61602baa415 <2600c80ea7b39f987c3fa89287e73d62e322bbbd, >=cd39981fb92adf0cc736112f87e3e61602baa415 <51e76a232f8c037f1d9e9922edc25b003d5f3414, =0fd64f062c8d1793d8d6d39fa3a4468e39880f90, =6.0, >=5.15.63 <5.15.87ff0df7d9cdbb12878155168b5234e99029e5377f, 5.20, 2dd9ccfb06bcdad30ad92d96c3affa38a458679e, 2600c80ea7b39f987c3fa89287e73d62e322bbbd, 51e76a232f8c037f1d9e9922edc25b003d5f3414, 5.15.87
linux-kernel: Kernel>=5.19.4 <5.20, >=6.0.0 <6.0.17, >=6.1.0 <6.1.3, >=5.15.63 <5.15.875.20, 6.0.17, 6.1.3, 5.15.87

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-50451 severity on Zeptric[![CVE-2022-50451](https://zeptric.io/badge/cve/CVE-2022-50451.svg)](https://zeptric.io/cve/CVE-2022-50451)