CVE-2024-27396

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

State
Published
Severity
7.8 High
Published
May 9, 2024
Updated
Oct 15, 2026
Reserved
Feb 25, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 043a283d24f40fea4c8a8d06b0e2694c8e372200 to before 07b20d0a3dc13fb1adff10b60021a4924498da58Affected
  • c185e1d6e2752a4b656c3ca878c525fa11f55757 to before 718df1bc226c383dd803397d7f5d95557eb81ac7Affected
  • 94dc550a5062030569d4aa76e10e50c8fc001930 to before 0caff3e6390f840666b8dc1ecebf985c2ef3f1ddAffected
  • 94dc550a5062030569d4aa76e10e50c8fc001930 to before 2e74b3fd6bf542349758f283676dff3660327c07Affected
  • 94dc550a5062030569d4aa76e10e50c8fc001930 to before 25a1c2d4b1fcf938356a9688a96a6456abd44b29Affected
  • 94dc550a5062030569d4aa76e10e50c8fc001930 to before 2aacd4de45477582993f8a8abb9505a06426bfb6Affected
  • 94dc550a5062030569d4aa76e10e50c8fc001930 to before cd957d1716ec979d8f5bf38fc659aeb9fdaa2474Affected
  • 94dc550a5062030569d4aa76e10e50c8fc001930 to before f2a904107ee2b647bb7794a1a82b67740d7c8a64Affected
  • a29c4303930bc0c25ae6a4f365dcdef71447b4eaAffected
  • 4.19.93 to before 4.19.313Affected
  • 5.4.8 to before 5.4.275Affected
  • 4.14.162 to before 4.15Affected
LinuxLinux
  • 5.5Affected
  • before 5.5Not affected
  • 4.19.313 through 4.19.*Not affected
  • 5.4.275 through 5.4.*Not affected
  • 5.10.216 through 5.10.*Not affected
  • 5.15.158 through 5.15.*Not affected
  • 6.1.90 through 6.1.*Not affected
  • 6.6.30 through 6.6.*Not affected
  • 6.8.9 through 6.8.*Not affected
  • 6.9 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.