{"id":"CVE-2025-38615","aliases":["CVE-2025-38615"],"related":[],"kind":"vulnerability","state":"published","title":"fs/ntfs3: cancle set bad inode after removing name fails","summary":"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\".","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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\".","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: fs/ntfs3: falla la cancelación de un inodo erróneo tras eliminar el nombre. El reproductor usa un archivo \"file0\" en un sistema de archivos ntfs3 con un i_link dañado. Al renombrar, el inodo de archivo \"file0\" se marca como erróneo porque no se puede eliminar el nombre del archivo. El error subyacente radica en que se llama a make_bad_inode() en un inodo activo. En algunos casos, la búsqueda de icache encuentra un inodo normal, se llama a d_splice_alias() para asociarlo a dentry, mientras que otro hilo decide llamar a make_bad_inode() en él; eso lo expulsaría de icache, pero ya lo habíamos encontrado allí anteriormente. En otros casos, es simplemente: \"Tenemos un inodo asociado a dentry; así es como lo obtuvimos; llamemos a make_bad_inode() en él, solo por diversión\".","source":"nvd"}],"published":"2025-08-19T17:03:57.164Z","modified":"2026-10-30T13:18:06.717Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"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":[],"affected":[{"ranges":[{"type":"git","introduced":"78ab59fee07f22464f32eafebab2bd97ba94ff2d","fixed":"47856e10f8d5e066aa26b1f9c02d933fe0620399","status":"affected"},{"type":"git","introduced":"78ab59fee07f22464f32eafebab2bd97ba94ff2d","fixed":"b35a50d639ca5259466ef5fea85529bb4fb17d5b","status":"affected"},{"type":"git","introduced":"78ab59fee07f22464f32eafebab2bd97ba94ff2d","fixed":"3ed2cc6a6e93fbeb8c0cafce1e7fb1f64a331dcc","status":"affected"},{"type":"git","introduced":"78ab59fee07f22464f32eafebab2bd97ba94ff2d","fixed":"358d4f821c03add421a4c49290538a705852ccf1","status":"affected"},{"type":"git","introduced":"78ab59fee07f22464f32eafebab2bd97ba94ff2d","fixed":"a285395020780adac1ffbc844069c3d700bf007a","status":"affected"},{"type":"git","introduced":"78ab59fee07f22464f32eafebab2bd97ba94ff2d","fixed":"d99208b91933fd2a58ed9ed321af07dacd06ddc3","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.15","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.102","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.42","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.15.10","lastAffected":"6.15.*","status":"unaffected"},{"type":"semver","introduced":"6.16.1","lastAffected":"6.16.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.17","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":"6.6.102"},{"status":"affected","introduced":"6.7","fixed":"6.12.42"},{"status":"affected","introduced":"6.13","fixed":"6.15.10"},{"status":"affected","introduced":"6.16","fixed":"6.16.1"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/47856e10f8d5e066aa26b1f9c02d933fe0620399","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b35a50d639ca5259466ef5fea85529bb4fb17d5b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3ed2cc6a6e93fbeb8c0cafce1e7fb1f64a331dcc","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/358d4f821c03add421a4c49290538a705852ccf1","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a285395020780adac1ffbc844069c3d700bf007a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d99208b91933fd2a58ed9ed321af07dacd06ddc3","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-38615","url":"https://www.cve.org/CVERecord?id=CVE-2025-38615","licence":"CVE Terms of Use","modified":"2026-10-30T12:22:08.400Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-38615","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38615","licence":"Public domain","modified":"2026-10-30T13:18:06.717Z"}],"updatedAt":"2026-11-25T22:59:02.781Z","epss":{"score":0.00209,"percentile":0.11683,"date":"2026-12-01T12:00:22.000Z"}}