{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-35908","id":"CVE-2024-35908","title":"tls: get psock ref after taking rxlock to avoid leak","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ntls: get psock ref after taking rxlock to avoid leak\n\nAt the start of tls_sw_recvmsg, we take a reference on the psock, and\nthen call tls_rx_reader_lock. If that fails, we return directly\nwithout releasing the reference.\n\nInstead of adding a new label, just take the reference after locking\nhas succeeded, since we don't need it be","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\ntls: get psock ref after taking rxlock to avoid leak\n\nAt the start of tls_sw_recvmsg, we take a reference on the psock, and\nthen call tls_rx_reader_lock. If that fails, we return directly\nwithout releasing the reference.\n\nInstead of adding a new label, just take the reference after locking\nhas succeeded, since we don't need it before.","published":"2024-05-19T08:35:01.460Z","updated":"2026-10-28T02:30:29.159970057Z","reserved":"2024-05-17T13:50:33.121Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"4cbc325ed6b4dce4910be06d9d6940a8b919c59b","lessThan":"30fabe50a7ace3e9d57cf7f9288f33ea408491c8","status":"affected","versionType":"git"},{"version":"4cbc325ed6b4dce4910be06d9d6940a8b919c59b","lessThan":"f1b7f14130d782433bc98c1e1e41ce6b4d4c3096","status":"affected","versionType":"git"},{"version":"4cbc325ed6b4dce4910be06d9d6940a8b919c59b","lessThan":"b565d294e3d5aa809566a4d819835da11997d8b3","status":"affected","versionType":"git"},{"version":"4cbc325ed6b4dce4910be06d9d6940a8b919c59b","lessThan":"417e91e856099e9b8a42a2520e2255e6afe024be","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.0","status":"affected"},{"version":"0","lessThan":"6.0","status":"unaffected","versionType":"semver"},{"version":"6.1.85","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.26","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.8.5","lessThanOrEqual":"6.8.*","status":"unaffected","versionType":"semver"},{"version":"6.9","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-401"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/30fabe50a7ace3e9d57cf7f9288f33ea408491c8","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/f1b7f14130d782433bc98c1e1e41ce6b4d4c3096","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/b565d294e3d5aa809566a4d819835da11997d8b3","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/417e91e856099e9b8a42a2520e2255e6afe024be","tags":["x_transferred","Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35908.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-35908","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00211,"epssPercentile":0.11509,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-35908","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-35908","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-35908","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-35908","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}