tcp: Fix out-of-bounds access for twsk in tcp_ao_established_key(). (Linux Linux)

CVE-2026-64518
Not available

At a glance

Source
NVD
EPSS
EPSS 0.17 % · percentile 6 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

Description

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.

References

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected 051f49d5176613dea88ecf73a101c3a99f4720e9 < 87bb3e719042f0030a6dad39118c6a6b2a491ad9 ; affected 6b2d11e2d8fc130df4708be0b6b53fd3e6b54cf6 < 510db031ba6eb40134f84c90ef963ea4b6dfb878 ; affected 6b2d11e2d8fc130df4708be0b6b53fd3e6b54cf6 < 29cf64d128c94cf98d1c69d8b2962d39db5ff4c6 ; affected 6b2d11e2d8fc130df4708be0b6b53fd3e6b54cf6 < 03cb001ef87b3f8d859cf7f96329acf3d6235d29 ; affected 6.12.5 < 6.12.92
Linux · Linuxaffected 6.13 ; unaffected 0 < 6.13 ; unaffected 6.12.92 ≤ 6.12.* ; unaffected 6.18.34 ≤ 6.18.* ; unaffected 7.0.11 ≤ 7.0.* ; unaffected 7.1 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD