# CVE-2026-31463: iomap: fix invalid folio access when i\_blkbits differs from I/O granularity

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

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; 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:** Remote, no login needed
- **EPSS:** 0.57% (percentile 41, 2026-11-26)
- **Published:** 2026-04-22T13:53:54.224Z
- **Modified:** 2026-11-11T23:10:00.263Z

## Who should check

- Anyone running Linux \>= b2f35ac4146d32d4424aaa941bbc681f12c1b9e6, \< 4a927f670cdb0def226f9f85f42a9f19d9e09c88; \>= b2f35ac4146d32d4424aaa941bbc681f12c1b9e6, \< bd71fb3fea9945987053968f028a948997cba8cc
- Anyone running Linux 6.19

## Description

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

iomap: fix invalid folio access when i\_blkbits differs from I/O granularity

Commit aa35dd5cbc06 ("iomap: fix invalid folio access after
folio\_end\_read()") partially addressed invalid folio access for folios
without an ifs attached, but it did not handle the case where
1 \<\< inode-\>i\_blkbits matches the folio size but is different from the
granularity used for the IO, which means IO can be submitted for less
than the full folio for the !ifs case.

In this case, the condition:

  if (\*bytes\_submitted == folio\_len)
    ctx-\>cur\_folio = NULL;

in iomap\_read\_folio\_iter() will not invalidate ctx-\>cur\_folio, and
iomap\_read\_end() will still be called on the folio even though the IO
helper owns it and will finish the read on it.

Fix this by unconditionally invalidating ctx-\>cur\_folio for the !ifs
case.

## Affected and fixed versions

- Linux: \>= b2f35ac4146d32d4424aaa941bbc681f12c1b9e6, \< 4a927f670cdb0def226f9f85f42a9f19d9e09c88; \>= b2f35ac4146d32d4424aaa941bbc681f12c1b9e6, \< bd71fb3fea9945987053968f028a948997cba8cc (cvelist)
- Linux: 6.19 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-31463.md
Affected: Linux >= b2f35ac4146d32d4424aaa941bbc681f12c1b9e6, < 4a927f670cdb0def226f9f85f42a9f19d9e09c88; >= b2f35ac4146d32d4424aaa941bbc681f12c1b9e6, < bd71fb3fea9945987053968f028a948997cba8cc; Linux 6.19
Fixed in: Linux 4a927f670cdb0def226f9f85f42a9f19d9e09c88

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

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

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

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

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

Linux \>= b2f35ac4146d32d4424aaa941bbc681f12c1b9e6, \< 4a927f670cdb0def226f9f85f42a9f19d9e09c88; \>= b2f35ac4146d32d4424aaa941bbc681f12c1b9e6, \< bd71fb3fea9945987053968f028a948997cba8cc; Linux 6.19.

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

Yes. Fixed in Linux 4a927f670cdb0def226f9f85f42a9f19d9e09c88. No fix listed yet: follow the vendor advisory.

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

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/4a927f670cdb0def226f9f85f42a9f19d9e09c88>
- patch: <https://git.kernel.org/stable/c/bd71fb3fea9945987053968f028a948997cba8cc>

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

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