Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-139788

cipso: stop modifying live ip_options_rcu

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • f6d8bd051c391c1c0458a30b2a7abcd939329259 to < 29e21acda251848a29bb1e8a629d74c0968c8fcbaffected
  • f6d8bd051c391c1c0458a30b2a7abcd939329259 to < 8f3ef6bcbe133c5efe28a8ee7e7430565ff63f0faffected
  • f6d8bd051c391c1c0458a30b2a7abcd939329259 to < d888b40c859fd71cc0c571d84cff6285ca69073daffected
  • f6d8bd051c391c1c0458a30b2a7abcd939329259 to < 1f2c5183fc0902892648f0453e38c0951cef3fecaffected
  • b8710128e201bc0d628d9644454585925a6e59fdaffected
  • 01f69c1211fdcbcb6f7f5624234499264687b258affected
  • 2.6.32.61 to < 2.6.33affected
  • 2.6.34.15 to < 2.6.35affected

Linux Linux

Default version status: affected

  • 3.0affected
  • 0 to < 3.0unaffected
  • 6.12.119 to ≤ 6.12.*unaffected
  • 6.18.65 to ≤ 6.18.*unaffected
  • 7.3.6 to ≤ 7.3.*unaffected
  • 7.4-rc3 to ≤ *unaffected

References