{"id":"CVE-2022-50451","aliases":["CVE-2022-50451"],"related":[],"kind":"vulnerability","state":"published","title":"fs/ntfs3: Fix memory leak on ntfs_fill_super() error path","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs/ntfs3: Fix memory leak on ntfs_fill_super() error path\n\nsyzbot reported kmemleak as below:\n\nBUG: memory leak\nunreferenced object 0xffff8880122f1540 (size 32):\n  comm \"a.out\", pid 6664, jiffies 4294939771 (age 25.500s)\n  hex dump (first 32 bytes):\n    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................\n    00 00 00 00 00 00 00 00 ed ff ed ff 00 00 00 00  ................\n  backtrace:\n    [<ffffffff81b16052>] ntfs_init_fs_context+0x22/0x1c0\n    [<ffffffff8164aaa7>] alloc_fs_context+0x217/0x430\n    [<ffffffff81626dd4>] path_mount+0x704/0x1080\n    [<ffffffff81627e7c>] __x64_sys_mount+0x18c/0x1d0\n    [<ffffffff84593e14>] do_syscall_64+0x34/0xb0\n    [<ffffffff84600087>] entry_SYSCALL_64_after_hwframe+0x63/0xcd\n\nThis patch fixes this issue by freeing mount options on error path of\nntfs_fill_super().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs/ntfs3: Fix memory leak on ntfs_fill_super() error path\n\nsyzbot reported kmemleak as below:\n\nBUG: memory leak\nunreferenced object 0xffff8880122f1540 (size 32):\n  comm \"a.out\", pid 6664, jiffies 4294939771 (age 25.500s)\n  hex dump (first 32 bytes):\n    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................\n    00 00 00 00 00 00 00 00 ed ff ed ff 00 00 00 00  ................\n  backtrace:\n    [<ffffffff81b16052>] ntfs_init_fs_context+0x22/0x1c0\n    [<ffffffff8164aaa7>] alloc_fs_context+0x217/0x430\n    [<ffffffff81626dd4>] path_mount+0x704/0x1080\n    [<ffffffff81627e7c>] __x64_sys_mount+0x18c/0x1d0\n    [<ffffffff84593e14>] do_syscall_64+0x34/0xb0\n    [<ffffffff84600087>] entry_SYSCALL_64_after_hwframe+0x63/0xcd\n\nThis patch fixes this issue by freeing mount options on error path of\nntfs_fill_super().","source":"cvelist"}],"published":"2025-10-01T11:45:24.652Z","modified":"2026-08-15T13:17:38.067Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"78e4aebc35b3e4494a96ffe7534db7201aba869f","fixed":"2dd9ccfb06bcdad30ad92d96c3affa38a458679e","status":"affected"},{"type":"git","introduced":"cd39981fb92adf0cc736112f87e3e61602baa415","fixed":"ff0df7d9cdbb12878155168b5234e99029e5377f","status":"affected"},{"type":"git","introduced":"cd39981fb92adf0cc736112f87e3e61602baa415","fixed":"2600c80ea7b39f987c3fa89287e73d62e322bbbd","status":"affected"},{"type":"git","introduced":"cd39981fb92adf0cc736112f87e3e61602baa415","fixed":"51e76a232f8c037f1d9e9922edc25b003d5f3414","status":"affected"},{"type":"git","version":"0fd64f062c8d1793d8d6d39fa3a4468e39880f90","status":"affected"},{"type":"semver","introduced":"5.15.63","fixed":"5.15.87","status":"affected"},{"type":"semver","introduced":"5.19.4","fixed":"5.20","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.0","status":"unaffected"},{"type":"semver","introduced":"5.15.87","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.0.17","lastAffected":"6.0.*","status":"unaffected"},{"type":"semver","introduced":"6.1.3","lastAffected":"6.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.15","fixed":"5.15.87"},{"status":"affected","introduced":"5.16","fixed":"6.0.17"},{"status":"affected","introduced":"6.1","fixed":"6.1.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/2dd9ccfb06bcdad30ad92d96c3affa38a458679e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ff0df7d9cdbb12878155168b5234e99029e5377f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2600c80ea7b39f987c3fa89287e73d62e322bbbd","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/51e76a232f8c037f1d9e9922edc25b003d5f3414","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-50451","url":"https://www.cve.org/CVERecord?id=CVE-2022-50451","licence":"CVE Terms of Use","modified":"2026-08-15T12:23:31.929Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-50451","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50451","licence":"Public domain","modified":"2026-08-15T13:17:38.067Z"}],"updatedAt":"2026-11-25T22:58:21.224Z","epss":{"score":0.00173,"percentile":0.0702,"date":"2026-12-01T12:00:22.000Z"}}