Lucene search

K
cvelistLinuxCVELIST:CVE-2024-27394
HistoryMay 09, 2024 - 4:37 p.m.

CVE-2024-27394 tcp: Fix Use-After-Free in tcp_ao_connect_init

2024-05-0916:37:11
Linux
www.cve.org
8
linux kernel
vulnerability
resolved
tcp
use-after-free

AI Score

6.6

Confidence

Low

EPSS

0

Percentile

9.0%

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

tcp: Fix Use-After-Free in tcp_ao_connect_init

Since call_rcu, which is called in the hlist_for_each_entry_rcu traversal
of tcp_ao_connect_init, 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.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "net/ipv4/tcp_ao.c"
    ],
    "versions": [
      {
        "version": "7c2ffaf21bd6",
        "lessThan": "ca4fb6c6764b",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "7c2ffaf21bd6",
        "lessThan": "80e679b352c3",
        "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/ipv4/tcp_ao.c"
    ],
    "versions": [
      {
        "version": "6.7",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "6.7",
        "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"
      }
    ]
  }
]

AI Score

6.6

Confidence

Low

EPSS

0

Percentile

9.0%