{"id":"CVE-2025-40313","summary":"ntfs3: pretend $Extend records as regular files","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nntfs3: pretend $Extend records as regular files\n\nSince commit af153bb63a33 (\"vfs: catch invalid modes in may_open()\")\nrequires any inode be one of S_IFDIR/S_IFLNK/S_IFREG/S_IFCHR/S_IFBLK/\nS_IFIFO/S_IFSOCK type, use S_IFREG for $Extend records.","modified":"2026-04-02T12:48:21.988385Z","published":"2025-12-08T00:46:39.444Z","related":["MGASA-2026-0017","MGASA-2026-0018"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40313.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/17249b2a65274f73ed68bcd1604e08a60fd8a278"},{"type":"WEB","url":"https://git.kernel.org/stable/c/37f65e68ba9852dc51c78dbb54a9881c3f0fe4f7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4e8011ffec79717e5fdac43a7e79faf811a384b7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/57534db1bbc4ca772393bb7d92e69d5e7b9051cf"},{"type":"WEB","url":"https://git.kernel.org/stable/c/63eb6730ce0604d3eacf036c2f68ea70b068317c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/78d46f5276ed3589aaaa435580068c5b62efc921"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40313.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40313"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"4534a70b7056fd4b9a1c6db5a4ce3c98546b291e"},{"fixed":"63eb6730ce0604d3eacf036c2f68ea70b068317c"},{"fixed":"78d46f5276ed3589aaaa435580068c5b62efc921"},{"fixed":"17249b2a65274f73ed68bcd1604e08a60fd8a278"},{"fixed":"37f65e68ba9852dc51c78dbb54a9881c3f0fe4f7"},{"fixed":"57534db1bbc4ca772393bb7d92e69d5e7b9051cf"},{"fixed":"4e8011ffec79717e5fdac43a7e79faf811a384b7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40313.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.15.0"},{"fixed":"5.15.197"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.159"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.117"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.58"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.17.8"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40313.json"}}],"schema_version":"1.7.5"}