# CVE-2026-31438: netfs: Fix kernel BUG in netfs\_limit\_iter() for ITER\_KVEC iterators

> 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.17% (percentile 3, 2026-11-28)
- **CWE:** CWE-476
- **Published:** 2026-04-22T13:53:37.053Z
- **Modified:** 2026-11-11T23:10:00.263Z

## Who should check

- Anyone running Linux \>= cae932d3aee55035a54415dcea8e7ecf2ec469b5, \< 18c2e20b42dd21db599e42d05ddaeeb647b2bb6d; \>= cae932d3aee55035a54415dcea8e7ecf2ec469b5, \< 4bc2d72c7695cedf6d4e1a558924903c2b28a78e; \>= cae932d3aee55035a54415dcea8e7ecf2ec469b5, \< 00d6df7115f6972370974212de9088087820802e; \>= cae932d3aee55035a54415dcea8e7ecf2ec469b5, \< 67e467a11f62ff64ad219dc6aa5459e132c79d14
- Anyone running Linux 6.8

## Description

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

netfs: Fix kernel BUG in netfs\_limit\_iter() for ITER\_KVEC iterators

When a process crashes and the kernel writes a core dump to a 9P
filesystem, \_\_kernel\_write() creates an ITER\_KVEC iterator. This
iterator reaches netfs\_limit\_iter() via netfs\_unbuffered\_write(), which
only handles ITER\_FOLIOQ, ITER\_BVEC and ITER\_XARRAY iterator types,
hitting the BUG() for any other type.

Fix this by adding netfs\_limit\_kvec() following the same pattern as
netfs\_limit\_bvec(), since both kvec and bvec are simple segment arrays
with pointer and length fields. Dispatch it from netfs\_limit\_iter() when
the iterator type is ITER\_KVEC.

## Affected and fixed versions

- Linux: \>= cae932d3aee55035a54415dcea8e7ecf2ec469b5, \< 18c2e20b42dd21db599e42d05ddaeeb647b2bb6d; \>= cae932d3aee55035a54415dcea8e7ecf2ec469b5, \< 4bc2d72c7695cedf6d4e1a558924903c2b28a78e; \>= cae932d3aee55035a54415dcea8e7ecf2ec469b5, \< 00d6df7115f6972370974212de9088087820802e; \>= cae932d3aee55035a54415dcea8e7ecf2ec469b5, \< 67e467a11f62ff64ad219dc6aa5459e132c79d14 (cvelist)
- Linux: 6.8 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2026-31438.md
Affected: Linux >= cae932d3aee55035a54415dcea8e7ecf2ec469b5, < 18c2e20b42dd21db599e42d05ddaeeb647b2bb6d; >= cae932d3aee55035a54415dcea8e7ecf2ec469b5, < 4bc2d72c7695cedf6d4e1a558924903c2b28a78e; >= cae932d3aee55035a54415dcea8e7ecf2ec469b5, < 00d6df7115f6972370974212de9088087820802e; >= cae932d3aee55035a54415d…
Fixed in: Linux 18c2e20b42dd21db599e42d05ddaeeb647b2bb6d, Linux 4bc2d72c7695cedf6d4e1a558924903c2b28a78e, Linux 00d6df7115f6972370974212de9088087820802e, Linux 67e467a11f62ff64ad219dc6aa5459e132c79d14

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

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

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

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

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

Linux \>= cae932d3aee55035a54415dcea8e7ecf2ec469b5, \< 18c2e20b42dd21db599e42d05ddaeeb647b2bb6d; \>= cae932d3aee55035a54415dcea8e7ecf2ec469b5, \< 4bc2d72c7695cedf6d4e1a558924903c2b28a78e; \>= cae932d3aee55035a54415dcea8e7ecf2ec469b5, \< 00d6df7115f6972370974212de9088087820802e; \>= cae932d3aee55035a54415dcea8e7ecf2ec469b5, \< 67e467a11f62ff64ad219dc6aa5459e132c79d14; Linux 6.8.

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

Yes. Fixed in Linux 18c2e20b42dd21db599e42d05ddaeeb647b2bb6d, Linux 4bc2d72c7695cedf6d4e1a558924903c2b28a78e, Linux 00d6df7115f6972370974212de9088087820802e, Linux 67e467a11f62ff64ad219dc6aa5459e132c79d14. Upgrade Linux to 67e467a11f62ff64ad219dc6aa5459e132c79d14 or later.

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

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/18c2e20b42dd21db599e42d05ddaeeb647b2bb6d>
- patch: <https://git.kernel.org/stable/c/4bc2d72c7695cedf6d4e1a558924903c2b28a78e>
- patch: <https://git.kernel.org/stable/c/00d6df7115f6972370974212de9088087820802e>
- patch: <https://git.kernel.org/stable/c/67e467a11f62ff64ad219dc6aa5459e132c79d14>

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

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