PoC Monitor
← All CVEs
CVE-2024-36971published 10 Jun 2024 09:03 UTCData: JSON · API

Linux

net: fix __dst_negative_advice() race

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.8high · scored by CISA ADP · CWE-416
CISA KEV 7 Aug 202458 days after publication

Timeline

Days relative to CVE publication
t=0+7+14+21+28+35+42+49+56CVE published10 Jun 2024 · t = 0Added to CISA KEV7 Aug 2024 · t+58d

No public PoC found yet; added to CISA KEV 58 days after publication.

PoC repositories

Found on GitHub.

1 informational

Informational 1
RepositoryCreatedStarsAssessment
M4G1XX/CVE-2024-36971 14 Oct 2025 +1.3 y 2 Informational · write-up
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.