{"id":"CVE-2026-72185","published":"2026-08-15T05:53:47Z","modified":"2026-08-17T05:41:15Z","title":"ntfs: fix WARN_ON for resident attribute in ntfs_map_runlist_nolock()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nntfs: fix WARN_ON for resident attribute in ntfs_map_runlist_nolock()\n\nWhen ntfs_map_runlist_nolock() needs to look up the attribute extent\ncontaining a target VCN (ctx_needs_reset == true), it calls\nntfs_attr_lookup() and then expects the result to be a non-resident\nattribute, since only non-resident attributes have a mapping pairs\narray to decompress.\n\nA crafted NTFS image can place a resident attribute where a non-resident\none is expected, causing ntfs_attr_lookup() to succeed but return a\nresident attribute record.  Previously this was caught only by a\nWARN_ON(), which does not stop execution.  The code then falls through to\nread a->data.non_resident.highest_vcn from what is actually a resident\nattribute, accessing the wrong union member and corrupting the VCN range\ncheck.\n\nThe caller path triggering this warning during mount is:\n\n  ntfs_map_runlist_nolock\n  ntfs_empty_logfile\n  load_system_files\n  ntfs_fill_super\n\nIn this path ctx is NULL, so ntfs_map_runlist_nolock() allocates a\ntemporary search context internally and sets ctx_needs_reset = true.\nThe existing resident-attribute guard in the ctx != NULL branch already\nreturns -EIO silently for the same condition; make the ctx_needs_reset\npath consistent by replacing the WARN_ON() with the same -EIO error\nreturn.\n\nThis causes the crafted image to be rejected with a mount error instead\nof triggering a kernel warning.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00671,"percentile":0.5297,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/b397b1238a217264bb02f963a1a1eadf71906375","tags":[]},{"url":"https://git.kernel.org/stable/c/b8d6c528e9d57d263fee1a648409f84a68b2561d","tags":[]}],"priority":{"score":17.5,"factors":[{"name":"EPSS percentile","points":10.59},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 495e90fa334828d4119061e2726af51d0a0fb4ed, < b397b1238a217264bb02f963a1a1eadf71906375",">= 495e90fa334828d4119061e2726af51d0a0fb4ed, < b8d6c528e9d57d263fee1a648409f84a68b2561d"]},{"vendor":"Linux","product":"Linux","versions":["7.1"]}],"euvd":{"id":"EUVD-2026-58943","exploited":false,"provenance":"source"}}