CVE-2024-35908: tls: get psock ref after taking rxlock to avoid leak

Published May 19, 2024
·
Updated

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

tls: get psock ref after taking rxlock to avoid leak

At the start of tlsswrecvmsg, we take a reference on the psock, and then call tlsrxreaderlock. 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.

Other sources

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

tls: get psock ref after taking rxlock to avoid leak

The Linux kernel CVE team has assigned CVE-2024-35908 to this issue.

Upstream advisory: https://lore.kernel.org/linux-cve-announce/2024051955-CVE-2024-35908-e78a@gregkh/T

Red Hat

Affected Software

9 affected componentsFixes available
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.22-16.12.25-1
redhat/kernel<6.1.85
6.1.85
redhat/kernel<6.6.26
6.6.26
redhat/kernel<6.8.5
6.8.5
redhat/kernel<6.9
6.9
Linux Linux kernel>=6.0<6.1.85
Linux Linux kernel>=6.2<6.6.26
Linux Linux kernel>=6.7<6.8.5
Linux Linux kernel=6.9-rc1

Event History

May 19, 2024
CVE Published
via MITRE·08:35 AM
Data Sourced
via MITRE·08:35 AM
Description
Data Sourced
via NVD·09:15 AM
Description
Data Sourced
via NVD·09:15 AM
RemedySeverityWeaknessAffected Software
May 20, 2024
Data Sourced
via Red Hat·10:34 AM
DescriptionSeverityAffected Software
Jul 15, 2024
Data Sourced
via Launchpad·07:46 PM
Description
Apr 27, 2025
Data Sourced
via Ubuntu·12:21 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-35908?

CVE-2024-35908 is classified as a moderate severity vulnerability in the Linux kernel.

2

How do I fix CVE-2024-35908?

To address CVE-2024-35908, you should upgrade to the latest kernel version provided by your distribution, such as 6.1.85 or later for Red Hat and various versions for Debian.

3

What version of the kernel is affected by CVE-2024-35908?

CVE-2024-35908 affects specific versions of the Linux kernel, particularly those prior to 6.1.85, 6.6.26, 6.8.5, and 6.9 for Red Hat, and older versions for Debian.

4

What component of the Linux kernel does CVE-2024-35908 impact?

CVE-2024-35908 impacts the TLS implementation in the Linux kernel.

5

Is CVE-2024-35908 exploitable remotely?

There is no specific mention of remote exploitability in CVE-2024-35908, but vulnerabilities in kernel components often require local access.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203