cbcvebase.
CVE-2024-36971
published 2024-06-10

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…

PriorityP279high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
KEVITW
CISA Known Exploited Vulnerabilitydue 2024-08-28
Exploited in the wild
EPSS
2.70%
84.1th percentile
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.

Affected

33 ranges· showing 25
VendorProductVersion rangeFixed in
debiandebian_linux
debianlinux< linux 6.1.94-1 (bookworm)linux 6.1.94-1 (bookworm)
googleandroid
googlechrome_chrome
linuxlinux
linuxlinux>= a87cb3e48ee86d29868d3f59cfb9ce1a8fa63314 < 051c0bde9f0450a2ec3d62a86d2a0d2fad117f13051c0bde9f0450a2ec3d62a86d2a0d2fad117f13
linuxlinux>= a87cb3e48ee86d29868d3f59cfb9ce1a8fa63314 < db0082825037794c5dba9959c9de13ca34cc5e72db0082825037794c5dba9959c9de13ca34cc5e72
linuxlinux>= a87cb3e48ee86d29868d3f59cfb9ce1a8fa63314 < 2295a7ef5c8c49241bff769e7826ef2582e532a62295a7ef5c8c49241bff769e7826ef2582e532a6
linuxlinux>= a87cb3e48ee86d29868d3f59cfb9ce1a8fa63314 < eacb8b195579c174a6d3e12a9690b206eb7f28cfeacb8b195579c174a6d3e12a9690b206eb7f28cf
linuxlinux>= a87cb3e48ee86d29868d3f59cfb9ce1a8fa63314 < 81dd3c82a456b0015461754be7cb2693991421b481dd3c82a456b0015461754be7cb2693991421b4
linuxlinux>= a87cb3e48ee86d29868d3f59cfb9ce1a8fa63314 < 5af198c387128a9d2ddd620b0f0803564a4d45085af198c387128a9d2ddd620b0f0803564a4d4508
linuxlinux>= a87cb3e48ee86d29868d3f59cfb9ce1a8fa63314 < b8af8e6118a6605f0e495a58d591ca94a85a50fcb8af8e6118a6605f0e495a58d591ca94a85a50fc
linuxlinux>= a87cb3e48ee86d29868d3f59cfb9ce1a8fa63314 < 92f1655aa2b2294d0b49925f3b875a634bd3b59e92f1655aa2b2294d0b49925f3b875a634bd3b59e
linuxlinux_kernel>= 0 < 5.10.221-15.10.221-1
linuxlinux_kernel>= 0 < 6.1.94-16.1.94-1
linuxlinux_kernel>= 0 < 6.9.7-16.9.7-1
linuxlinux_kernel>= 0 < 6.9.7-16.9.7-1
linuxlinux_kernel>= 0 < 5.4.0-192.2125.4.0-192.212
linuxlinux_kernel>= 0 < 5.15.0-121.1315.15.0-121.131
linuxlinux_kernel>= 0 < 6.8.0-44.446.8.0-44.44
linuxlinux_kernel>= 0 < 4.15.0-230.2424.15.0-230.242
linuxlinux_kernel>= 4.20 < 5.4.2785.4.278
linuxlinux_kernel>= 4.6 < 4.19.3164.19.316
linuxlinux_kernel>= 5.11 < 5.15.1615.15.161
linuxlinux_kernel>= 5.16 < 6.1.946.1.94

Detection & IOCsextracted from sources · hover to see the quote

  • The vulnerability is triggered via the __dst_negative_advice() race condition using UDP sockets; monitor for anomalous UDP socket activity combined with kernel-level memory corruption indicators
  • This old bug became visible using UDP sockets; prioritize monitoring of UDP socket-based network traffic on unpatched Linux kernel systems for signs of exploitation
  • Google TAG attributed discovery to Clément Lecigne, who frequently tracks zero-days used in state-sponsored surveillance software; treat exploitation as potentially linked to nation-state spyware targeting high-profile individuals
  • Android Security Bulletin reference A-343727534 can be used to cross-reference vendor patch status and identify unpatched devices in fleet management or MDM tooling
  • ·Not all Android devices may need the 2024-08-05 patch level fixes; device vendors may prioritize the 2024-08-01 patch level, which does not include kernel component patches — verify patch level carefully when assessing exposure
  • ·The vulnerability affects a common open-source component (Linux kernel) and may impact products beyond Android, including but not limited to other Linux distributions; check with specific vendors for patching status
  • ·Google Pixel devices receive patches immediately, but other Android manufacturers may delay rollout for compatibility testing — non-Pixel devices may remain exposed longer
  • ·Debian fixed versions are: bookworm (6.1.94-1), bullseye (5.10.221-1), forky/sid/trixie (6.9.7-1); systems running older kernel versions remain vulnerable

CVSS provenance

nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
osv7.8HIGH
vulncheck7.8HIGH
cisa7.8HIGH
vendor_debian7.8HIGH
vendor_msrc7.8HIGH
vendor_redhat7.8HIGH
vendor_ubuntu7.8HIGH
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.