CVE-2022-50451: fs/ntfs3: Fix memory leak on ntfs_fill_super() error path

Published Oct 1, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

fs/ntfs3: Fix memory leak on ntfsfillsuper() 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>] ntfsinitfscontext+0x22/0x1c0 [<ffffffff8164aaa7>] allocfscontext+0x217/0x430 [<ffffffff81626dd4>] pathmount+0x704/0x1080 [<ffffffff81627e7c>] x64sysmount+0x18c/0x1d0 [<ffffffff84593e14>] dosyscall64+0x34/0xb0 [<ffffffff84600087>] entrySYSCALL64afterhwframe+0x63/0xcd

This patch fixes this issue by freeing mount options on error path of ntfsfillsuper().

Affected Software

4 affected components
Linux Kernel
Linux Linux kernel>=5.15<5.15.87
Linux Linux kernel>=5.16<6.0.17
Linux Linux kernel>=6.1<6.1.3

Event History

Oct 1, 2025
CVE Published
via MITRE·11:45 AM
Data Sourced
via MITRE·11:45 AM
Description
Data Sourced
via NVD·12:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2022-50451?

CVE-2022-50451 is classified as a memory leak vulnerability in the Linux kernel that could lead to resource exhaustion.

2

How do I fix CVE-2022-50451?

To fix CVE-2022-50451, patch your Linux kernel to the latest stable version where this vulnerability has been resolved.

3

What systems are affected by CVE-2022-50451?

CVE-2022-50451 impacts systems that utilize the Linux kernel, particularly those using the NTFS3 filesystem.

4

What are the consequences of exploiting CVE-2022-50451?

Exploiting CVE-2022-50451 could lead to a memory leak, potentially resulting in degraded system performance or crashes.

5

When was CVE-2022-50451 reported?

CVE-2022-50451 was reported as a memory leak issue in the Linux kernel that needed resolution for system reliability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203