{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "f6d8bd051c391c1c0458a30b2a7abcd939329259"
            },
            {
              "fixed": "29e21acda251848a29bb1e8a629d74c0968c8fcb"
            },
            {
              "fixed": "8f3ef6bcbe133c5efe28a8ee7e7430565ff63f0f"
            },
            {
              "fixed": "d888b40c859fd71cc0c571d84cff6285ca69073d"
            },
            {
              "fixed": "1f2c5183fc0902892648f0453e38c0951cef3fec"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "b8710128e201bc0d628d9644454585925a6e59fd"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "01f69c1211fdcbcb6f7f5624234499264687b258"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "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"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139788.json"
  },
  "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.)",
  "id": "CVE-2026-139788",
  "modified": "2026-11-30T14:45:46.165150053Z",
  "published": "2026-11-30T13:38:00.513Z",
  "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"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "cipso: stop modifying live ip_options_rcu"
}