Bug 2587323 (CVE-2026-139788) - CVE-2026-139788 kernel: kernel: privilege escalation via race condition in CIPSO socket option handling
Summary: CVE-2026-139788 kernel: kernel: privilege escalation via race condition in CI...
Keywords:
Status: NEW
Alias: CVE-2026-139788
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-30 15:13 UTC by OSIDB Bzimport
Modified: 2026-12-01 14:26 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-30 15:13:02 UTC
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.)


Note You need to log in before you can comment on or make changes to this bug.