CVE-2026-139788

Source
https://cve.org/CVERecord?id=CVE-2026-139788
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139788.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-139788
Downstream
Published
2026-11-30T13:38:00Z
Modified
2026-11-30T15:02:31Z
Summary
cipso: stop modifying live ip_options_rcu
Details

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

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139788.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
f6d8bd051c391c1c0458a30b2a7abcd939329259
Fixed
29e21acda251848a29bb1e8a629d74c0968c8fcb
Fixed
8f3ef6bcbe133c5efe28a8ee7e7430565ff63f0f
Fixed
d888b40c859fd71cc0c571d84cff6285ca69073d
Fixed
1f2c5183fc0902892648f0453e38c0951cef3fec
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
b8710128e201bc0d628d9644454585925a6e59fd
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
01f69c1211fdcbcb6f7f5624234499264687b258

Affected versions

v2.*
v2.6.32.61
v2.6.32.62
v2.6.32.63
v2.6.32.64
v2.6.32.65
v2.6.32.66
v2.6.32.67
v2.6.32.68
v2.6.32.69
v2.6.32.70
v2.6.32.71
v2.6.34.15

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139788.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.6.32.61
Fixed
2.6.33
Type
ECOSYSTEM
Events
Introduced
2.6.34.15
Fixed
2.6.35
Type
ECOSYSTEM
Events
Introduced
3.0.0
Fixed
6.12.119
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.65
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139788.json"