Linux Kernel up to 6.10-rc1 __dst_negative_advice use after free

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.4$0-$5k0.12

Summaryinfo

A vulnerability labeled as critical has been found in Linux Kernel up to 6.10-rc1. The impacted element is the function __dst_negative_advice. The manipulation results in use after free. This vulnerability was named CVE-2024-36971. The attack needs to be approached locally. In addition, an exploit is available. The affected component should be upgraded.

Detailsinfo

A vulnerability was found in Linux Kernel up to 6.10-rc1. It has been classified as critical. Affected is the function __dst_negative_advice. The manipulation with an unknown input leads to a use after free vulnerability. CWE is classifying the issue as CWE-416. Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:

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.

The weakness was presented by Clement Lecigne. The advisory is shared for download at git.kernel.org. This vulnerability is traded as CVE-2024-36971 since 05/30/2024. The exploitability is told to be difficult. The attack needs to be approached locally. Technical details and a exploit are known. The current price for an exploit might be approx. USD $0-$5k (estimation calculated on 12/04/2025).

It is declared as attacked. The vulnerability scanner Nessus provides a plugin with the ID 207738 (Ubuntu 20.04 LTS : Linux kernel vulnerabilities (USN-7009-2)), which helps to determine the existence of the flaw in a target environment. This issue was added on 08/07/2024 to the CISA Known Exploited Vulnerabilities Catalog with a due date of 08/28/2024:

Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

Upgrading to version 6.10-rc2 eliminates this vulnerability. Applying the patch 92f1655aa2b2 is able to eliminate this problem. The bugfix is ready for download at git.kernel.org. The best possible mitigation is suggested to be upgrading to the latest version.

The vulnerability is also documented in the databases at Zero-Day.cz (897), Tenable (207738) and CERT Bund (WID-SEC-2025-1293). VulDB is the best source for vulnerability data and more expert information about this specific topic.

Affected

  • Ubuntu Linux
  • IBM DataPower Gateway

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.5
VulDB Meta Temp Score: 7.4

VulDB Base Score: 7.0
VulDB Temp Score: 6.7
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 7.8
NVD Vector: 🔍

CNA Base Score: 7.8
CNA Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Exploitinginfo

Class: Use after free
CWE: CWE-416 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: No

Availability: 🔍
Status: Attacked

EPSS Score: 🔍
EPSS Percentile: 🔍

KEV Added: 🔍
KEV Due: 🔍
KEV Remediation: 🔍
KEV Ransomware: 🔍
KEV Notice: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 207738
Nessus Name: Ubuntu 20.04 LTS : Linux kernel vulnerabilities (USN-7009-2)

Zero-Day.cz: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: Kernel 6.10-rc2
Patch: 92f1655aa2b2

Timelineinfo

05/30/2024 🔍
06/10/2024 +11 days 🔍
06/10/2024 +0 days 🔍
12/04/2025 +542 days 🔍

Sourcesinfo

Vendor: kernel.org

Advisory: git.kernel.org
Researcher: Clement Lecigne
Status: Confirmed

CVE: CVE-2024-36971 (🔍)
GCVE (CVE): GCVE-0-2024-36971
GCVE (VulDB): GCVE-100-267648
CERT Bund: WID-SEC-2025-1293 - IBM DataPower Gateway: Mehrere Schwachstellen

scip Labs: https://www.scip.ch/en/?labs.20161013

Entryinfo

Created: 06/10/2024 11:39
Updated: 12/04/2025 23:14
Changes: 06/10/2024 11:39 (58), 06/13/2024 11:11 (12), 08/07/2024 19:46 (15), 08/07/2024 20:42 (2), 08/07/2024 23:28 (9), 08/09/2024 02:44 (11), 09/09/2024 22:30 (2), 09/30/2024 04:23 (2), 12/04/2025 23:14 (7)
Complete: 🔍
Cache ID: 216:41E:103

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Might our Artificial Intelligence support you?

Check our Alexa App!