CVE-2024-36971

HIGH KEV

Linux Kernel 4.6-6.9.3 Use-After-Free in __dst_negative_advice

Title source: llm
STIX 2.1

Exploitation Summary

CVE-2024-36971 is actively exploited and listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, added August 7, 2024. EIP tracks 2 public exploits from researchers including M4G1XX, Kronk-imp.

AI-analyzed exploit summary The repository contains a functional PoC for CVE-2024-36971, a Use-After-Free (UAF) vulnerability in the Android kernel network subsystem. The PoC demonstrates the vulnerability by sending a crafted UDP packet, which can lead to kernel memory corruption and instability.

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.

Exploits (2)

nomisec WORKING POC 1 stars
by M4G1XX · poc
https://github.com/M4G1XX/CVE-2024-36971

The repository contains a functional PoC for CVE-2024-36971, a Use-After-Free (UAF) vulnerability in the Android kernel network subsystem. The PoC demonstrates the vulnerability by sending a crafted UDP packet, which can lead to kernel memory corruption and instability.

Classification
Working Poc 90%
Attack Type
Dos
Complexity
Moderate
Reliability
Racy
Target: Android kernel network subsystem
No auth needed
Prerequisites: Network access to the target device · Target device running a vulnerable kernel version
devstral-2 · analyzed Jun 13, 2026 Full analysis →
nomisec WRITEUP
by Kronk-imp · poc
https://github.com/Kronk-imp/CVE-2024-36971

This repository provides a detailed technical analysis of CVE-2024-36971, a Use-After-Free (UAF) vulnerability in the Android kernel network subsystem, including a non-exploitable PoC and relevant kernel header snippets for defensive research purposes.

Classification
Writeup 95%
Attack Type
Other
Complexity
Complex
Reliability
Theoretical
Target: Android kernel network subsystem
No auth needed
Prerequisites: Isolated test environment · Dedicated test hardware · Android kernel source tree · Debugging tools (e.g., KASAN, ftrace)
devstral-2 · analyzed Feb 18, 2026 Full analysis →

Scores

CVSS v3 7.8
EPSS 0.0045
EPSS Percentile 64.1%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation active
Automatable no
Technical Impact total

Details

CISA KEV 2024-08-07
VulnCheck KEV 2024-08-05
InTheWild.io 2024-08-05
ENISA EUVD EUVD-2024-36321
CWE
CWE-416
Status published
Products (27)
debian/debian_linux 10.0
linux/Kernel 4.20.0 - 5.4.278linux
linux/Kernel 4.6.0 - 4.19.316linux
linux/Kernel 5.11.0 - 5.15.161linux
linux/Kernel 5.16.0 - 6.1.94linux
linux/Kernel 5.5.0 - 5.10.219linux
linux/Kernel 6.2.0 - 6.6.34linux
linux/Kernel 6.7.0 - 6.9.4linux
Linux/Linux < 4.6
Linux/Linux 4.19.316 - 4.19.*
... and 17 more
Published Jun 10, 2024
KEV Added Aug 07, 2024
Tracked Since Feb 18, 2026