AZL-117346: CVE-2026-139788 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
cipso: stop modifying live ipoptionsrcu
cipsov4delopt() operates on the ipoptionsrcu 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 - ipoptionsrcu can be read locklessly and must always be consistent. For example, ipoptionsundo() reads trusted offsets and length values from the options buffer. Fix it by doing the modification in a copy.
The core change is in cipsov4delopt(), 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 inituserns.)
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In cipso_v4_delopt(), modify a copy of ip_options_rcu instead of modifying the live ip_options_rcu object.
Event History
Frequently Asked Questions
Which systems are exposed to this issue?
The issue can be triggered only on systems configured to use CIPSO. Systems not using CIPSO are not described as triggerable by the available information.
What privileges are needed to set up the relevant configuration?
Setting up CIPSO requires privileges in the initial user namespace (init_user_ns).
How can I determine whether this environment is potentially affected?
Determine whether the system is configured to use CIPSO. That configuration is the stated prerequisite for triggering the issue.