CVE-2024-27396

Source
https://cve.org/CVERecord?id=CVE-2024-27396
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-27396.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-27396
Downstream
Related
Published
2024-05-09T16:37:18.867Z
Modified
2026-03-14T12:27:46.458029Z
Summary
net: gtp: Fix Use-After-Free in gtp_dellink
Details

In the Linux kernel, the following vulnerability has been resolved:

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

Since callrcu, which is called in the hlistforeachentryrcu traversal of gtpdellink, 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 hlistforeachentrysafe.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/27xxx/CVE-2024-27396.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
043a283d24f40fea4c8a8d06b0e2694c8e372200
Fixed
07b20d0a3dc13fb1adff10b60021a4924498da58
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
c185e1d6e2752a4b656c3ca878c525fa11f55757
Fixed
718df1bc226c383dd803397d7f5d95557eb81ac7
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
94dc550a5062030569d4aa76e10e50c8fc001930
Fixed
0caff3e6390f840666b8dc1ecebf985c2ef3f1dd
Fixed
2e74b3fd6bf542349758f283676dff3660327c07
Fixed
25a1c2d4b1fcf938356a9688a96a6456abd44b29
Fixed
2aacd4de45477582993f8a8abb9505a06426bfb6
Fixed
cd957d1716ec979d8f5bf38fc659aeb9fdaa2474
Fixed
f2a904107ee2b647bb7794a1a82b67740d7c8a64
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
a29c4303930bc0c25ae6a4f365dcdef71447b4ea

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-27396.json"