cipso: stop modifying live ip_options_rcu
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
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.)
| Product | Versions |
|---|---|
| Linux Linux | f6d8bd051c391c1c0458a30b2a7abcd939329259 to before 29e21acda251848a29bb1e8a629d74c0968c8fcb Affectedf6d8bd051c391c1c0458a30b2a7abcd939329259 to before 8f3ef6bcbe133c5efe28a8ee7e7430565ff63f0f Affectedf6d8bd051c391c1c0458a30b2a7abcd939329259 to before d888b40c859fd71cc0c571d84cff6285ca69073d Affectedf6d8bd051c391c1c0458a30b2a7abcd939329259 to before 1f2c5183fc0902892648f0453e38c0951cef3fec Affectedb8710128e201bc0d628d9644454585925a6e59fd Affected01f69c1211fdcbcb6f7f5624234499264687b258 Affected2.6.32.61 to before 2.6.33 Affected2.6.34.15 to before 2.6.35 Affected |
| Linux Linux | 3.0 Affectedbefore 3.0 Not Affected6.12.119 through 6.12.* Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc3 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.