Skip to content
Heist/ feed
Back to feed
HighFix available

rxrpc: Fix a race between socket set up and I/O thread creation

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: rxrpc: Fix a race between socket set up and I/O thread creation In rxrpc_open_socket(), it sets up the socket and then sets up the I/O thread that will handle it. This is a problem, however, as there's a gap between the two phases in which a packet may come into rxrpc_encap_rcv() from the UDP packet but we oops when trying to wake the not-yet created I/O thread. As a quick fix, just make rxrpc_encap_rcv() discard the packet if there's no I/O thread yet. A better, but more intrusive fix would perhaps be to rearrange things such that the socket creation is done by the I/O thread.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.10.14, 6.11.3, 6.6.55
CVEs
CVE-2024-49864
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 17:40 UTC · Revision 1

Source evidence

rxrpc: Fix a race between socket set up and I/O thread creation

core-osv · Original source

Published 21 Oct 2024, 18:01 UTC

In the Linux kernel, the following vulnerability has been resolved: rxrpc: Fix a race between socket set up and I/O thread creation In rxrpc_open_socket(), it sets up the socket and then sets up the I/O thread that will handle it. This is a problem, however, as there's a gap between the two phases in which a packet may come into rxrpc_encap_rcv() from the UDP packet but we oops when trying to wake the not-yet created I/O thread. As a quick fix, just make rxrpc_encap_rcv() discard the packet if there's no I/O thread yet. A better, but more intrusive fix would perhaps be to rearrange things such that the socket creation is done by the I/O thread.

osv:CVE-2024-49864

Kernel

Fixed versions: 6.6.55, 6.10.14, 6.11.3

Complete source record
{
  "id": "ac92d2997506ea527a7987fe6e5b41d352375f42b64538fa5efa2a3488b869c6",
  "url": "https://osv.dev/vulnerability/CVE-2024-49864",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "rxrpc: Fix a race between socket set up and I/O thread creation",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: rxrpc: Fix a race between socket set up and I/O thread creation In rxrpc_open_socket(), it sets up the socket and then sets up the I/O thread that will handle it. This is a problem, however, as there's a gap between the two phases in which a packet may come into rxrpc_encap_rcv() from the UDP packet but we oops when trying to wake the not-yet created I/O thread. As a quick fix, just make rxrpc_encap_rcv() discard the packet if there's no I/O thread yet. A better, but more intrusive fix would perhaps be to rearrange things such that the socket creation is done by the I/O thread.",
    "evidence": "osv:CVE-2024-49864",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.6.55",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.10.14",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.11.3",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-49864",
      "aliases": [
        "CVE-2024-49864"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "a275da62e8c111b897b9cb73eb91df2f4e475ca5"
                },
                {
                  "fixed": "cdf4bbbdb956d7426f687f38757ebca2a2759a0f"
                },
                {
                  "fixed": "56e415202b8a17de6496f4023e545fcb66f118ec"
                },
                {
                  "fixed": "c64f5fc95e9612fdf75587c8e21e494e614c18e2"
                },
                {
                  "fixed": "bc212465326e8587325f520a052346f0b57360e6"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-49864.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.55"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.10.14"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.11.0"
                },
                {
                  "fixed": "6.11.3"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-49864.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:30.858192901Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/56e415202b8a17de6496f4023e545fcb66f118ec",
        "https://git.kernel.org/stable/c/bc212465326e8587325f520a052346f0b57360e6",
        "https://git.kernel.org/stable/c/c64f5fc95e9612fdf75587c8e21e494e614c18e2",
        "https://git.kernel.org/stable/c/cdf4bbbdb956d7426f687f38757ebca2a2759a0f",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/49xxx/CVE-2024-49864.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-49864",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/49xxx/CVE-2024-49864.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-49864",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 497923,
  "published_at": "2024-10-21T18:01:07.874+00:00"
}