# CVE-2026-139788: cipso: stop modifying live ip_options_rcu

- Severity: High 7.0 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Published: 2026-11-30T13:38:00.513Z
- Modified: 2026-12-01T06:17:49.637Z
- Assigned by: Linux

## 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.)

(As written by CVE List.)

## Affected

- Linux Linux: from f6d8bd051c391c1c0458a30b2a7abcd939329259 before 29e21acda251848a29bb1e8a629d74c0968c8fcb; from f6d8bd051c391c1c0458a30b2a7abcd939329259 before 8f3ef6bcbe133c5efe28a8ee7e7430565ff63f0f; from f6d8bd051c391c1c0458a30b2a7abcd939329259 before d888b40c859fd71cc0c571d84cff6285ca69073d; from f6d8bd051c391c1c0458a30b2a7abcd939329259 before 1f2c5183fc0902892648f0453e38c0951cef3fec; b8710128e201bc0d628d9644454585925a6e59fd; 01f69c1211fdcbcb6f7f5624234499264687b258; from 2.6.32.61 before 2.6.33; from 2.6.34.15 before 2.6.35; 3.0 (not affected: before 3.0; from 6.12.119 up to 6.12.*; from 6.18.65 up to 6.18.*; from 7.3.6 up to 7.3.*; from 7.4-rc3 up to *)

## References

- <https://git.kernel.org/stable/c/29e21acda251848a29bb1e8a629d74c0968c8fcb>
- <https://git.kernel.org/stable/c/8f3ef6bcbe133c5efe28a8ee7e7430565ff63f0f>
- <https://git.kernel.org/stable/c/d888b40c859fd71cc0c571d84cff6285ca69073d>
- <https://git.kernel.org/stable/c/1f2c5183fc0902892648f0453e38c0951cef3fec>

## Sources

- CVE List: [CVE-2026-139788](https://www.cve.org/CVERecord?id=CVE-2026-139788), CVE Terms of Use, modified 2026-12-01
- NVD: [CVE-2026-139788](https://nvd.nist.gov/vuln/detail/CVE-2026-139788), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-139788 · Whole record: https://cve.day/CVE-2026-139788.json · Rebuilt by cve.day 2026-12-01T06:32:51.033Z
