CVE-2024-36971Android Kernel
Race condition in __dst_negative_advice() in Linux kernel
High 7.8 KEV
Follow: this CVE · Android · Android Kernel We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 7.8
- EPSS
- 0.9% probability of exploitation in 30 days · percentile 56
- Auth required
- Yes
- In KEV since
- Aug 7, 2024
- CISA deadline
- Aug 28, 2024
- Ransomware use
- Unknown
- Published
- Jun 10, 2024
- Updated
- Jun 17, 2026
- Category
- Operating system · Linux
- Weakness (CWE)
- CWE-416
- SSVC (CISA)
- Exploitation: active · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
A race condition in the __dst_negative_advice() function in the Linux kernel allows a local attacker with privileges to trigger a use-after-free (UAF) memory vulnerability. The vulnerability affects multiple kernel versions from 4.6 through 6.9. CISA confirmed this vulnerability is actively exploited.
Show the original NVD text
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.
Exploitation confirmed by CISA
Android contains an unspecified vulnerability in the kernel that allows for remote code execution. This vulnerability resides in Linux Kernel and could impact other products, including but not limited to Android OS.
Action required by CISA: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
What to do
Patch available · fixed versions: 4.19.316, 5.4.278, 5.10.219, 5.15.161, 6.1.94, 6.6.34, 6.9.4
Update the Linux kernel to a patched version: 4.19.316 or later, 5.4.278 or later, 5.10.219 or later, 5.15.161 or later, 6.1.94 or later, 6.6.34 or later, or 6.9.4 or later depending on your branch.
- Apply the vendor's security update for Kernel.
- CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was August 28, 2024.
- Check logs for signs of earlier exploitation.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| debian | debian_linux | 10.0 |
| linux | linux_kernel | ≥ 4.6 < 4.19.316 |
| linux | linux_kernel | ≥ 4.20 < 5.4.278 |
| linux | linux_kernel | ≥ 5.5 < 5.10.219 |
| linux | linux_kernel | ≥ 5.11 < 5.15.161 |
| linux | linux_kernel | ≥ 5.16 < 6.1.94 |
| linux | linux_kernel | ≥ 6.2 < 6.6.34 |
| linux | linux_kernel | ≥ 6.7 < 6.9.4 |
Official sources
References
Links published by the sources. Open them with care.
- git.kernel.org Patch
- git.kernel.org Patch
- git.kernel.org Patch
- git.kernel.org Patch
- git.kernel.org Patch
- git.kernel.org Patch
- git.kernel.org Patch
- git.kernel.org Patch
- lists.debian.org Mailing List
- www.cisa.gov US Government Resource