cipso: stop modifying live ip_options_rcu
Summary
| CVE | CVE-2026-139788 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-30 14:20:12 UTC |
| Updated | 2026-11-30 14:20:12 UTC |
| 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.) |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected f6d8bd051c391c1c0458a30b2a7abcd939329259 29e21acda251848a29bb1e8a629d74c0968c8fcb git |
Not specified |
| CNA |
Linux |
Linux |
affected f6d8bd051c391c1c0458a30b2a7abcd939329259 8f3ef6bcbe133c5efe28a8ee7e7430565ff63f0f git |
Not specified |
| CNA |
Linux |
Linux |
affected f6d8bd051c391c1c0458a30b2a7abcd939329259 d888b40c859fd71cc0c571d84cff6285ca69073d git |
Not specified |
| CNA |
Linux |
Linux |
affected f6d8bd051c391c1c0458a30b2a7abcd939329259 1f2c5183fc0902892648f0453e38c0951cef3fec git |
Not specified |
| CNA |
Linux |
Linux |
affected b8710128e201bc0d628d9644454585925a6e59fd git |
Not specified |
| CNA |
Linux |
Linux |
affected 01f69c1211fdcbcb6f7f5624234499264687b258 git |
Not specified |
| CNA |
Linux |
Linux |
affected 2.6.32.61 2.6.33 semver |
Not specified |
| CNA |
Linux |
Linux |
affected 2.6.34.15 2.6.35 semver |
Not specified |
| CNA |
Linux |
Linux |
affected 3.0 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 3.0 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.12.119 6.12.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.65 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3.6 7.3.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.4-rc3 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/29e21acda251848a29bb1e8a629d74c0968c8fcb |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/1f2c5183fc0902892648f0453e38c0951cef3fec |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/8f3ef6bcbe133c5efe28a8ee7e7430565ff63f0f |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/d888b40c859fd71cc0c571d84cff6285ca69073d |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.