# CVE-2026-89723: nilfs2: fix slab-out-of-bounds in nilfs\_direct\_propagate after truncation

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-26)
- **Published:** 2026-09-11T19:46:35.161Z
- **Modified:** 2026-10-19T09:18:12.910Z

## Who should check

- Anyone running Linux \>= 36a580eb489f54d81a0534974962e732a314b999, \< 39005fd1ce654ffdecacddc406b9a038efe606e6; \>= 36a580eb489f54d81a0534974962e732a314b999, \< bf49e6f6ddc12445a0330708b365de6458085980; \>= 36a580eb489f54d81a0534974962e732a314b999, \< 4a1bb1f9f24a935c9b3f4fbf98012fa6d4ad826d; \>= 36a580eb489f54d81a0534974962e732a314b999, \< b313edfbc0c2a60f7ce09b2e81ee71909ab8ddaf; \>= 36a580eb489f54d81a0534974962e732a314b999, \< 5d3783c451a546373662ee11ec17019273e68034; \>= 36a580eb489f54d81a0534974962e732a314b999, \< 448636c745a3f3b8582a0b8ce718c890a11c0fa9; \>= 36a580eb489f54d81a0534974962e732a314b999, \< 28362e8ce51377afdec1782e661e808328a10514; \>= 36a580eb489f54d81a0534974962e732a314b999, \< 45662dedb8f272ef7f16e69f13424c4bd0399240
- Anyone running Linux 2.6.30

## Description

In the Linux kernel, the following vulnerability has been resolved:

nilfs2: fix slab-out-of-bounds in nilfs\_direct\_propagate after truncation

Shuangpeng Bai reported that KASAN detected a slab-out-of-bounds error
in nilfs\_direct\_propagate() during testing.

Analysis revealed that after truncating a file, a node block immediately
below the B-tree root was not deleted.  Instead, it remained in the B-tree
node cache in a dirty state.  The log writer subsequently detected this
block and incorrectly invoked nilfs\_direct\_propagate() on it, which is
designed to handle only data blocks in direct mapping.

B-tree nodes in the cache are managed by virtual block numbers, and their
logical keys typically exceed the range expected by direct mapping.
Consequently, processing such a node as a direct mapping entry triggers
a slab-out-of-bounds access.

The root cause is that when a B-tree mapping collapses into a direct
mapping during truncation, an intermediate node block pointed to by the
root node is left behind as garbage instead of being explicitly deleted.

This resolves the issue by adding a nilfs\_btree\_discard() operation
to delete the remaining intermediate node block during the conversion.
A 'deform' flag is added to the bop\_delete interface to explicitly signal
that the deletion is part of a mapping transformation.  This allows the
B-tree mapping implementation to perform the necessary cleanup and
discarding of the residual node structure that would be otherwise be left
orphaned after the transition.

## Affected and fixed versions

- Linux: \>= 36a580eb489f54d81a0534974962e732a314b999, \< 39005fd1ce654ffdecacddc406b9a038efe606e6; \>= 36a580eb489f54d81a0534974962e732a314b999, \< bf49e6f6ddc12445a0330708b365de6458085980; \>= 36a580eb489f54d81a0534974962e732a314b999, \< 4a1bb1f9f24a935c9b3f4fbf98012fa6d4ad826d; \>= 36a580eb489f54d81a0534974962e732a314b999, \< b313edfbc0c2a60f7ce09b2e81ee71909ab8ddaf; \>= 36a580eb489f54d81a0534974962e732a314b999, \< 5d3783c451a546373662ee11ec17019273e68034; \>= 36a580eb489f54d81a0534974962e732a314b999, \< 448636c745a3f3b8582a0b8ce718c890a11c0fa9; \>= 36a580eb489f54d81a0534974962e732a314b999, \< 28362e8ce51377afdec1782e661e808328a10514; \>= 36a580eb489f54d81a0534974962e732a314b999, \< 45662dedb8f272ef7f16e69f13424c4bd0399240 (cvelist)
- Linux: 2.6.30 (cvelist)

