CVE-2024-26679: inet: read sk->sk_family once in inet_recv_error()

Description

In the Linux kernel, the following vulnerability has been resolved:

inet: read sk->sk_family once in inet_recv_error()

inet_recv_error() is called without holding the socket lock.

IPv6 socket could mutate to IPv4 with IPV6_ADDRFORM
socket option and trigger a KCSAN warning.

Classification

CVE ID: CVE-2024-26679

Affected Products

Vendor: Linux

Product: Linux

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.04% (probability of being exploited)

EPSS Percentile: 15.23% (scored less or equal to compared to others)

EPSS Date: 2025-02-03 (when was this score calculated)

References

https://git.kernel.org/stable/c/caa064c3c2394d03e289ebd6b0be5102eb8a5b40
https://git.kernel.org/stable/c/5993f121fbc01dc2d734f0ff2628009b258fb1dd
https://git.kernel.org/stable/c/88081ba415224cf413101def4343d660f56d082b
https://git.kernel.org/stable/c/3266e638ba5cc1165f5e6989eb8c0720f1cc4b41
https://git.kernel.org/stable/c/54538752216bf89ee88d47ad07802063a498c299
https://git.kernel.org/stable/c/4a5e31bdd3c1702b520506d9cf8c41085f75c7f2
https://git.kernel.org/stable/c/307fa8a75ab7423fa5c73573ec3d192de5027830
https://git.kernel.org/stable/c/eef00a82c568944f113f2de738156ac591bbd5cd

Timeline