CVE-2024-27396: net: gtp: Fix Use-After-Free in gtp_dellink
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.
Security readout for executives and security teams
Plain-English summary
A flaw in Linux's GTP network-device removal code can access memory after it has been freed. Its CVSS score is 7.8 because a local, low-privileged attacker may cause serious confidentiality, integrity, and availability impact. It is not described as remotely exploitable, and the supplied sources provide no evidence of active attacks.
Executive priority
Patch promptly through the normal high-severity kernel process. Accelerate systems using GTP networking or permitting untrusted local users. This is not supported as an emergency internet-wide remote threat, but successful exploitation is scored for high impact across confidentiality, integrity, and availability.
Technical view
gtp_dellink traverses an RCU hlist while call_rcu occurs outside an RCU read-side critical section. A grace period may complete during traversal, freeing the current key and causing a use-after-free. The correction replaces hlist_for_each_entry_rcu with hlist_for_each_entry_safe. The vector is AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
Likely exposure
Exposure concerns Linux systems with a vulnerable kernel that can execute the GTP link-deletion path. Risk is narrower than a general internet-facing flaw because the attack vector is local. The supplied version data mixes releases and commit identifiers, so confirm exposure using distribution package status and backport information.
Exploitation context
The supplied record marks KEV false, and no cited source reports active exploitation. CVSS indicates local access, low privileges, low complexity, and no user interaction. The sources do not establish a remote attack path, public exploit availability, or observed attacks.
Researcher notes
The core race and source-level correction are clearly documented. Exposure precision is weaker: the supplied version section contains commit hashes, duplicated entries, and an anomalous “0” value. Treat distribution advisories and patched package builds as authoritative rather than relying only on upstream version comparisons. No exploitability details beyond CVSS are established.
Mitigation direction
Install a vendor-supported kernel containing the published stable correction.
Use distribution advisories or package changelogs to confirm the fix is backported.
Ensure the updated kernel is running after installation.
Consult the Linux distribution or appliance vendor when package status is unclear.
Validation and detection
Inventory running kernel releases and package builds across Linux systems.
Confirm vendor package status specifically references CVE-2024-27396 or the stable correction.
Identify systems that use Linux GTP networking and prioritize them.
Verify remediated systems are running the updated kernel.
Review kernel logs for GTP-related memory faults or crashes.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2024-27396 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.