net: fix __dst_negative_advice() race
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 38 fixed, 1 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-416 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Active
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 4.6 and later | 4.19.316, 5.4.278, 5.10.219, 5.15.161, 6.1.94, 6.6.34, 6.9.4, 6.10 | Patch available | CNA |
- Linux VendorLinux Affected 4.6 and later Fixed in 4.19.316, 5.4.278, 5.10.219, 5.15.161, 6.1.94, 6.6.34, 6.9.4, 6.10 Patch available CNA
CPE configurations NVD · 2
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* | 10.0 | Vulnerable | Debian |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 4.6 to before 4.19.316; 4.20 to before 5.4.278; 5.5 to before 5.10.219; 5.11 to before 5.15.161; 5.16 to before 6.1.94; 6.2 to before 6.6.34; 6.7 to before 6.9.4 | Vulnerable | Linux |
- cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* Versions 10.0 Vulnerable ·Debian
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 4.6 to before 4.19.316; 4.20 to before 5.4.278; 5.5 to before 5.10.219; 5.11 to before 5.15.161; 5.16 to before 6.1.94; 6.2 to before 6.6.34; 6.7 to before 6.9.4 Vulnerable ·Linux
Remediation
- Fix · CNA Linux (Linux) Fixed in 4.19.316, 5.4.278, 5.10.219, 5.15.161, 6.1.94, 6.6.34, 6.9.4, 6.10
Red Hat 26 advisories
- RHSA-2024:5858 Released 2024-08-26 · Red Hat rating Importantkpatch-patch-5_14_0-70_85_1 security update
- Red Hat Enterprise Linux BaseOS E4S (v.9.0) kpatch-patch-5_14_0-70_85_1-1-4.el9_0
- RHSA-2024:5444 Released 2024-08-22 · Red Hat rating ImportantOpenShift Container Platform 4.13.48 bug fix and security update
- Red Hat OpenShift Container Platform 4.13 openshift4/cloud-network-config-controller-rhel8, openshift4/egress-router-cni-rhel8, openshift4/kubevirt-csi-driver-rhel8 +47
- RHSA-2024:5439 Released 2024-08-22 · Red Hat rating ImportantOpenShift Container Platform 4.15.28 bug fix and security update
- Red Hat OpenShift Container Platform 4.15 openshift4/cloud-network-config-controller-rhel8, openshift4/driver-toolkit-rhel9, openshift4/egress-router-cni-rhel8 +47
Show 23 more Red Hat advisories
- RHSA-2024:5433 Released 2024-08-22 · Red Hat rating ImportantOpenShift Container Platform 4.14.35 security update
- Red Hat OpenShift Container Platform 4.14 openshift4/cloud-network-config-controller-rhel8, openshift4/driver-toolkit-rhel9, openshift4/egress-router-cni-rhel8 +47
- RHSA-2024:5422 Released 2024-08-20 · Red Hat rating ImportantOpenShift Container Platform 4.16.8 bug fix and security update
- Red Hat OpenShift Container Platform 4.16 openshift4/ose-cluster-kube-apiserver-rhel9-operator, rhcos
- RHSA-2024:5522 Released 2024-08-20 · Red Hat rating Importantkpatch-patch-4_18_0-553 security update
- Red Hat Enterprise Linux BaseOS (v. 8) kpatch-patch-4_18_0-553-1-1.el8_10
- RHSA-2024:5582 Released 2024-08-19 · Red Hat rating Importantkpatch-patch-4_18_0-372_87_1 and kpatch-patch-4_18_0-372_91_1 security update
- Red Hat Enterprise Linux BaseOS E4S (v.8.6) kpatch-patch-4_18_0-372_87_1-1-5.el8_6, kpatch-patch-4_18_0-372_91_1-1-4.el8_6
- RHSA-2024:5200 Released 2024-08-19 · Red Hat rating ImportantOpenShift Container Platform 4.12.63 bug fix and security update
- Red Hat OpenShift Container Platform 4.12 openshift4/ose-cloud-credential-operator, openshift4/ose-cluster-image-registry-operator, openshift4/ose-ibm-vpc-block-csi-driver-operator-rhel8 +4
- RHSA-2024:5523 Released 2024-08-19 · Red Hat rating Importantkpatch-patch-5_14_0-427_13_1 security update
- Red Hat Enterprise Linux BaseOS (v. 9) kpatch-patch-5_14_0-427_13_1-1-2.el9_4
- RHSA-2024:5521 Released 2024-08-19 · Red Hat rating Importantkpatch-patch-5_14_0-284_48_1 and kpatch-patch-5_14_0-284_52_1 security update
- Red Hat Enterprise Linux BaseOS EUS (v.9.2) kpatch-patch-5_14_0-284_48_1-1-5.el9_2, kpatch-patch-5_14_0-284_52_1-1-4.el9_2
- RHSA-2024:5520 Released 2024-08-19 · Red Hat rating Importantkpatch-patch-4_18_0-477_43_1 security update
- Red Hat Enterprise Linux BaseOS EUS (v.8.8) kpatch-patch-4_18_0-477_43_1-1-3.el8_8
- RHSA-2024:5519 Released 2024-08-19 · Red Hat rating Importantkpatch-patch-4_18_0-305_120_1 security update
- Red Hat Enterprise Linux BaseOS E4S (v.8.4) kpatch-patch-4_18_0-305_120_1-1-4.el8_4
- RHSA-2024:5363 Released 2024-08-15 · Red Hat rating Importantkernel security update
- Red Hat Enterprise Linux AppStream (v. 9) kernel-64k-debug-devel-5.14.0-427.31.1.el9_4, kernel-64k-debug-devel-matched-5.14.0-427.31.1.el9_4, kernel-64k-devel-5.14.0-427.31.1.el9_4 +11
- Red Hat Enterprise Linux BaseOS (v. 9) bpftool-7.3.0-427.31.1.el9_4, kernel-5.14.0-427.31.1.el9_4, kernel-64k-5.14.0-427.31.1.el9_4 +29
- Red Hat Enterprise Linux CRB (v. 9) kernel-tools-libs-devel-5.14.0-427.31.1.el9_4, libperf-5.14.0-427.31.1.el9_4
- Red Hat Enterprise Linux NFV (v. 9) kernel-rt-5.14.0-427.31.1.el9_4, kernel-rt-core-5.14.0-427.31.1.el9_4, kernel-rt-debug-5.14.0-427.31.1.el9_4 +11
- Red Hat Enterprise Linux RT (v. 9) kernel-rt-5.14.0-427.31.1.el9_4, kernel-rt-core-5.14.0-427.31.1.el9_4, kernel-rt-debug-5.14.0-427.31.1.el9_4 +9
- RHSA-2024:5388 Released 2024-08-14 · Red Hat rating Importantkernel security update
- Red Hat Enterprise Linux BaseOS AUS (v. 8.2) bpftool-4.18.0-193.138.1.el8_2, kernel-4.18.0-193.138.1.el8_2, kernel-abi-whitelists-4.18.0-193.138.1.el8_2 +14
- RHSA-2024:5364 Released 2024-08-14 · Red Hat rating Importantkernel security update
- Red Hat CodeReady Linux Builder EUS (v.9.2) kernel-tools-libs-devel-5.14.0-284.79.1.el9_2
- Red Hat Enterprise Linux AppStream EUS (v.9.2) kernel-64k-debug-devel-5.14.0-284.79.1.el9_2, kernel-64k-debug-devel-matched-5.14.0-284.79.1.el9_2, kernel-64k-devel-5.14.0-284.79.1.el9_2 +10
- Red Hat Enterprise Linux BaseOS EUS (v.9.2) bpftool-7.0.0-284.79.1.el9_2, kernel-5.14.0-284.79.1.el9_2, kernel-64k-5.14.0-284.79.1.el9_2 +29
- RHSA-2024:5365 Released 2024-08-14 · Red Hat rating Importantkernel-rt security update
- Red Hat Enterprise Linux Real Time EUS (v.9.2) kernel-rt-5.14.0-284.79.1.rt14.364.el9_2, kernel-rt-core-5.14.0-284.79.1.rt14.364.el9_2, kernel-rt-debug-5.14.0-284.79.1.rt14.364.el9_2 +9
- Red Hat Enterprise Linux Real Time for NFV EUS (v.9.2) kernel-rt-5.14.0-284.79.1.rt14.364.el9_2, kernel-rt-core-5.14.0-284.79.1.rt14.364.el9_2, kernel-rt-debug-5.14.0-284.79.1.rt14.364.el9_2 +11
- RHSA-2024:5281 Released 2024-08-13 · Red Hat rating Importantkernel security update
- Red Hat Enterprise Linux BaseOS AUS (v.8.6) bpftool-4.18.0-372.118.1.el8_6, kernel-4.18.0-372.118.1.el8_6, kernel-abi-stablelists-4.18.0-372.118.1.el8_6 +14
- Red Hat Enterprise Linux BaseOS E4S (v.8.6) bpftool-4.18.0-372.118.1.el8_6, kernel-4.18.0-372.118.1.el8_6, kernel-abi-stablelists-4.18.0-372.118.1.el8_6 +19
- Red Hat Enterprise Linux BaseOS TUS (v.8.6) bpftool-4.18.0-372.118.1.el8_6, kernel-4.18.0-372.118.1.el8_6, kernel-abi-stablelists-4.18.0-372.118.1.el8_6 +14
- RHSA-2024:5282 Released 2024-08-13 · Red Hat rating Importantkernel-rt security update
- Red Hat Enterprise Linux NFV TUS (v.8.4) kernel-rt-4.18.0-305.138.1.rt7.214.el8_4, kernel-rt-core-4.18.0-305.138.1.rt7.214.el8_4, kernel-rt-debug-4.18.0-305.138.1.rt7.214.el8_4 +9
- Red Hat Enterprise Linux RT TUS (v.8.4) kernel-rt-4.18.0-305.138.1.rt7.214.el8_4, kernel-rt-core-4.18.0-305.138.1.rt7.214.el8_4, kernel-rt-debug-4.18.0-305.138.1.rt7.214.el8_4 +7
- RHSA-2024:5259 Released 2024-08-13 · Red Hat rating Importantkernel security update
- Red Hat Enterprise Linux Server (v. 7 ELS) bpftool-3.10.0-1160.123.1.el7, kernel-3.10.0-1160.123.1.el7, kernel-abi-whitelists-3.10.0-1160.123.1.el7 +11
- Red Hat Enterprise Linux Server Optional (v. 7 ELS) kernel-debug-devel-3.10.0-1160.123.1.el7, kernel-tools-libs-devel-3.10.0-1160.123.1.el7
- RHSA-2024:5266 Released 2024-08-13 · Red Hat rating Importantkernel security update
- Red Hat Enterprise Linux BaseOS AUS (v.8.4) bpftool-4.18.0-305.138.1.el8_4, kernel-4.18.0-305.138.1.el8_4, kernel-abi-stablelists-4.18.0-305.138.1.el8_4 +14
- Red Hat Enterprise Linux BaseOS E4S (v.8.4) bpftool-4.18.0-305.138.1.el8_4, kernel-4.18.0-305.138.1.el8_4, kernel-abi-stablelists-4.18.0-305.138.1.el8_4 +14
- Red Hat Enterprise Linux BaseOS TUS (v.8.4) bpftool-4.18.0-305.138.1.el8_4, kernel-4.18.0-305.138.1.el8_4, kernel-abi-stablelists-4.18.0-305.138.1.el8_4 +14
- RHSA-2024:5261 Released 2024-08-13 · Red Hat rating Importantkernel security update
- Red Hat Enterprise Linux Server AUS (v. 7.7) bpftool-3.10.0-1062.90.1.el7, kernel-3.10.0-1062.90.1.el7, kernel-abi-whitelists-3.10.0-1062.90.1.el7 +8
- Red Hat Enterprise Linux Server Optional AUS (v. 7.7) kernel-tools-libs-devel-3.10.0-1062.90.1.el7
- RHSA-2024:5255 Released 2024-08-13 · Red Hat rating Importantkernel security update
- Red Hat CodeReady Linux Builder EUS (v.8.8) kernel-tools-libs-devel-4.18.0-477.67.1.el8_8
- Red Hat Enterprise Linux BaseOS EUS (v.8.8) bpftool-4.18.0-477.67.1.el8_8, kernel-4.18.0-477.67.1.el8_8, kernel-abi-stablelists-4.18.0-477.67.1.el8_8 +19
- RHSA-2024:5257 Released 2024-08-13 · Red Hat rating Importantkernel security update
- Red Hat Enterprise Linux AppStream E4S (v.9.0) kernel-debug-devel-5.14.0-70.112.1.el9_0, kernel-debug-devel-matched-5.14.0-70.112.1.el9_0, kernel-devel-5.14.0-70.112.1.el9_0 +5
- Red Hat Enterprise Linux BaseOS E4S (v.9.0) bpftool-5.14.0-70.112.1.el9_0, kernel-5.14.0-70.112.1.el9_0, kernel-abi-stablelists-5.14.0-70.112.1.el9_0 +14
- RHSA-2024:5256 Released 2024-08-13 · Red Hat rating Importantkernel-rt security update
- Red Hat Enterprise Linux NFV E4S (v.9.0) kernel-rt-5.14.0-70.112.1.rt21.184.el9_0, kernel-rt-core-5.14.0-70.112.1.rt21.184.el9_0, kernel-rt-debug-5.14.0-70.112.1.rt21.184.el9_0 +9
- Red Hat Enterprise Linux Real Time E4S (v.9.0) kernel-rt-5.14.0-70.112.1.rt21.184.el9_0, kernel-rt-core-5.14.0-70.112.1.rt21.184.el9_0, kernel-rt-debug-5.14.0-70.112.1.rt21.184.el9_0 +7
- RHSA-2024:5101 Released 2024-08-08 · Red Hat rating Importantkernel security update
- Red Hat Enterprise Linux BaseOS (v. 8) bpftool-4.18.0-553.16.1.el8_10, kernel-4.18.0-553.16.1.el8_10, kernel-abi-stablelists-4.18.0-553.16.1.el8_10 +19
- Red Hat Enterprise Linux CRB (v. 8) kernel-tools-libs-devel-4.18.0-553.16.1.el8_10
- RHSA-2024:5102 Released 2024-08-08 · Red Hat rating Importantkernel-rt security update
- Red Hat Enterprise Linux NFV (v. 8) kernel-rt-4.18.0-553.16.1.rt7.357.el8_10, kernel-rt-core-4.18.0-553.16.1.rt7.357.el8_10, kernel-rt-debug-4.18.0-553.16.1.rt7.357.el8_10 +9
- Red Hat Enterprise Linux RT (v. 8) kernel-rt-4.18.0-553.16.1.rt7.357.el8_10, kernel-rt-core-4.18.0-553.16.1.rt7.357.el8_10, kernel-rt-debug-4.18.0-553.16.1.rt7.357.el8_10 +7
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat CodeReady Linux Builder EUS (v.8.8) | Fixed | RHSA-2024:5255 |
| Red Hat CodeReady Linux Builder EUS (v.9.2) | Fixed | RHSA-2024:5364 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2024:5363 |
| Red Hat Enterprise Linux AppStream E4S (v.9.0) | Fixed | RHSA-2024:5257 |
| Red Hat Enterprise Linux AppStream EUS (v.9.2) | Fixed | RHSA-2024:5364 |
| Red Hat Enterprise Linux BaseOS (v. 8) | Fixed | RHSA-2024:5101, RHSA-2024:5522 |
| Red Hat Enterprise Linux BaseOS (v. 9) | Fixed | RHSA-2024:5363, RHSA-2024:5523 |
| Red Hat Enterprise Linux BaseOS AUS (v. 8.2) | Fixed | RHSA-2024:5388 |
| Red Hat Enterprise Linux BaseOS AUS (v.8.4) | Fixed | RHSA-2024:5266 |
| Red Hat Enterprise Linux BaseOS AUS (v.8.6) | Fixed | RHSA-2024:5281 |
| Red Hat Enterprise Linux BaseOS E4S (v.8.4) | Fixed | RHSA-2024:5266, RHSA-2024:5519 |
| Red Hat Enterprise Linux BaseOS E4S (v.8.6) | Fixed | RHSA-2024:5281, RHSA-2024:5582 |
| Red Hat Enterprise Linux BaseOS E4S (v.9.0) | Fixed | RHSA-2024:5257, RHSA-2024:5858 |
| Red Hat Enterprise Linux BaseOS EUS (v.8.8) | Fixed | RHSA-2024:5255, RHSA-2024:5520 |
| Red Hat Enterprise Linux BaseOS EUS (v.9.2) | Fixed | RHSA-2024:5364, RHSA-2024:5521 |
| Red Hat Enterprise Linux BaseOS TUS (v.8.4) | Fixed | RHSA-2024:5266 |
| Red Hat Enterprise Linux BaseOS TUS (v.8.6) | Fixed | RHSA-2024:5281 |
| Red Hat Enterprise Linux CRB (v. 8) | Fixed | RHSA-2024:5101 |
| Red Hat Enterprise Linux CRB (v. 9) | Fixed | RHSA-2024:5363 |
| Red Hat Enterprise Linux NFV (v. 8) | Fixed | RHSA-2024:5102 |
| Red Hat Enterprise Linux NFV (v. 9) | Fixed | RHSA-2024:5363 |
| Red Hat Enterprise Linux NFV E4S (v.9.0) | Fixed | RHSA-2024:5256 |
| Red Hat Enterprise Linux NFV TUS (v.8.4) | Fixed | RHSA-2024:5282 |
| Red Hat Enterprise Linux RT (v. 8) | Fixed | RHSA-2024:5102 |
| Red Hat Enterprise Linux RT (v. 9) | Fixed | RHSA-2024:5363 |
| Red Hat Enterprise Linux RT TUS (v.8.4) | Fixed | RHSA-2024:5282 |
| Red Hat Enterprise Linux Real Time E4S (v.9.0) | Fixed | RHSA-2024:5256 |
| Red Hat Enterprise Linux Real Time EUS (v.9.2) | Fixed | RHSA-2024:5365 |
| Red Hat Enterprise Linux Real Time for NFV EUS (v.9.2) | Fixed | RHSA-2024:5365 |
| Red Hat Enterprise Linux Server (v. 7 ELS) | Fixed | RHSA-2024:5259 |
| Red Hat Enterprise Linux Server AUS (v. 7.7) | Fixed | RHSA-2024:5261 |
| Red Hat Enterprise Linux Server Optional (v. 7 ELS) | Fixed | RHSA-2024:5259 |
| Red Hat Enterprise Linux Server Optional AUS (v. 7.7) | Fixed | RHSA-2024:5261 |
| Red Hat OpenShift Container Platform 4.12 | Fixed | RHSA-2024:5200 |
| Red Hat OpenShift Container Platform 4.13 | Fixed | RHSA-2024:5444 |
| Red Hat OpenShift Container Platform 4.14 | Fixed | RHSA-2024:5433 |
| Red Hat OpenShift Container Platform 4.15 | Fixed | RHSA-2024:5439 |
| Red Hat OpenShift Container Platform 4.16 | Fixed | RHSA-2024:5422 |
Not affected: 12 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux AppStream (v. 9)
- Red Hat Enterprise Linux BaseOS AUS (v.8.6)
- Red Hat Enterprise Linux BaseOS E4S (v.8.6)
- Red Hat Enterprise Linux BaseOS EUS (v.8.8)
- Red Hat Enterprise Linux BaseOS TUS (v.8.6)
- Red Hat Enterprise Linux CRB (v. 9)
- Red Hat OpenShift Container Platform 4.12
- Red Hat OpenShift Container Platform 4.13
- Red Hat OpenShift Container Platform 4.14
- Red Hat OpenShift Container Platform 4.15
- Red Hat OpenShift Container Platform 4.16
Timeline
- 2024-08-07 Added to CISA KEV
- 2026-10-02 Threatist record created from CVE-2024-36971
- 2026-10-03 Alias added: GHSA-3rf3-8wmx-cm8q
- 2026-10-09 Affected versions changed · Red Hat
References
Patch 8
- https://git.kernel.org/stable/c/051c0bde9f0450a2ec3d62a86d2a0d2fad117f13
- https://git.kernel.org/stable/c/db0082825037794c5dba9959c9de13ca34cc5e72
- https://git.kernel.org/stable/c/2295a7ef5c8c49241bff769e7826ef2582e532a6
- https://git.kernel.org/stable/c/eacb8b195579c174a6d3e12a9690b206eb7f28cf
- https://git.kernel.org/stable/c/81dd3c82a456b0015461754be7cb2693991421b4
- https://git.kernel.org/stable/c/5af198c387128a9d2ddd620b0f0803564a4d4508
- https://git.kernel.org/stable/c/b8af8e6118a6605f0e495a58d591ca94a85a50fc
- https://git.kernel.org/stable/c/92f1655aa2b2294d0b49925f3b875a634bd3b59e
More Linux Kernel vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
- TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
Sources
- CVE-2024-36971 · CVE Program
- CVE-2024-36971 · NVD
- CISA Known Exploited Vulnerabilities
- FIRST EPSS
- GHSA-3rf3-8wmx-cm8q · GitHub Advisory Database · CC BY 4.0
- CVE-2024-36971 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences