{"id":"CVE-2026-64518","aliases":["CVE-2026-64518"],"related":[],"kind":"vulnerability","state":"published","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:\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->sk_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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->sk_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.","source":"cvelist"}],"published":"2026-07-25T09:14:44.603Z","modified":"2026-11-17T20:12:17.647Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"type":"git","introduced":"051f49d5176613dea88ecf73a101c3a99f4720e9","fixed":"87bb3e719042f0030a6dad39118c6a6b2a491ad9","status":"affected"},{"type":"git","introduced":"6b2d11e2d8fc130df4708be0b6b53fd3e6b54cf6","fixed":"510db031ba6eb40134f84c90ef963ea4b6dfb878","status":"affected"},{"type":"git","introduced":"6b2d11e2d8fc130df4708be0b6b53fd3e6b54cf6","fixed":"29cf64d128c94cf98d1c69d8b2962d39db5ff4c6","status":"affected"},{"type":"git","introduced":"6b2d11e2d8fc130df4708be0b6b53fd3e6b54cf6","fixed":"03cb001ef87b3f8d859cf7f96329acf3d6235d29","status":"affected"},{"type":"semver","introduced":"6.12.5","fixed":"6.12.92","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.13","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.13","status":"unaffected"},{"type":"semver","introduced":"6.12.92","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.34","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.0.11","lastAffected":"7.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.12.5","fixed":"6.12.92"},{"status":"affected","introduced":"6.13","fixed":"6.18.34"},{"status":"affected","introduced":"6.19","fixed":"7.0.11"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/87bb3e719042f0030a6dad39118c6a6b2a491ad9","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/510db031ba6eb40134f84c90ef963ea4b6dfb878","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/29cf64d128c94cf98d1c69d8b2962d39db5ff4c6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/03cb001ef87b3f8d859cf7f96329acf3d6235d29","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-64518","url":"https://www.cve.org/CVERecord?id=CVE-2026-64518","licence":"CVE Terms of Use","modified":"2026-07-25T09:14:44.603Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-64518","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64518","licence":"Public domain","modified":"2026-11-17T20:12:17.647Z"}],"updatedAt":"2026-11-25T22:59:30.156Z","epss":{"score":0.00125,"percentile":0.02394,"date":"2026-12-01T12:00:22.000Z"}}