# writeback: Fix use after free in inode_switch_wbs_work_fn()

CVE record · `CVE-2026-31703`

- **Identifiers:** `CVE-2026-31703`
- **State:** Confirmed
- **Severity:** CVSS 7.8 High
- **Critical:** No
- **CNA:** Linux
- **Weakness (CWE):** [CWE-825](https://cwe.mitre.org/data/definitions/825.html)
- **Tags:** [Memory corruption](https://agentprime.io/advisories/tag/memory-corruption.md)
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 1 May 2026
- **Updated:** 20 Aug 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 1 May 2026, 13:56 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `d072b38a64ddbc2d58c2e525a24af24ecbfebcb7 to before 382cf81cae89e58d22b4bdc38891cd4d0b9ba921` (git)
  - affected: `ac7b2c21f2269d815ad0cdf0f8258d55185b805c to before 19ec404b079be057b387643ba0c69bbcc5867c35` (git)
  - affected: `fabfc1fcddc5d8185722d4fde5f0968c4760b71e to before 156cc63691c1f20905510b1007896e090355e6c2` (git)
  - affected: `e1b849cfa6b61f1c866a908c9e8dd9b5aaab820b to before 028103656b84273c73e9e271cf95c9f3421f4b8a` (git)
  - affected: `e1b849cfa6b61f1c866a908c9e8dd9b5aaab820b to before 9223e5f30403a9b506d6d0bff4f2e29a2d7d46af` (git)
  - affected: `e1b849cfa6b61f1c866a908c9e8dd9b5aaab820b to before 6689f01d6740cf358932b3e97ee968c6099800d9` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `6.18`
  - unaffected: `before 6.18` (semver)
  - unaffected: `6.18.25 to 6.18.*, inclusive` (semver)
  - unaffected: `7.0.2 to 7.0.*, inclusive` (semver)
  - unaffected: `7.1 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 7.8 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`, from CNA (Linux) (used for this record)
- 7.0 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`, from ADP (redhat-SADP)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0012, the 1st percentile, on 18 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 1 May 2026, 14:16 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2026-31703)

## Sources

- [CVE List: CVE-2026-31703](https://www.cve.org/CVERecord?id=CVE-2026-31703)
- [NVD: CVE-2026-31703](https://nvd.nist.gov/vuln/detail/CVE-2026-31703)

### References from the CNA

- <https://git.kernel.org/stable/c/382cf81cae89e58d22b4bdc38891cd4d0b9ba921>
- <https://git.kernel.org/stable/c/19ec404b079be057b387643ba0c69bbcc5867c35>
- <https://git.kernel.org/stable/c/156cc63691c1f20905510b1007896e090355e6c2>
- <https://git.kernel.org/stable/c/028103656b84273c73e9e271cf95c9f3421f4b8a>
- <https://git.kernel.org/stable/c/9223e5f30403a9b506d6d0bff4f2e29a2d7d46af>
- <https://git.kernel.org/stable/c/6689f01d6740cf358932b3e97ee968c6099800d9>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2026-31703>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2026-31703/>. Everything for agents: <https://agentprime.io/llms.txt>.
