{"id":"CVE-2024-35908","published":"2024-05-19T08:35:01Z","modified":"2026-05-11T20:13:33Z","title":"tls: get psock ref after taking rxlock to avoid leak","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00211,"percentile":0.1161,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/30fabe50a7ace3e9d57cf7f9288f33ea408491c8","tags":[]},{"url":"https://git.kernel.org/stable/c/f1b7f14130d782433bc98c1e1e41ce6b4d4c3096","tags":[]},{"url":"https://git.kernel.org/stable/c/b565d294e3d5aa809566a4d819835da11997d8b3","tags":[]},{"url":"https://git.kernel.org/stable/c/417e91e856099e9b8a42a2520e2255e6afe024be","tags":[]}],"priority":{"score":2.3,"factors":[{"name":"EPSS percentile","points":2.32}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 4cbc325ed6b4dce4910be06d9d6940a8b919c59b, < 30fabe50a7ace3e9d57cf7f9288f33ea408491c8",">= 4cbc325ed6b4dce4910be06d9d6940a8b919c59b, < f1b7f14130d782433bc98c1e1e41ce6b4d4c3096",">= 4cbc325ed6b4dce4910be06d9d6940a8b919c59b, < b565d294e3d5aa809566a4d819835da11997d8b3",">= 4cbc325ed6b4dce4910be06d9d6940a8b919c59b, < 417e91e856099e9b8a42a2520e2255e6afe024be"]},{"vendor":"Linux","product":"Linux","versions":["6.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-06-17T17:38:39.241816Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-35626","exploited":false,"provenance":"source"}}