CVE-2024-35908

published 19 May 2024 · updated 11 May 2026

tls: get psock ref after taking rxlock to avoid leak

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 30fabe50a7ace3e9d57cf7f9288f33ea408491c8, Kernel 417e91e856099e9b8a42a2520e2255e6afe024be, Kernel b565d294e3d5aa809566a4d819835da11997d8b3 and 1 more.

In the Linux kernel, the following vulnerability has been resolved: tls: get psock ref after taking rxlock to avoid leak At the start of tls_sw_recvmsg, we take a reference on the psock, and then call tls_rx_reader_lock. If that fails, we return directly without releasing the reference. Instead of adding a new label, just take the reference after locking has succeeded, since we don't need it before.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.0, >=4cbc325ed6b4dce4910be06d9d6940a8b919c59b <30fabe50a7ace3e9d57cf7f9288f33ea408491c8, >=4cbc325ed6b4dce4910be06d9d6940a8b919c59b <417e91e856099e9b8a42a2520e2255e6afe024be, >=4cbc325ed6b4dce4910be06d9d6940a8b919c59b <b565d294e3d5aa809566a4d819835da11997d8b3, >=4cbc325ed6b4dce4910be06d9d6940a8b919c59b <f1b7f14130d782433bc98c1e1e41ce6b4d4c309630fabe50a7ace3e9d57cf7f9288f33ea408491c8, 417e91e856099e9b8a42a2520e2255e6afe024be, b565d294e3d5aa809566a4d819835da11997d8b3, f1b7f14130d782433bc98c1e1e41ce6b4d4c3096

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-35908 severity on Zeptric[![CVE-2024-35908](https://zeptric.io/badge/cve/CVE-2024-35908.svg)](https://zeptric.io/cve/CVE-2024-35908)