CVE-2024-27396

net: gtp: Fix Use-After-Free in gtp_dellink

HIGH
7.8
CVSS Score
Published: May 9, 2024 at 04:37 PM UTC
Updated: October 15, 2026 at 01:17 AM UTC
8 products affected across 3 vendorsLinux KernelDebian LinuxSIMATIC S7-1500 TM MFP

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: net: gtp: Fix Use-After-Free in gtp_dellink Since call_rcu, which is called in the hlist_for_each_entry_rcu traversal of gtp_dellink, is not part of the RCU read critical section, it is possible that the RCU grace period will pass during the traversal and the key will be free. To prevent this, it should be changed to hlist_for_each_entry_safe.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.14.162 ≤ v < 4.154.19.93 ≤ v < 4.19.3135.11 ≤ v < 5.15.1585.16 ≤ v < 6.1.905.4.8 ≤ v < 5.4.2755.5 ≤ v < 5.10.2166.2 ≤ v < 6.6.306.7 ≤ v < 6.8.94.14.1624.19.9343a283d24f40fea4c8a8d6b0e2694c8e3722005.4.86.96.9 rc16.9 rc26.9 rc36.9 rc46.9 rc594dc550a5062030569d4aa76e10e50c8fc001930a29c4303930bc0c25ae6a4f365dcdef71447b4eac185e1d6e2752a4b656c3ca878c525fa11f55757
Vendor states this is fixed in 07b20d0a3dc13fb1adff10b60021a4924498da58 (fixed)
Vendor states this is fixed in 0caff3e6390f840666b8dc1ecebf985c2ef3f1dd (fixed)
Vendor states this is fixed in 25a1c2d4b1fcf938356a9688a96a6456abd44b29 (fixed)
Vendor states this is fixed in 2aacd4de45477582993f8a8abb9505a06426bfb6 (fixed)
Vendor states this is fixed in 2e74b3fd6bf542349758f283676dff3660327c07 (fixed)
Vendor states this is fixed in 718df1bc226c383dd803397d7f5d95557eb81ac7 (fixed)
Vendor states this is fixed in cd957d1716ec979d8f5bf38fc659aeb9fdaa2474 (fixed)
Vendor states this is fixed in f2a904107ee2b647bb7794a1a82b67740d7c8a64 (fixed)
Affected range stops below 4.15, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 4.19.313 (unaffected)
Vendor states this is fixed in 5.10.216 (unaffected)
Vendor states this is fixed in 5.15.158 (unaffected)
Vendor states this is fixed in 5.4.275 (unaffected)
Vendor states this is fixed in 5.5 (unaffected)
Vendor states this is fixed in 6.1.90 (unaffected)
Vendor states this is fixed in 6.6.30 (unaffected)
Vendor states this is fixed in 6.8.9 (unaffected)
Vendor states this is fixed in 6.9 (unaffected)
v < V3.1
Affected range stops below V3.1, so it looks safe — our inference, not a vendor statement
v < V3.1
Affected range stops below V3.1, so it looks safe — our inference, not a vendor statement
v < V3.1
Affected range stops below V3.1, so it looks safe — our inference, not a vendor statement
v < V3.1
Affected range stops below V3.1, so it looks safe — our inference, not a vendor statement
v < V3.1
Affected range stops below V3.1, so it looks safe — our inference, not a vendor statement

References (12)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/07b20d0a3dc13fb1adff10b60021a4924498da58
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0caff3e6390f840666b8dc1ecebf985c2ef3f1dd
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/25a1c2d4b1fcf938356a9688a96a6456abd44b29
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2aacd4de45477582993f8a8abb9505a06426bfb6
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2e74b3fd6bf542349758f283676dff3660327c07
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/718df1bc226c383dd803397d7f5d95557eb81ac7
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/cd957d1716ec979d8f5bf38fc659aeb9fdaa2474
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f2a904107ee2b647bb7794a1a82b67740d7c8a64

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card