Lucene search

K
cveLinuxCVE-2024-27396
HistoryMay 14, 2024 - 3:12 p.m.

CVE-2024-27396

2024-05-1415:12:27
Linux
web.nvd.nist.gov
1565
linux
kernel
net
gtp
use-after-free
vulnerability

AI Score

6.5

Confidence

Low

EPSS

0

Percentile

13.0%

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 configurations

Vulners
Node
linuxlinux_kernelRange5.54.19.313
OR
linuxlinux_kernelRange4.20.05.4.275
OR
linuxlinux_kernelRange5.5.05.10.216
OR
linuxlinux_kernelRange5.11.05.15.158
OR
linuxlinux_kernelRange5.16.06.1.90
OR
linuxlinux_kernelRange6.2.06.6.30
OR
linuxlinux_kernelRange6.7.06.8.9
OR
linuxlinux_kernelRange6.9.0
VendorProductVersionCPE
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/net/gtp.c"
    ],
    "versions": [
      {
        "version": "043a283d24f4",
        "lessThan": "07b20d0a3dc1",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "c185e1d6e275",
        "lessThan": "718df1bc226c",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "94dc550a5062",
        "lessThan": "0caff3e6390f",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "94dc550a5062",
        "lessThan": "2e74b3fd6bf5",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "94dc550a5062",
        "lessThan": "25a1c2d4b1fc",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "94dc550a5062",
        "lessThan": "2aacd4de4547",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "94dc550a5062",
        "lessThan": "cd957d1716ec",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "94dc550a5062",
        "lessThan": "f2a904107ee2",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/net/gtp.c"
    ],
    "versions": [
      {
        "version": "5.5",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.5",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "4.19.313",
        "lessThanOrEqual": "4.19.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.4.275",
        "lessThanOrEqual": "5.4.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.216",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.158",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.90",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.30",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.8.9",
        "lessThanOrEqual": "6.8.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.9",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]