Lucene search

K
cvelistLinuxCVELIST:CVE-2024-26585
HistoryFeb 21, 2024 - 2:59 p.m.

CVE-2024-26585 tls: fix race between tx work scheduling and socket close

2024-02-2114:59:13
Linux
www.cve.org
1
linux kernel
tls vulnerability
race condition fix

6 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

5.1%

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

tls: fix race between tx work scheduling and socket close

Similarly to previous commit, the submitting thread (recvmsg/sendmsg)
may exit as soon as the async crypto handler calls complete().
Reorder scheduling the work before calling complete().
This seems more logical in the first place, as it’s
the inverse order of what the submitting thread will do.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "net/tls/tls_sw.c"
    ],
    "versions": [
      {
        "version": "a42055e8d2c3",
        "lessThan": "196f198ca6fc",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "a42055e8d2c3",
        "lessThan": "6db22d6c7a6d",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "a42055e8d2c3",
        "lessThan": "e327ed60bff4",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "a42055e8d2c3",
        "lessThan": "e01e3934a1b2",
        "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/tls/tls_sw.c"
    ],
    "versions": [
      {
        "version": "4.20",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "4.20",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.84",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.18",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.7.6",
        "lessThanOrEqual": "6.7.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.8",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

6 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

5.1%