{"id":"CVE-2023-54272","summary":"fs/ntfs3: Fix a possible null-pointer dereference in ni_clear()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs/ntfs3: Fix a possible null-pointer dereference in ni_clear()\n\nIn a previous commit c1006bd13146, ni-\u003emi.mrec in ni_write_inode()\ncould be NULL, and thus a NULL check is added for this variable.\n\nHowever, in the same call stack, ni-\u003emi.mrec can be also dereferenced\nin ni_clear():\n\nntfs_evict_inode(inode)\n  ni_write_inode(inode, ...)\n    ni = ntfs_i(inode);\n    is_rec_inuse(ni-\u003emi.mrec) -\u003e Add a NULL check by previous commit\n  ni_clear(ntfs_i(inode))\n    is_rec_inuse(ni-\u003emi.mrec) -\u003e No check\n\nThus, a possible null-pointer dereference may exist in ni_clear().\nTo fix it, a NULL check is added in this function.","modified":"2026-08-12T03:51:26.013004963Z","published":"2025-12-30T12:16:02.335Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54272.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/20f9bfc664d6a478f9a5bbc0c380f80f7a1a06c6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/39c6312009574ca73865354133ca222e7753a71b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e7675f85a92233136c630000a0b7cf97826705da"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ec275bf9693d19cc0fdce8436f4c425ced86f6e7"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54272.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-54272"},{"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":"4342306f0f0d5ff4315a204d315c1b51b914fca5"},{"fixed":"20f9bfc664d6a478f9a5bbc0c380f80f7a1a06c6"},{"fixed":"39c6312009574ca73865354133ca222e7753a71b"},{"fixed":"e7675f85a92233136c630000a0b7cf97826705da"},{"fixed":"ec275bf9693d19cc0fdce8436f4c425ced86f6e7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-54272.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.15.0"},{"fixed":"5.15.113"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.81"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.3.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-54272.json"}}],"schema_version":"1.9.0"}