{"id":"CVE-2026-139788","summary":"cipso: stop modifying live ip_options_rcu","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ncipso: stop modifying live ip_options_rcu\n\ncipso_v4_delopt() operates on the ip_options_rcu of a socket or a request\nsocket, and tries to remove CIPSO options from the middle by moving all\nsubsequent options.\nThat's not allowed - ip_options_rcu can be read locklessly and must always\nbe consistent. For example, ip_options_undo() reads trusted offsets and\nlength values from the options buffer.\nFix it by doing the modification in a copy.\n\nThe core change is in cipso_v4_delopt(), the rest is ugly plumbing to\npropagate memory allocation failures.\n\nTriggering this bug requires that the system is configured to use CIPSO.\n(Setting up CIPSO requires privileges in init_user_ns.)","modified":"2026-11-30T15:02:31.027762416Z","published":"2026-11-30T13:38:00.513Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139788.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1f2c5183fc0902892648f0453e38c0951cef3fec"},{"type":"WEB","url":"https://git.kernel.org/stable/c/29e21acda251848a29bb1e8a629d74c0968c8fcb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8f3ef6bcbe133c5efe28a8ee7e7430565ff63f0f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d888b40c859fd71cc0c571d84cff6285ca69073d"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139788.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139788"}],"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"}]}],"versions":["v2.6.32.71","v2.6.32.70","v2.6.32.69","v2.6.32.68","v2.6.32.67","v2.6.32.66","v2.6.32.65","v2.6.32.64","v2.6.32.63","v2.6.32.62","v2.6.32.61","v2.6.34.15"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139788.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"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"}}],"schema_version":"1.9.2"}