{"id":"CVE-2024-35908","summary":"tls: get psock ref after taking rxlock to avoid leak","details":"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.","modified":"2026-04-02T11:51:59.012307Z","published":"2024-05-19T08:35:01.460Z","related":["SUSE-SU-2024:2802-1","SUSE-SU-2024:2896-1","SUSE-SU-2024:2973-1","SUSE-SU-2025:20008-1","SUSE-SU-2025:20028-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35908.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/30fabe50a7ace3e9d57cf7f9288f33ea408491c8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/417e91e856099e9b8a42a2520e2255e6afe024be"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b565d294e3d5aa809566a4d819835da11997d8b3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f1b7f14130d782433bc98c1e1e41ce6b4d4c3096"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35908.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-35908"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"4cbc325ed6b4dce4910be06d9d6940a8b919c59b"},{"fixed":"30fabe50a7ace3e9d57cf7f9288f33ea408491c8"},{"fixed":"f1b7f14130d782433bc98c1e1e41ce6b4d4c3096"},{"fixed":"b565d294e3d5aa809566a4d819835da11997d8b3"},{"fixed":"417e91e856099e9b8a42a2520e2255e6afe024be"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-35908.json"}}],"schema_version":"1.7.5"}