{"id":"CVE-2025-38615","summary":"fs/ntfs3: cancle set bad inode after removing name fails","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs/ntfs3: cancle set bad inode after removing name fails\n\nThe reproducer uses a file0 on a ntfs3 file system with a corrupted i_link.\nWhen renaming, the file0's inode is marked as a bad inode because the file\nname cannot be deleted.\n\nThe underlying bug is that make_bad_inode() is called on a live inode.\nIn some cases it's \"icache lookup finds a normal inode, d_splice_alias()\nis called to attach it to dentry, while another thread decides to call\nmake_bad_inode() on it - that would evict it from icache, but we'd already\nfound it there earlier\".\nIn some it's outright \"we have an inode attached to dentry - that's how we\ngot it in the first place; let's call make_bad_inode() on it just for shits\nand giggles\".","modified":"2026-03-20T12:42:56.512094Z","published":"2025-08-19T17:03:57.164Z","related":["MGASA-2025-0234","MGASA-2025-0235"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38615.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/358d4f821c03add421a4c49290538a705852ccf1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3ed2cc6a6e93fbeb8c0cafce1e7fb1f64a331dcc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a285395020780adac1ffbc844069c3d700bf007a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b35a50d639ca5259466ef5fea85529bb4fb17d5b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d99208b91933fd2a58ed9ed321af07dacd06ddc3"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38615.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38615"},{"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":"78ab59fee07f22464f32eafebab2bd97ba94ff2d"},{"fixed":"b35a50d639ca5259466ef5fea85529bb4fb17d5b"},{"fixed":"3ed2cc6a6e93fbeb8c0cafce1e7fb1f64a331dcc"},{"fixed":"358d4f821c03add421a4c49290538a705852ccf1"},{"fixed":"a285395020780adac1ffbc844069c3d700bf007a"},{"fixed":"d99208b91933fd2a58ed9ed321af07dacd06ddc3"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38615.json"}}],"schema_version":"1.7.5"}