CVE-2024-36971 Details
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.
A use-after-free vulnerability has been identified in the Linux kernel's handling of socket destination caches. The issue arises in the '__dst_negative_advice()' function, which fails to follow proper Read-Copy-Update (RCU) rules when the socket's destination cache needs to be cleared. This mismanagement can lead to a use-after-free condition. The vulnerability is present in the Linux kernel stable tree and affects several versions within the 4.19 series. The problem was introduced by a commit that altered how route quality is reported for connected sockets, and it became apparent when using UDP sockets.
Users can upgrade to the patched version of the Linux kernel available in the Debian LTS repository. Instructions for applying this update can be found on the Debian LTS website.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Aug 8, 2024References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
This CVE is in CISA's Known Exploited Vulnerabilities Catalog
Reference CISA's BOD 22-01 and Known Exploited Vulnerabilities Catalog for further guidance and requirements.
| Vulnerability Name | Date Added | Due Date | Required Action |
|---|---|---|---|
| Android Kernel Remote Code Execution Vulnerability | Aug 7, 2024 | Aug 28, 2024 | Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable. |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-416 | Use After Free | [email protected] |
| CWE-416 | Use After Free | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| debian debian linux | 10.0 |
CPE
Remediation
| |
| linux linux kernel | >= 4.6, < 4.19.316 >= 4.20, < 5.4.278 >= 5.5, < 5.10.219 >= 5.11, < 5.15.161 >= 5.16, < 6.1.94 >= 6.2, < 6.6.34 >= 6.7, < 6.9.4 |
CPE
Remediation
| |
Change History
19 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 5, 2025 | Modified Analysis | [email protected] |
| Nov 4, 2025 | CVE Modified | CVE |
| Oct 24, 2025 | Modified Analysis | [email protected] |
| Oct 21, 2025 | CVE Modified | CISA-ADP |
| Oct 21, 2025 | CVE Modified | CISA-ADP |
| Oct 21, 2025 | CVE Modified | CISA-ADP |
| Jan 27, 2025 | Modified Analysis | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| Aug 8, 2024 | Modified Analysis | [email protected] |
| Aug 8, 2024 | CVE CISA KEV Update | Cybersecurity and Infrastructure Security Agency (CISA) U.S. Civilian Government |
| Aug 7, 2024 | CVE Modified | CISA-ADP |
| Jul 15, 2024 | CVE Modified | kernel.org |
| Jun 27, 2024 | CVE Modified | kernel.org |
| Jun 16, 2024 | CVE Modified | kernel.org |
| Jun 12, 2024 | Initial Analysis | [email protected] |
| Jun 12, 2024 | CVE Modified | kernel.org |
| Jun 10, 2024 | New CVE Received | kernel.org |