CVE-2026-139788
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.)
Affected products
1Patches
Vulnerability mechanics
References
4News mentions
0No linked articles in our index yet.