Lucene search

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

CVE-2024-27395

2024-05-1415:12:27
Linux
web.nvd.nist.gov
1582
linux kernel
cve-2024-27395
net
openvswitch
fix use-after-free
ovs_ct_exit
hlist_for_each_entry_safe
vulnerability
nvd

AI Score

6.5

Confidence

Low

EPSS

0

Percentile

13.0%

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

net: openvswitch: Fix Use-After-Free in ovs_ct_exit

Since kfree_rcu, which is called in the hlist_for_each_entry_rcu traversal
of ovs_ct_limit_exit, 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_kernelRange4.184.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": [
      "net/openvswitch/conntrack.c"
    ],
    "versions": [
      {
        "version": "11efd5cb04a1",
        "lessThan": "2db9a8c0a01f",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "11efd5cb04a1",
        "lessThan": "589523cf0b38",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "11efd5cb04a1",
        "lessThan": "35880c3fa6f8",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "11efd5cb04a1",
        "lessThan": "9048616553c6",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "11efd5cb04a1",
        "lessThan": "bca6fa2d9a9f",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "11efd5cb04a1",
        "lessThan": "eaa5e164a211",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "11efd5cb04a1",
        "lessThan": "edee0758747d",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "11efd5cb04a1",
        "lessThan": "5ea7b72d4fac",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "net/openvswitch/conntrack.c"
    ],
    "versions": [
      {
        "version": "4.18",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "4.18",
        "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"
      }
    ]
  }
]