Skip to main content
Network Thinking Solutions Logo

CVE-2024-36971

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.

All CVEs
CVE-2024-36971
Known exploited · CISA KEV
Published 6/10/2024

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.

Vendor advisory
CVSS7.8High

Overview

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.

Published
6/10/2024
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

Known exploited · CISA KEV

The source record flags evidence of exploitation in the wild. Whether a specific system is affected depends on the product, version, and advisory conditions.

Added to KEV: Not available

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
debian linux
debian
10.0

Verify advisory

Source
linux kernel
linux
≥ 4.6, < 4.19.316

Verify advisory

Source
linux kernel
linux
≥ 4.20, < 5.4.278

Verify advisory

Source
linux kernel
linux
≥ 5.5, < 5.10.219

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.161

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 6.1.94

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.6.34

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.9.4

Verify advisory

Source
Linux
Linux
≥ a87cb3e48ee86d29868d3f59cfb9ce1a8fa63314, < 051c0bde9f0450a2ec3d62a86d2a0d2fad117f13

Verify advisory

Source
Linux
Linux
≥ a87cb3e48ee86d29868d3f59cfb9ce1a8fa63314, < db0082825037794c5dba9959c9de13ca34cc5e72

Verify advisory

Source
Linux
Linux
≥ a87cb3e48ee86d29868d3f59cfb9ce1a8fa63314, < 2295a7ef5c8c49241bff769e7826ef2582e532a6

Verify advisory

Source
Linux
Linux
≥ a87cb3e48ee86d29868d3f59cfb9ce1a8fa63314, < eacb8b195579c174a6d3e12a9690b206eb7f28cf

Verify advisory

Source
Linux
Linux
≥ a87cb3e48ee86d29868d3f59cfb9ce1a8fa63314, < 81dd3c82a456b0015461754be7cb2693991421b4

Verify advisory

Source
Linux
Linux
≥ a87cb3e48ee86d29868d3f59cfb9ce1a8fa63314, < 5af198c387128a9d2ddd620b0f0803564a4d4508

Verify advisory

Source
Linux
Linux
≥ a87cb3e48ee86d29868d3f59cfb9ce1a8fa63314, < b8af8e6118a6605f0e495a58d591ca94a85a50fc

Verify advisory

Source
Linux
Linux
≥ a87cb3e48ee86d29868d3f59cfb9ce1a8fa63314, < 92f1655aa2b2294d0b49925f3b875a634bd3b59e

Verify advisory

Source
Linux
Linux
4.6

Verify advisory

Source
linux_kernel
linux
4.6

Verify advisory

Source
linux_kernel
linux
≥ a87cb3e48ee8, < 051c0bde9f04

Verify advisory

Source
linux_kernel
linux
≥ a87cb3e48ee8, < db0082825037

Verify advisory

Source
linux_kernel
linux
≥ a87cb3e48ee8, < 2295a7ef5c8c

Verify advisory

Source
linux_kernel
linux
≥ a87cb3e48ee8, < eacb8b195579

Verify advisory

Source
linux_kernel
linux
≥ a87cb3e48ee8, < 81dd3c82a456

Verify advisory

Source
linux_kernel
linux
≥ a87cb3e48ee8, < 5af198c38712

Verify advisory

Source
linux_kernel
linux
≥ a87cb3e48ee8, < b8af8e6118a6

Verify advisory

Source
linux_kernel
linux
≥ a87cb3e48ee8, < 92f1655aa2b2

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.