CVE-2024-27396

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

7.8 high EPSS 0.24%

Published 9 May 2024 Updated 15 Oct 2026 CNA: Linux

Check your servers for CVE-2024-27396

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-27396 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Severity (CVSS)

7.8 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.24%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 16.6% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 28 May 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 043a283d24f40fea4c8a8d06b0e2694c8e372200, before 07b20d0a3dc13fb1adff10b60021a4924498da58
affected from c185e1d6e2752a4b656c3ca878c525fa11f55757, before 718df1bc226c383dd803397d7f5d95557eb81ac7
affected from 94dc550a5062030569d4aa76e10e50c8fc001930, before 0caff3e6390f840666b8dc1ecebf985c2ef3f1dd
affected from 94dc550a5062030569d4aa76e10e50c8fc001930, before 2e74b3fd6bf542349758f283676dff3660327c07
affected from 94dc550a5062030569d4aa76e10e50c8fc001930, before 25a1c2d4b1fcf938356a9688a96a6456abd44b29
affected from 94dc550a5062030569d4aa76e10e50c8fc001930, before 2aacd4de45477582993f8a8abb9505a06426bfb6
affected from 94dc550a5062030569d4aa76e10e50c8fc001930, before cd957d1716ec979d8f5bf38fc659aeb9fdaa2474
affected from 94dc550a5062030569d4aa76e10e50c8fc001930, before f2a904107ee2b647bb7794a1a82b67740d7c8a64
affected a29c4303930bc0c25ae6a4f365dcdef71447b4ea
affected from 4.19.93, before 4.19.313
affected from 5.4.8, before 5.4.275
affected from 4.14.162, before 4.15
Other versions: unaffected
Linux
affected 5.5
unaffected before 5.5
unaffected from 4.19.313 up to and including 4.19.*
unaffected from 5.4.275 up to and including 5.4.*
unaffected from 5.10.216 up to and including 5.10.*
unaffected from 5.15.158 up to and including 5.15.*
unaffected from 6.1.90 up to and including 6.1.*
unaffected from 6.6.30 up to and including 6.6.*
unaffected from 6.8.9 up to and including 6.8.*
unaffected 6.9 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-27396 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-27396

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2024-27396
trivy image --scanners vuln IMAGE | grep CVE-2024-27396

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2024-27396 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.