{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "051f49d5176613dea88ecf73a101c3a99f4720e9"
            },
            {
              "fixed": "87bb3e719042f0030a6dad39118c6a6b2a491ad9"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "6b2d11e2d8fc130df4708be0b6b53fd3e6b54cf6"
            },
            {
              "fixed": "510db031ba6eb40134f84c90ef963ea4b6dfb878"
            },
            {
              "fixed": "29cf64d128c94cf98d1c69d8b2962d39db5ff4c6"
            },
            {
              "fixed": "03cb001ef87b3f8d859cf7f96329acf3d6235d29"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "6.12.5"
            },
            {
              "fixed": "6.12.92"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "6.12.92"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.34"
            },
            {
              "fixed": "7.0.11"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64518.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\ntcp: Fix out-of-bounds access for twsk in tcp_ao_established_key().\n\nlockdep_sock_is_held() was added in tcp_ao_established_key()\nby the cited commit.\n\nIt can be called from tcp_v[46]_timewait_ack() with twsk.\n\nSince it does not have sk-\u003esk_lock, the lockdep annotation\nresults in out-of-bound access.\n\n  $ pahole -C tcp_timewait_sock vmlinux | grep size\n  \t/* size: 288, cachelines: 5, members: 8 */\n  $ pahole -C sock vmlinux | grep sk_lock\n  \tsocket_lock_t              sk_lock;              /*   440   192 */\n\nLet's not use lockdep_sock_is_held() for TCP_TIME_WAIT.",
  "id": "CVE-2026-64518",
  "modified": "2026-08-12T03:51:41.043250595Z",
  "published": "2026-07-25T09:14:44.603Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/03cb001ef87b3f8d859cf7f96329acf3d6235d29"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/29cf64d128c94cf98d1c69d8b2962d39db5ff4c6"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/510db031ba6eb40134f84c90ef963ea4b6dfb878"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/87bb3e719042f0030a6dad39118c6a6b2a491ad9"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64518.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-64518"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "tcp: Fix out-of-bounds access for twsk in tcp_ao_established_key()."
}