Vulnerability Intelligence

Trusted Third Party Report Confirmed Confidence In CISA KEV CVSS 7.8 · High

CVE-2024-36971

net: fix __dst_negative_advice() race

Linux · 4.6

Exploitation
Trusted Third Party Report
Confidence
Confirmed
Attack Surface
Linux
Defender Action
Prioritize Remediation

Exploitation Evidence

Third-party attestation and first-party sensor observation are shown separately so teams can judge the evidence chain.

Review Evidence

Decision summary

What security teams need to know first

Direct answers before the deeper technical record.

What it is

CVE-2024-36971 is net: fix __dst_negative_advice() race affecting Linux.

Have exploitation attempts been observed?

Yes. Exploitation attempts have been reported for this vulnerability. Previdian lists it as a known exploited vulnerability. Listed in CISA KEV. Also reported by third-party sources. Confidence is confirmed.

Who is affected?

Linux, including 4.6, affected before 051c0bde9f04, and affected before db0082825037.

What should we do?

Prioritize remediation. Validate affected assets and apply vendor fixes on an accelerated timeline.

Overview

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.

linux Affected
linux_kernel
4.6 Before 051c0bde9f04 Before db0082825037 Before 2295a7ef5c8c Before eacb8b195579 Before 81dd3c82a456 Before 5af198c38712 Before b8af8e6118a6 Before 92f1655aa2b2
linux Unaffected
linux_kernel
Before 4.6 Before 4.20 Before 5.5 Before 5.11 Before 5.16 Before 6.2 Before 6.7 Before 6.10 Through *
Linux Affected
Linux
Before 051c0bde9f0450a2ec3d62a86d2a0d2fad117f13 Before db0082825037794c5dba9959c9de13ca34cc5e72 Before 2295a7ef5c8c49241bff769e7826ef2582e532a6 Before eacb8b195579c174a6d3e12a9690b206eb7f28cf Before 81dd3c82a456b0015461754be7cb2693991421b4 Before 5af198c387128a9d2ddd620b0f0803564a4d4508 Before b8af8e6118a6605f0e495a58d591ca94a85a50fc Before 92f1655aa2b2294d0b49925f3b875a634bd3b59e 4.6
Linux Unaffected
Linux
Before 4.6 Through 4.19.* Through 5.4.* Through 5.10.* Through 5.15.* Through 6.1.* Through 6.6.* Through 6.9.* Through *
Published
10 Jun 2024
Exploitation Attempts Reported
07 Aug 2024
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Severity
CVSS 7.8 · High
EPSS
2.7%
First Observed
—
Last Observed
—

CVE References