# CVE-2026-45912: ext4: don't cache extent during splitting extent

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; 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.16% (percentile 3, 2026-11-26)
- **Published:** 2026-05-27T12:17:27.805Z
- **Modified:** 2026-11-06T16:18:51.100Z

## Who should check

- Anyone running Linux \>= 107a7bd31ac003e42c0f966aa8e5b26947de6024, \< 8302b5b4aacdbb378f7b1216bb2ee782b5142415; \>= 107a7bd31ac003e42c0f966aa8e5b26947de6024, \< 692103feca376ae4298c92aa8828015d20f1d87b; \>= 107a7bd31ac003e42c0f966aa8e5b26947de6024, \< 4c2d9dac4d328244f9365b0a1fa27ec802821820; \>= 107a7bd31ac003e42c0f966aa8e5b26947de6024, \< 93b2ebbbcb2e63cfc21a1946dfe91d3aa7952036; \>= 107a7bd31ac003e42c0f966aa8e5b26947de6024, \< 96007fd3c106aea773c1afae2d6f64cceb6da208; \>= 107a7bd31ac003e42c0f966aa8e5b26947de6024, \< 5b1f4290453314e11cd8e15c7baa8a9b76c19b23; \>= 107a7bd31ac003e42c0f966aa8e5b26947de6024, \< 9a2b95cdaf07785e2739199037bd9c0863ccc1be; \>= 107a7bd31ac003e42c0f966aa8e5b26947de6024, \< 8b4b19a2f96348d70bfa306ef7d4a13b0bcbea79
- Anyone running Linux 3.12

## Description

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

ext4: don't cache extent during splitting extent

Caching extents during the splitting process is risky, as it may result
in stale extents remaining in the status tree. Moreover, in most cases,
the corresponding extent block entries are likely already cached before
the split happens, making caching here not particularly useful.

Assume we have an unwritten extent, and then DIO writes the first half.

  \[UUUUUUUUUUUUUUUU\] on-disk extent        U: unwritten extent
  \[UUUUUUUUUUUUUUUU\] extent status tree
  \|\<-   -\>\| ----\> dio write this range

First, when ext4\_split\_extent\_at() splits this extent, it truncates the
existing extent and then inserts a new one. During this process, this
extent status entry may be shrunk, and calls to ext4\_find\_extent() and
ext4\_cache\_extents() may occur, which could potentially insert the
truncated range as a hole into the extent status tree. After the split
is completed, this hole is not replaced with the correct status.

  \[UUUUUUU\|UUUUUUUU\] on-disk extent        U: unwritten extent
  \[UUUUUUU\|HHHHHHHH\] extent status tree    H: hole

Then, the outer calling functions will not correct this remaining hole
extent either. Finally, if we perform a delayed buffer write on this
latter part, it will re-insert the delayed extent and cause an error in
space accounting.

In adition, if the unwritten extent cache is not shrunk during the
splitting, ext4\_cache\_extents() also conflicts with existing extents
when caching extents. In the future, we will add checks when caching
extents, which will trigger a warning. Therefore, Do not cache extents
that are being split.

## Affected and fixed versions

- Linux: \>= 107a7bd31ac003e42c0f966aa8e5b26947de6024, \< 8302b5b4aacdbb378f7b1216bb2ee782b5142415; \>= 107a7bd31ac003e42c0f966aa8e5b26947de6024, \< 692103feca376ae4298c92aa8828015d20f1d87b; \>= 107a7bd31ac003e42c0f966aa8e5b26947de6024, \< 4c2d9dac4d328244f9365b0a1fa27ec802821820; \>= 107a7bd31ac003e42c0f966aa8e5b26947de6024, \< 93b2ebbbcb2e63cfc21a1946dfe91d3aa7952036; \>= 107a7bd31ac003e42c0f966aa8e5b26947de6024, \< 96007fd3c106aea773c1afae2d6f64cceb6da208; \>= 107a7bd31ac003e42c0f966aa8e5b26947de6024, \< 5b1f4290453314e11cd8e15c7baa8a9b76c19b23; \>= 107a7bd31ac003e42c0f966aa8e5b26947de6024, \< 9a2b95cdaf07785e2739199037bd9c0863ccc1be; \>= 107a7bd31ac003e42c0f966aa8e5b26947de6024, \< 8b4b19a2f96348d70bfa306ef7d4a13b0bcbea79 (cvelist)
- Linux: 3.12 (cvelist)

