Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

DEBIAN-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...
Back to all
CVE

DEBIAN-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...

In the Linux kernel, the following vulnerability has been resolved:  net: fix dstnegativeadvice() race  dstnegativeadvice() does not enforce proper RCU rules when sk->dstcache must be cleared, leading to possible UAF.  RCU rules are that we must first clear sk->skdstcache, then call dstrelease(olddst).  Note that skdstreset(sk) is implementing this protocol correctly, while dstnegativeadvice() uses the wrong order.  Given that ip6negativeadvice() has special logic against RTFCACHE, this means each of the three ->negativeadvice() existing methods must perform the skdstreset() themselves.  Note the check against NULL dst is centralized in dstnegative_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.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
7.8
-
3.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
C
H
U
0
-
3.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
C
H
U
-

Related Resources

No items found.

References

https://security-tracker.debian.org/tracker/CVE-2024-36971

Severity

7.8

CVSS Score
0
10

Basic Information

Base CVSS
7.8
EPSS Probability
0.02701%
EPSS Percentile
0.86057%
Introduced Version
0
Fix Available
6.1.94-1,6.9.7-1

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading