{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "52267790ef52d7513879238ca9fac22c1733e0e3"
            },
            {
              "fixed": "b6472e8db25035f727390d3afcd45b38b02e30d1"
            },
            {
              "fixed": "cabaf2c3c942880d3850f29d76414e7007f4c985"
            },
            {
              "fixed": "bf6e0dc4b9774b586ab250b75cc16308421a1def"
            },
            {
              "fixed": "8b67debdfbf6b370312ebec5c9e0a1c39b5c7733"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "4.14.0"
            },
            {
              "fixed": "6.12.120"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.66"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.7"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143210.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: skbuff: uncharge trimmed zerocopy frags on error\n\n__zerocopy_sg_from_iter() accounts for the frags that it adds even when\nit returns an error: it adds the growth of skb-\u003etruesize to\nsk_wmem_queued and, unless the skb is pure zerocopy, charges it to the\nsocket.\n\nOn error, skb_zerocopy_iter_stream() cannot free the skb, as it may hold\ndata from an earlier send. It trims the new frags, but leaves\nskb-\u003etruesize and their accounting in place.\n\nRepeated failed sends to the same skb accumulate this stale accounting.\nThis can inflate TCP memory accounting past tcp_mem, and can wrap\nskb-\u003etruesize, leading to a use-after-free of the socket.\n\nUndo the accounting after the trim. If the trim fails, the frags and\ntheir accounting remain. The trim only fails if the skb is cloned,\nwhich is not expected for the unsent skb at the TCP write queue tail.\n\nThe issue was found by an LLM.\n\n[willemb: revised commit message]",
  "id": "CVE-2026-143210",
  "modified": "2026-12-03T10:45:28.584489862Z",
  "published": "2026-12-03T09:20:32.058Z",
  "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/8b67debdfbf6b370312ebec5c9e0a1c39b5c7733"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/b6472e8db25035f727390d3afcd45b38b02e30d1"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/bf6e0dc4b9774b586ab250b75cc16308421a1def"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/cabaf2c3c942880d3850f29d76414e7007f4c985"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143210.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-143210"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "net: skbuff: uncharge trimmed zerocopy frags on error"
}