{"cve_id":"CVE-2024-36971","published":"2024-06-10T09:15:09.127000+00:00","last_modified":"2026-06-17T07:37:30.630000+00:00","vuln_status":"Analyzed","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: fix __dst_negative_advice() race\n\n__dst_negative_advice() does not enforce proper RCU rules when\nsk->dst_cache must be cleared, leading to possible UAF.\n\nRCU rules are that we must first clear sk->sk_dst_cache,\nthen call dst_release(old_dst).\n\nNote that sk_dst_reset(sk) is implementing this protocol correctly,\nwhile __dst_negative_advice() uses the wrong order.\n\nGiven that ip6_negative_advice() has special logic\nagainst RTF_CACHE, this means each of the three ->negative_advice()\nexisting methods must perform the sk_dst_reset() themselves.\n\nNote the check against NULL dst is centralized in\n__dst_negative_advice(), there is no need to duplicate\nit in various callbacks.\n\nMany thanks to Clement Lecigne for tracking this issue.\n\nThis old bug became visible after the blamed commit, using UDP sockets.","cvss_version":"3.1","cvss_vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","base_score":7.8,"base_severity":"HIGH","attack_vector":"LOCAL","privileges_req":"LOW","user_interaction":"NONE","scope":"UNCHANGED","impact_c":"HIGH","impact_i":"HIGH","impact_a":"HIGH","cwe_ids":["CWE-416"],"in_kev":true,"kev_date_added":"2024-08-07","kev_ransomware":false,"epss_score":0.02701,"epss_percentile":0.85938,"cap_rule_version":"0.1.1","stage":"EXECUTION","req_access":"USER","req_vector":"LOCAL","req_user_interaction":false,"grant_access":"USER","caps":["CODE_EXEC"],"terminal":false,"cap_confidence":"high","ingested_at":"2026-09-18T11:04:40.455810+00:00","first_seen":"2024-06-10T09:15:09.127000+00:00","kev_first_seen":"2024-08-07T00:00:00+00:00","novelty_score":0.0,"novelty_reasons":[],"novelty_at":null,"vendors":["debian","linux"],"products":["debian_linux","linux_kernel"],"affected":[{"vendor":"debian","product":"debian_linux","ranges":["10.0"]},{"vendor":"linux","product":"linux_kernel","ranges":["≥ 4.6 and < 4.19.316","≥ 4.20 and < 5.4.278","≥ 5.5 and < 5.10.219","≥ 5.11 and < 5.15.161","≥ 5.16 and < 6.1.94","≥ 6.2 and < 6.6.34","≥ 6.7 and < 6.9.4"]}]}