{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "9d1d2b59341f58126a69b51f9f5f8ccb9f12e54a"
            },
            {
              "fixed": "71571e187106631a8127f2dde780f35caa358d33"
            },
            {
              "fixed": "2429a197648178cd4dc930a9d87c13c547460564"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39962.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nrxrpc: Fix untrusted unsigned subtract\n\nFix the following Smatch static checker warning:\n\n   net/rxrpc/rxgk_app.c:65 rxgk_yfs_decode_ticket()\n   warn: untrusted unsigned subtract. 'ticket_len - 10 * 4'\n\nby prechecking the length of what we're trying to extract in two places in\nthe token and decoding for a response packet.\n\nAlso use sizeof() on the struct we're extracting rather specifying the size\nnumerically to be consistent with the other related statements.",
  "id": "CVE-2025-39962",
  "modified": "2026-04-01T23:10:22.918404454Z",
  "published": "2025-10-09T12:13:22.684Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/2429a197648178cd4dc930a9d87c13c547460564"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/71571e187106631a8127f2dde780f35caa358d33"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39962.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-39962"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.7.3",
  "summary": "rxrpc: Fix untrusted unsigned subtract"
}