CVE-2024-35908

tls: get psock ref after taking rxlock to avoid leak

At a glance

Severity
Not available
EPSS
EPSS 0.21 % · percentile 11 (2026-10-27)
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

Description

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.

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Weaknesses (CWE)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 4cbc325ed6b4dce4910be06d9d6940a8b919c59b < 30fabe50a7ace3e9d57cf7f9288f33ea408491c8 ; affected 4cbc325ed6b4dce4910be06d9d6940a8b919c59b < f1b7f14130d782433bc98c1e1e41ce6b4d4c3096 ; affected 4cbc325ed6b4dce4910be06d9d6940a8b919c59b < b565d294e3d5aa809566a4d819835da11997d8b3 ; affected 4cbc325ed6b4dce4910be06d9d6940a8b919c59b < 417e91e856099e9b8a42a2520e2255e6afe024be
Linux · Linuxaffected 6.0 ; unaffected 0 < 6.0 ; unaffected 6.1.85 ≤ 6.1.* ; unaffected 6.6.26 ≤ 6.6.* ; unaffected 6.8.5 ≤ 6.8.* ; unaffected 6.9 ≤ *

References

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