## Mitigation

- Upgrade Linux to 8b4b19a2f96348d70bfa306ef7d4a13b0bcbea79 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-45912. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-45912.md
Affected: Linux >= 107a7bd31ac003e42c0f966aa8e5b26947de6024, < 8302b5b4aacdbb378f7b1216bb2ee782b5142415; >= 107a7bd31ac003e42c0f966aa8e5b26947de6024, < 692103feca376ae4298c92aa8828015d20f1d87b; >= 107a7bd31ac003e42c0f966aa8e5b26947de6024, < 4c2d9dac4d328244f9365b0a1fa27ec802821820; >= 107a7bd31ac003e42c0f966…
Fixed in: Linux 8302b5b4aacdbb378f7b1216bb2ee782b5142415, Linux 692103feca376ae4298c92aa8828015d20f1d87b, Linux 4c2d9dac4d328244f9365b0a1fa27ec802821820, Linux 93b2ebbbcb2e63cfc21a1946dfe91d3aa7952036, Linux 96007fd3c106aea773c1afae2d6f64cceb6da208, Linux 5b1f4290453314e11cd8e15c7baa8a9b76c19b23, Linux 9a2b9…

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-45912 being exploited?

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

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

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 107a7bd31ac003e42c0f966aa8e5b26947de6024, \< 8302b5b4aacdbb378f7b1216bb2ee782b5142415; \>= 107a7bd31ac003e42c0f966aa8e5b26947de6024, \< 692103feca376ae4298c92aa8828015d20f1d87b; \>= 107a7bd31ac003e42c0f966aa8e5b26947de6024, \< 4c2d9dac4d328244f9365b0a1fa27ec802821820; \>= 107a7bd31ac003e42c0f966aa8e5b26947de6024, \< 93b2ebbbcb2e63cfc21a1946dfe91d3aa7952036; \>= 107a7bd31ac003e42c0f966aa8e5b26947de6024, \< 96007fd3c106aea773c1afae2d6f64cceb6da208; \>= 107a7bd31ac003e42c0f966aa8e5b26947de6024, \< 5b1f4290453314e11cd8e15c7baa8a9b76c19b23; \>= 107a7bd31ac003e42c0f966aa8e5b26947de6024, \< 9a2b95cdaf07785e2739199037bd9c0863ccc1be; \>= 107a7bd31ac003e42c0f966aa8e5b26947de6024, \< 8b4b19a2f96348d70bfa306ef7d4a13b0bcbea79; Linux 3.12.

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

Yes. Fixed in Linux 8302b5b4aacdbb378f7b1216bb2ee782b5142415, Linux 692103feca376ae4298c92aa8828015d20f1d87b, Linux 4c2d9dac4d328244f9365b0a1fa27ec802821820, Linux 93b2ebbbcb2e63cfc21a1946dfe91d3aa7952036, Linux 96007fd3c106aea773c1afae2d6f64cceb6da208, Linux 5b1f4290453314e11cd8e15c7baa8a9b76c19b23, Linux 9a2b95cdaf07785e2739199037bd9c0863ccc1be, Linux 8b4b19a2f96348d70bfa306ef7d4a13b0bcbea79. Upgrade Linux to 8b4b19a2f96348d70bfa306ef7d4a13b0bcbea79 or later.

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

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

- patch: <https://git.kernel.org/stable/c/8302b5b4aacdbb378f7b1216bb2ee782b5142415>
- patch: <https://git.kernel.org/stable/c/692103feca376ae4298c92aa8828015d20f1d87b>
- patch: <https://git.kernel.org/stable/c/4c2d9dac4d328244f9365b0a1fa27ec802821820>
- patch: <https://git.kernel.org/stable/c/93b2ebbbcb2e63cfc21a1946dfe91d3aa7952036>
- patch: <https://git.kernel.org/stable/c/96007fd3c106aea773c1afae2d6f64cceb6da208>
- patch: <https://git.kernel.org/stable/c/5b1f4290453314e11cd8e15c7baa8a9b76c19b23>
- patch: <https://git.kernel.org/stable/c/9a2b95cdaf07785e2739199037bd9c0863ccc1be>
- patch: <https://git.kernel.org/stable/c/8b4b19a2f96348d70bfa306ef7d4a13b0bcbea79>

## 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-45912>

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