## Mitigation

- Upgrade Linux to 45662dedb8f272ef7f16e69f13424c4bd0399240 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-89723. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-89723.md
Affected: Linux >= 36a580eb489f54d81a0534974962e732a314b999, < 39005fd1ce654ffdecacddc406b9a038efe606e6; >= 36a580eb489f54d81a0534974962e732a314b999, < bf49e6f6ddc12445a0330708b365de6458085980; >= 36a580eb489f54d81a0534974962e732a314b999, < 4a1bb1f9f24a935c9b3f4fbf98012fa6d4ad826d; >= 36a580eb489f54d81a05349…
Fixed in: Linux 39005fd1ce654ffdecacddc406b9a038efe606e6, Linux 4a1bb1f9f24a935c9b3f4fbf98012fa6d4ad826d, Linux 5d3783c451a546373662ee11ec17019273e68034, Linux 448636c745a3f3b8582a0b8ce718c890a11c0fa9, Linux 28362e8ce51377afdec1782e661e808328a10514, Linux 45662dedb8f272ef7f16e69f13424c4bd0399240

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-89723 being exploited?

There is no confirmed exploitation: CVE-2026-89723 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-89723?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-89723?

Linux \>= 36a580eb489f54d81a0534974962e732a314b999, \< 39005fd1ce654ffdecacddc406b9a038efe606e6; \>= 36a580eb489f54d81a0534974962e732a314b999, \< bf49e6f6ddc12445a0330708b365de6458085980; \>= 36a580eb489f54d81a0534974962e732a314b999, \< 4a1bb1f9f24a935c9b3f4fbf98012fa6d4ad826d; \>= 36a580eb489f54d81a0534974962e732a314b999, \< b313edfbc0c2a60f7ce09b2e81ee71909ab8ddaf; \>= 36a580eb489f54d81a0534974962e732a314b999, \< 5d3783c451a546373662ee11ec17019273e68034; \>= 36a580eb489f54d81a0534974962e732a314b999, \< 448636c745a3f3b8582a0b8ce718c890a11c0fa9; \>= 36a580eb489f54d81a0534974962e732a314b999, \< 28362e8ce51377afdec1782e661e808328a10514; \>= 36a580eb489f54d81a0534974962e732a314b999, \< 45662dedb8f272ef7f16e69f13424c4bd0399240; Linux 2.6.30.

### Is there a fix for CVE-2026-89723?

Yes. Fixed in Linux 39005fd1ce654ffdecacddc406b9a038efe606e6, Linux 4a1bb1f9f24a935c9b3f4fbf98012fa6d4ad826d, Linux 5d3783c451a546373662ee11ec17019273e68034, Linux 448636c745a3f3b8582a0b8ce718c890a11c0fa9, Linux 28362e8ce51377afdec1782e661e808328a10514, Linux 45662dedb8f272ef7f16e69f13424c4bd0399240. Upgrade Linux to 45662dedb8f272ef7f16e69f13424c4bd0399240 or later.

### How do I check if I'm affected by CVE-2026-89723?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/39005fd1ce654ffdecacddc406b9a038efe606e6>
- other: <https://git.kernel.org/stable/c/bf49e6f6ddc12445a0330708b365de6458085980>
- other: <https://git.kernel.org/stable/c/4a1bb1f9f24a935c9b3f4fbf98012fa6d4ad826d>
- other: <https://git.kernel.org/stable/c/b313edfbc0c2a60f7ce09b2e81ee71909ab8ddaf>
- other: <https://git.kernel.org/stable/c/5d3783c451a546373662ee11ec17019273e68034>
- other: <https://git.kernel.org/stable/c/448636c745a3f3b8582a0b8ce718c890a11c0fa9>
- other: <https://git.kernel.org/stable/c/28362e8ce51377afdec1782e661e808328a10514>
- other: <https://git.kernel.org/stable/c/45662dedb8f272ef7f16e69f13424c4bd0399240>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-89723>

HTML: <https://flawdb.com/CVE-2026-89723> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-89723>
