CVE-2026-64518 (GCVE-0-2026-64518)

Vulnerability from cvelistv5 – Published: 2026-07-25 09:14 – Updated: 2026-07-25 09:14
VLAI
Title
tcp: Fix out-of-bounds access for twsk in tcp_ao_established_key().
Summary
In the Linux kernel, the following vulnerability has been resolved: tcp: Fix out-of-bounds access for twsk in tcp_ao_established_key(). lockdep_sock_is_held() was added in tcp_ao_established_key() by the cited commit. It can be called from tcp_v[46]_timewait_ack() with twsk. Since it does not have sk->sk_lock, the lockdep annotation results in out-of-bound access. $ pahole -C tcp_timewait_sock vmlinux | grep size /* size: 288, cachelines: 5, members: 8 */ $ pahole -C sock vmlinux | grep sk_lock socket_lock_t sk_lock; /* 440 192 */ Let's not use lockdep_sock_is_held() for TCP_TIME_WAIT.
Severity
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 051f49d5176613dea88ecf73a101c3a99f4720e9 , < 87bb3e719042f0030a6dad39118c6a6b2a491ad9 (git)
Affected: 6b2d11e2d8fc130df4708be0b6b53fd3e6b54cf6 , < 510db031ba6eb40134f84c90ef963ea4b6dfb878 (git)
Affected: 6b2d11e2d8fc130df4708be0b6b53fd3e6b54cf6 , < 29cf64d128c94cf98d1c69d8b2962d39db5ff4c6 (git)
Affected: 6b2d11e2d8fc130df4708be0b6b53fd3e6b54cf6 , < 03cb001ef87b3f8d859cf7f96329acf3d6235d29 (git)
Affected: 6.12.5 , < 6.12.92 (semver)
Create a notification for this product.
Linux Linux Affected: 6.13
Unaffected: 0 , < 6.13 (semver)
Unaffected: 6.12.92 , ≤ 6.12.* (semver)
Unaffected: 6.18.34 , ≤ 6.18.* (semver)
Unaffected: 7.0.11 , ≤ 7.0.* (semver)
Unaffected: 7.1 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/ipv4/tcp_ao.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "87bb3e719042f0030a6dad39118c6a6b2a491ad9",
              "status": "affected",
              "version": "051f49d5176613dea88ecf73a101c3a99f4720e9",
              "versionType": "git"
            },
            {
              "lessThan": "510db031ba6eb40134f84c90ef963ea4b6dfb878",
              "status": "affected",
              "version": "6b2d11e2d8fc130df4708be0b6b53fd3e6b54cf6",
              "versionType": "git"
            },
            {
              "lessThan": "29cf64d128c94cf98d1c69d8b2962d39db5ff4c6",
              "status": "affected",
              "version": "6b2d11e2d8fc130df4708be0b6b53fd3e6b54cf6",
              "versionType": "git"
            },
            {
              "lessThan": "03cb001ef87b3f8d859cf7f96329acf3d6235d29",
              "status": "affected",
              "version": "6b2d11e2d8fc130df4708be0b6b53fd3e6b54cf6",
              "versionType": "git"
            },
            {
              "lessThan": "6.12.92",
              "status": "affected",
              "version": "6.12.5",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/ipv4/tcp_ao.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.13"
            },
            {
              "lessThan": "6.13",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.92",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.34",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.0.*",
              "status": "unaffected",
              "version": "7.0.11",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.92",
                  "versionStartIncluding": "6.12.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.34",
                  "versionStartIncluding": "6.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0.11",
                  "versionStartIncluding": "6.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1",
                  "versionStartIncluding": "6.13",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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\u0027s not use lockdep_sock_is_held() for TCP_TIME_WAIT."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-07-25T09:14:44.603Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/87bb3e719042f0030a6dad39118c6a6b2a491ad9"
        },
        {
          "url": "https://git.kernel.org/stable/c/510db031ba6eb40134f84c90ef963ea4b6dfb878"
        },
        {
          "url": "https://git.kernel.org/stable/c/29cf64d128c94cf98d1c69d8b2962d39db5ff4c6"
        },
        {
          "url": "https://git.kernel.org/stable/c/03cb001ef87b3f8d859cf7f96329acf3d6235d29"
        }
      ],
      "title": "tcp: Fix out-of-bounds access for twsk in tcp_ao_established_key().",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-64518",
    "datePublished": "2026-07-25T09:14:44.603Z",
    "dateReserved": "2026-07-19T15:36:31.794Z",
    "dateUpdated": "2026-07-25T09:14:44.603Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-64518",
      "date": "2026-07-25",
      "epss": "0.00209",
      "percentile": "0.11174"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-64518\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-07-25T10:17:38.080\",\"lastModified\":\"2026-07-25T10:17:38.080\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"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\u0027s not use lockdep_sock_is_held() for TCP_TIME_WAIT.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"net/ipv4/tcp_ao.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"051f49d5176613dea88ecf73a101c3a99f4720e9\",\"lessThan\":\"87bb3e719042f0030a6dad39118c6a6b2a491ad9\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"6b2d11e2d8fc130df4708be0b6b53fd3e6b54cf6\",\"lessThan\":\"510db031ba6eb40134f84c90ef963ea4b6dfb878\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"6b2d11e2d8fc130df4708be0b6b53fd3e6b54cf6\",\"lessThan\":\"29cf64d128c94cf98d1c69d8b2962d39db5ff4c6\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"6b2d11e2d8fc130df4708be0b6b53fd3e6b54cf6\",\"lessThan\":\"03cb001ef87b3f8d859cf7f96329acf3d6235d29\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"6.12.5\",\"lessThan\":\"6.12.92\",\"versionType\":\"semver\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"net/ipv4/tcp_ao.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"6.13\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"6.13\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.92\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.34\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.0.11\",\"lessThanOrEqual\":\"7.0.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/03cb001ef87b3f8d859cf7f96329acf3d6235d29\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/29cf64d128c94cf98d1c69d8b2962d39db5ff4c6\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/510db031ba6eb40134f84c90ef963ea4b6dfb878\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/87bb3e719042f0030a6dad39118c6a6b2a491ad9\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…