# CVE-2026-139788: cipso: stop modifying live ip\_options\_rcu

- **Severity:** HIGH 7.0
- **CVSS:** 7.0 (v3.1, CNA) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; 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)
- **Published:** 2026-11-30T13:38:00.513Z
- **Modified:** 2026-12-01T06:17:49.637Z

## Who should check

- Anyone running Linux \>= f6d8bd051c391c1c0458a30b2a7abcd939329259, \< 29e21acda251848a29bb1e8a629d74c0968c8fcb; \>= f6d8bd051c391c1c0458a30b2a7abcd939329259, \< 8f3ef6bcbe133c5efe28a8ee7e7430565ff63f0f; \>= f6d8bd051c391c1c0458a30b2a7abcd939329259, \< d888b40c859fd71cc0c571d84cff6285ca69073d; \>= f6d8bd051c391c1c0458a30b2a7abcd939329259, \< 1f2c5183fc0902892648f0453e38c0951cef3fec; b8710128e201bc0d628d9644454585925a6e59fd; 01f69c1211fdcbcb6f7f5624234499264687b258; \>= 2.6.32.61, \< 2.6.33; \>= 2.6.34.15, \< 2.6.35
- Anyone running Linux 3.0

## Description

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

cipso: stop modifying live ip\_options\_rcu

cipso\_v4\_delopt() operates on the ip\_options\_rcu of a socket or a request
socket, and tries to remove CIPSO options from the middle by moving all
subsequent options.
That's not allowed - ip\_options\_rcu can be read locklessly and must always
be consistent. For example, ip\_options\_undo() reads trusted offsets and
length values from the options buffer.
Fix it by doing the modification in a copy.

The core change is in cipso\_v4\_delopt(), the rest is ugly plumbing to
propagate memory allocation failures.

Triggering this bug requires that the system is configured to use CIPSO.
(Setting up CIPSO requires privileges in init\_user\_ns.)

## Affected and fixed versions

- Linux: \>= f6d8bd051c391c1c0458a30b2a7abcd939329259, \< 29e21acda251848a29bb1e8a629d74c0968c8fcb; \>= f6d8bd051c391c1c0458a30b2a7abcd939329259, \< 8f3ef6bcbe133c5efe28a8ee7e7430565ff63f0f; \>= f6d8bd051c391c1c0458a30b2a7abcd939329259, \< d888b40c859fd71cc0c571d84cff6285ca69073d; \>= f6d8bd051c391c1c0458a30b2a7abcd939329259, \< 1f2c5183fc0902892648f0453e38c0951cef3fec; b8710128e201bc0d628d9644454585925a6e59fd; 01f69c1211fdcbcb6f7f5624234499264687b258; \>= 2.6.32.61, \< 2.6.33; \>= 2.6.34.15, \< 2.6.35 (cvelist)
- Linux: 3.0 (cvelist)

## Technologies

Linux kernel

## Mitigation

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

Details: https://flawdb.com/CVE-2026-139788.md
Affected: Linux >= f6d8bd051c391c1c0458a30b2a7abcd939329259, < 29e21acda251848a29bb1e8a629d74c0968c8fcb; >= f6d8bd051c391c1c0458a30b2a7abcd939329259, < 8f3ef6bcbe133c5efe28a8ee7e7430565ff63f0f; >= f6d8bd051c391c1c0458a30b2a7abcd939329259, < d888b40c859fd71cc0c571d84cff6285ca69073d; >= f6d8bd051c391c1c0458a30…
Fixed in: Linux 29e21acda251848a29bb1e8a629d74c0968c8fcb, Linux 8f3ef6bcbe133c5efe28a8ee7e7430565ff63f0f, Linux 1f2c5183fc0902892648f0453e38c0951cef3fec, Linux 2.6.33, Linux 2.6.35

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

There is no confirmed exploitation: CVE-2026-139788 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

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

High: CVSS 7.0 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

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

Linux \>= f6d8bd051c391c1c0458a30b2a7abcd939329259, \< 29e21acda251848a29bb1e8a629d74c0968c8fcb; \>= f6d8bd051c391c1c0458a30b2a7abcd939329259, \< 8f3ef6bcbe133c5efe28a8ee7e7430565ff63f0f; \>= f6d8bd051c391c1c0458a30b2a7abcd939329259, \< d888b40c859fd71cc0c571d84cff6285ca69073d; \>= f6d8bd051c391c1c0458a30b2a7abcd939329259, \< 1f2c5183fc0902892648f0453e38c0951cef3fec; b8710128e201bc0d628d9644454585925a6e59fd; 01f69c1211fdcbcb6f7f5624234499264687b258; \>= 2.6.32.61, \< 2.6.33; \>= 2.6.34.15, \< 2.6.35; Linux 3.0.

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

Yes. Fixed in Linux 29e21acda251848a29bb1e8a629d74c0968c8fcb, Linux 8f3ef6bcbe133c5efe28a8ee7e7430565ff63f0f, Linux 1f2c5183fc0902892648f0453e38c0951cef3fec, Linux 2.6.33, Linux 2.6.35. Upgrade Linux to 2.6.35 or later.

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

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/29e21acda251848a29bb1e8a629d74c0968c8fcb>
- other: <https://git.kernel.org/stable/c/8f3ef6bcbe133c5efe28a8ee7e7430565ff63f0f>
- other: <https://git.kernel.org/stable/c/d888b40c859fd71cc0c571d84cff6285ca69073d>
- other: <https://git.kernel.org/stable/c/1f2c5183fc0902892648f0453e38c0951cef3fec>

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

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