CVE-2024-36971

Description

In the Linux kernel, the following vulnerability has been resolved: net: fix __dst_negative_advice() race __dst_negative_advice() does not enforce proper RCU rules when sk->dst_cache must be cleared, leading to possible UAF. RCU rules are that we must first clear sk->sk_dst_cache, then call dst_release(old_dst). Note that sk_dst_reset(sk) is implementing this protocol correctly, while __dst_negative_advice() uses the wrong order. Given that ip6_negative_advice() has special logic against RTF_CACHE, this means each of the three ->negative_advice() existing methods must perform the sk_dst_reset() themselves. Note the check against NULL dst is centralized in __dst_negative_advice(), there is no need to duplicate it in various callbacks. Many thanks to Clement Lecigne for tracking this issue. This old bug became visible after the blamed commit, using UDP sockets.

Severity
HIGH
CVSS v3
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H · source cna
Exploit chance (EPSS)
2.701%
chance of exploitation in the next 30 days
higher than 86.2% of scored CVEs · 2026-11-17
CISA KEV
Listed
added 2024-08-07
Public exploit code
None public
Attackers are using this, but no public exploit code was found in these sources.
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0

Weakness

CISA Known Exploited Vulnerabilities entry

Vulnerability nameAndroid Kernel Remote Code Execution Vulnerability
Vendor / productAndroid / Kernel
Date added2024-08-07
Federal remediation due date2024-08-28
Required actionApply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
Known ransomware campaign useUnknown

CISA SSVC decision points

Exploitationactive
Automatableno
Technical impacttotal
Scored2024-08-08

Timeline

  1. 2024-06-10Published by the CNA09:03 UTC
  2. 2024-08-07Added to the CISA KEV catalog58 days after publication
  3. 2024-08-08CISA SSVC decision recorded59 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Affected products

VendorProduct
debiandebian_linux
linuxlinux_kernel

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources