{"api_version":"1","generated_at":"2026-09-12T11:10:19+00:00","cve":"CVE-2026-89723","urls":{"html":"https://cve.report/CVE-2026-89723","api":"https://cve.report/api/cve/CVE-2026-89723.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-89723","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-89723"},"summary":{"title":"nilfs2: fix slab-out-of-bounds in nilfs_direct_propagate after truncation","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnilfs2: fix slab-out-of-bounds in nilfs_direct_propagate after truncation\n\nShuangpeng Bai reported that KASAN detected a slab-out-of-bounds error\nin nilfs_direct_propagate() during testing.\n\nAnalysis revealed that after truncating a file, a node block immediately\nbelow the B-tree root was not deleted.  Instead, it remained in the B-tree\nnode cache in a dirty state.  The log writer subsequently detected this\nblock and incorrectly invoked nilfs_direct_propagate() on it, which is\ndesigned to handle only data blocks in direct mapping.\n\nB-tree nodes in the cache are managed by virtual block numbers, and their\nlogical keys typically exceed the range expected by direct mapping.\nConsequently, processing such a node as a direct mapping entry triggers\na slab-out-of-bounds access.\n\nThe root cause is that when a B-tree mapping collapses into a direct\nmapping during truncation, an intermediate node block pointed to by the\nroot node is left behind as garbage instead of being explicitly deleted.\n\nThis resolves the issue by adding a nilfs_btree_discard() operation\nto delete the remaining intermediate node block during the conversion.\nA 'deform' flag is added to the bop_delete interface to explicitly signal\nthat the deletion is part of a mapping transformation.  This allows the\nB-tree mapping implementation to perform the necessary cleanup and\ndiscarding of the residual node structure that would be otherwise be left\norphaned after the transition.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-09-11 20:20:01","updated_at":"2026-09-11 20:20:01"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/45662dedb8f272ef7f16e69f13424c4bd0399240","name":"https://git.kernel.org/stable/c/45662dedb8f272ef7f16e69f13424c4bd0399240","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/5d3783c451a546373662ee11ec17019273e68034","name":"https://git.kernel.org/stable/c/5d3783c451a546373662ee11ec17019273e68034","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/448636c745a3f3b8582a0b8ce718c890a11c0fa9","name":"https://git.kernel.org/stable/c/448636c745a3f3b8582a0b8ce718c890a11c0fa9","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/28362e8ce51377afdec1782e661e808328a10514","name":"https://git.kernel.org/stable/c/28362e8ce51377afdec1782e661e808328a10514","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-89723","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89723","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 36a580eb489f54d81a0534974962e732a314b999 5d3783c451a546373662ee11ec17019273e68034 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 36a580eb489f54d81a0534974962e732a314b999 448636c745a3f3b8582a0b8ce718c890a11c0fa9 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 36a580eb489f54d81a0534974962e732a314b999 28362e8ce51377afdec1782e661e808328a10514 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 36a580eb489f54d81a0534974962e732a314b999 45662dedb8f272ef7f16e69f13424c4bd0399240 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2.6.30","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 2.6.30 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.109 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.50 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2.4 7.2.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["fs/nilfs2/bmap.c","fs/nilfs2/bmap.h","fs/nilfs2/btree.c","fs/nilfs2/direct.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"5d3783c451a546373662ee11ec17019273e68034","status":"affected","version":"36a580eb489f54d81a0534974962e732a314b999","versionType":"git"},{"lessThan":"448636c745a3f3b8582a0b8ce718c890a11c0fa9","status":"affected","version":"36a580eb489f54d81a0534974962e732a314b999","versionType":"git"},{"lessThan":"28362e8ce51377afdec1782e661e808328a10514","status":"affected","version":"36a580eb489f54d81a0534974962e732a314b999","versionType":"git"},{"lessThan":"45662dedb8f272ef7f16e69f13424c4bd0399240","status":"affected","version":"36a580eb489f54d81a0534974962e732a314b999","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["fs/nilfs2/bmap.c","fs/nilfs2/bmap.h","fs/nilfs2/btree.c","fs/nilfs2/direct.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"2.6.30"},{"lessThan":"2.6.30","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.109","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.50","versionType":"semver"},{"lessThanOrEqual":"7.2.*","status":"unaffected","version":"7.2.4","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.3-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.109","versionStartIncluding":"2.6.30","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.50","versionStartIncluding":"2.6.30","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2.4","versionStartIncluding":"2.6.30","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3-rc1","versionStartIncluding":"2.6.30","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnilfs2: fix slab-out-of-bounds in nilfs_direct_propagate after truncation\n\nShuangpeng Bai reported that KASAN detected a slab-out-of-bounds error\nin nilfs_direct_propagate() during testing.\n\nAnalysis revealed that after truncating a file, a node block immediately\nbelow the B-tree root was not deleted.  Instead, it remained in the B-tree\nnode cache in a dirty state.  The log writer subsequently detected this\nblock and incorrectly invoked nilfs_direct_propagate() on it, which is\ndesigned to handle only data blocks in direct mapping.\n\nB-tree nodes in the cache are managed by virtual block numbers, and their\nlogical keys typically exceed the range expected by direct mapping.\nConsequently, processing such a node as a direct mapping entry triggers\na slab-out-of-bounds access.\n\nThe root cause is that when a B-tree mapping collapses into a direct\nmapping during truncation, an intermediate node block pointed to by the\nroot node is left behind as garbage instead of being explicitly deleted.\n\nThis resolves the issue by adding a nilfs_btree_discard() operation\nto delete the remaining intermediate node block during the conversion.\nA 'deform' flag is added to the bop_delete interface to explicitly signal\nthat the deletion is part of a mapping transformation.  This allows the\nB-tree mapping implementation to perform the necessary cleanup and\ndiscarding of the residual node structure that would be otherwise be left\norphaned after the transition."}],"providerMetadata":{"dateUpdated":"2026-09-11T19:46:35.161Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/5d3783c451a546373662ee11ec17019273e68034"},{"url":"https://git.kernel.org/stable/c/448636c745a3f3b8582a0b8ce718c890a11c0fa9"},{"url":"https://git.kernel.org/stable/c/28362e8ce51377afdec1782e661e808328a10514"},{"url":"https://git.kernel.org/stable/c/45662dedb8f272ef7f16e69f13424c4bd0399240"}],"title":"nilfs2: fix slab-out-of-bounds in nilfs_direct_propagate after truncation","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-89723","datePublished":"2026-09-11T19:46:35.161Z","dateReserved":"2026-09-11T19:38:34.759Z","dateUpdated":"2026-09-11T19:46:35.161Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-09-11 20:20:01","lastModifiedDate":"2026-09-11 20:20:01","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"89723","Ordinal":"1","Title":"nilfs2: fix slab-out-of-bounds in nilfs_direct_propagate after t","CVE":"CVE-2026-89723","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"89723","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nnilfs2: fix slab-out-of-bounds in nilfs_direct_propagate after truncation\n\nShuangpeng Bai reported that KASAN detected a slab-out-of-bounds error\nin nilfs_direct_propagate() during testing.\n\nAnalysis revealed that after truncating a file, a node block immediately\nbelow the B-tree root was not deleted.  Instead, it remained in the B-tree\nnode cache in a dirty state.  The log writer subsequently detected this\nblock and incorrectly invoked nilfs_direct_propagate() on it, which is\ndesigned to handle only data blocks in direct mapping.\n\nB-tree nodes in the cache are managed by virtual block numbers, and their\nlogical keys typically exceed the range expected by direct mapping.\nConsequently, processing such a node as a direct mapping entry triggers\na slab-out-of-bounds access.\n\nThe root cause is that when a B-tree mapping collapses into a direct\nmapping during truncation, an intermediate node block pointed to by the\nroot node is left behind as garbage instead of being explicitly deleted.\n\nThis resolves the issue by adding a nilfs_btree_discard() operation\nto delete the remaining intermediate node block during the conversion.\nA 'deform' flag is added to the bop_delete interface to explicitly signal\nthat the deletion is part of a mapping transformation.  This allows the\nB-tree mapping implementation to perform the necessary cleanup and\ndiscarding of the residual node structure that would be otherwise be left\norphaned after the transition.","Type":"Description","Title":"nilfs2: fix slab-out-of-bounds in nilfs_direct_propagate after t"}]}}}