CVE-2024-58239 (GCVE-0-2024-58239)

Vulnerability from cvelistv5 – Published: 2025-08-22 13:01 – Updated: 2025-08-22 13:01
VLAI?
Title
tls: stop recv() if initial process_rx_list gave us non-DATA
Summary
In the Linux kernel, the following vulnerability has been resolved: tls: stop recv() if initial process_rx_list gave us non-DATA If we have a non-DATA record on the rx_list and another record of the same type still on the queue, we will end up merging them: - process_rx_list copies the non-DATA record - we start the loop and process the first available record since it's of the same type - we break out of the loop since the record was not DATA Just check the record type and jump to the end in case process_rx_list did some work.
Severity ?
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 692d7b5d1f9125a1cf0595e979e3b5fb7210547e , < f310143961e2d9a0479fca117ce869f8aaecc140 (git)
Affected: 692d7b5d1f9125a1cf0595e979e3b5fb7210547e , < 31e10d6cb0c9532ff070cf50da1657c3acee9276 (git)
Affected: 692d7b5d1f9125a1cf0595e979e3b5fb7210547e , < 4338032aa90bd1d5b33a4274e8fa8347cda5ee09 (git)
Affected: 692d7b5d1f9125a1cf0595e979e3b5fb7210547e , < 6756168add1c6c3ef1c32c335bb843a5d1f99a75 (git)
Affected: 692d7b5d1f9125a1cf0595e979e3b5fb7210547e , < 3b952d8fdfcf6fd8ea0b8954bc9277642cf0977f (git)
Affected: 692d7b5d1f9125a1cf0595e979e3b5fb7210547e , < a4ed943882a8fc057ea5a67643314245e048bbdd (git)
Affected: 692d7b5d1f9125a1cf0595e979e3b5fb7210547e , < fdfbaec5923d9359698cbb286bc0deadbb717504 (git)
Create a notification for this product.
    Linux Linux Affected: 5.1
Unaffected: 0 , < 5.1 (semver)
Unaffected: 5.4.270 , ≤ 5.4.* (semver)
Unaffected: 5.10.211 , ≤ 5.10.* (semver)
Unaffected: 5.15.150 , ≤ 5.15.* (semver)
Unaffected: 6.1.80 , ≤ 6.1.* (semver)
Unaffected: 6.6.19 , ≤ 6.6.* (semver)
Unaffected: 6.7.7 , ≤ 6.7.* (semver)
Unaffected: 6.8 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/tls/tls_sw.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "f310143961e2d9a0479fca117ce869f8aaecc140",
              "status": "affected",
              "version": "692d7b5d1f9125a1cf0595e979e3b5fb7210547e",
              "versionType": "git"
            },
            {
              "lessThan": "31e10d6cb0c9532ff070cf50da1657c3acee9276",
              "status": "affected",
              "version": "692d7b5d1f9125a1cf0595e979e3b5fb7210547e",
              "versionType": "git"
            },
            {
              "lessThan": "4338032aa90bd1d5b33a4274e8fa8347cda5ee09",
              "status": "affected",
              "version": "692d7b5d1f9125a1cf0595e979e3b5fb7210547e",
              "versionType": "git"
            },
            {
              "lessThan": "6756168add1c6c3ef1c32c335bb843a5d1f99a75",
              "status": "affected",
              "version": "692d7b5d1f9125a1cf0595e979e3b5fb7210547e",
              "versionType": "git"
            },
            {
              "lessThan": "3b952d8fdfcf6fd8ea0b8954bc9277642cf0977f",
              "status": "affected",
              "version": "692d7b5d1f9125a1cf0595e979e3b5fb7210547e",
              "versionType": "git"
            },
            {
              "lessThan": "a4ed943882a8fc057ea5a67643314245e048bbdd",
              "status": "affected",
              "version": "692d7b5d1f9125a1cf0595e979e3b5fb7210547e",
              "versionType": "git"
            },
            {
              "lessThan": "fdfbaec5923d9359698cbb286bc0deadbb717504",
              "status": "affected",
              "version": "692d7b5d1f9125a1cf0595e979e3b5fb7210547e",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/tls/tls_sw.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.1"
            },
            {
              "lessThan": "5.1",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.270",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.211",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.150",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.80",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.19",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.7.*",
              "status": "unaffected",
              "version": "6.7.7",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.8",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.270",
                  "versionStartIncluding": "5.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.211",
                  "versionStartIncluding": "5.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.150",
                  "versionStartIncluding": "5.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.80",
                  "versionStartIncluding": "5.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.19",
                  "versionStartIncluding": "5.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.7.7",
                  "versionStartIncluding": "5.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.8",
                  "versionStartIncluding": "5.1",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ntls: stop recv() if initial process_rx_list gave us non-DATA\n\nIf we have a non-DATA record on the rx_list and another record of the\nsame type still on the queue, we will end up merging them:\n - process_rx_list copies the non-DATA record\n - we start the loop and process the first available record since it\u0027s\n   of the same type\n - we break out of the loop since the record was not DATA\n\nJust check the record type and jump to the end in case process_rx_list\ndid some work."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-08-22T13:01:17.440Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/f310143961e2d9a0479fca117ce869f8aaecc140"
        },
        {
          "url": "https://git.kernel.org/stable/c/31e10d6cb0c9532ff070cf50da1657c3acee9276"
        },
        {
          "url": "https://git.kernel.org/stable/c/4338032aa90bd1d5b33a4274e8fa8347cda5ee09"
        },
        {
          "url": "https://git.kernel.org/stable/c/6756168add1c6c3ef1c32c335bb843a5d1f99a75"
        },
        {
          "url": "https://git.kernel.org/stable/c/3b952d8fdfcf6fd8ea0b8954bc9277642cf0977f"
        },
        {
          "url": "https://git.kernel.org/stable/c/a4ed943882a8fc057ea5a67643314245e048bbdd"
        },
        {
          "url": "https://git.kernel.org/stable/c/fdfbaec5923d9359698cbb286bc0deadbb717504"
        }
      ],
      "title": "tls: stop recv() if initial process_rx_list gave us non-DATA",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2024-58239",
    "datePublished": "2025-08-22T13:01:17.440Z",
    "dateReserved": "2025-04-16T07:19:43.804Z",
    "dateUpdated": "2025-08-22T13:01:17.440Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…