cve-2024-49864
Vulnerability from cvelistv5
Published
2024-10-21 18:01
Modified
2024-12-19 09:27
Severity ?
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.
Impacted products
Vendor Product Version
Linux Linux Version: a275da62e8c111b897b9cb73eb91df2f4e475ca5
Version: a275da62e8c111b897b9cb73eb91df2f4e475ca5
Version: a275da62e8c111b897b9cb73eb91df2f4e475ca5
Version: a275da62e8c111b897b9cb73eb91df2f4e475ca5
Create a notification for this product.
   Linux Linux Version: 6.2
Create a notification for this product.
Show details on NVD website


{
   containers: {
      adp: [
         {
            metrics: [
               {
                  other: {
                     content: {
                        id: "CVE-2024-49864",
                        options: [
                           {
                              Exploitation: "none",
                           },
                           {
                              Automatable: "no",
                           },
                           {
                              "Technical Impact": "partial",
                           },
                        ],
                        role: "CISA Coordinator",
                        timestamp: "2024-10-22T13:47:53.708864Z",
                        version: "2.0.3",
                     },
                     type: "ssvc",
                  },
               },
            ],
            providerMetadata: {
               dateUpdated: "2024-10-22T13:48:52.920Z",
               orgId: "134c704f-9b21-4f2e-91b3-4a467353bcc0",
               shortName: "CISA-ADP",
            },
            title: "CISA ADP Vulnrichment",
         },
      ],
      cna: {
         affected: [
            {
               defaultStatus: "unaffected",
               product: "Linux",
               programFiles: [
                  "net/rxrpc/ar-internal.h",
                  "net/rxrpc/io_thread.c",
                  "net/rxrpc/local_object.c",
               ],
               repo: "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               vendor: "Linux",
               versions: [
                  {
                     lessThan: "cdf4bbbdb956d7426f687f38757ebca2a2759a0f",
                     status: "affected",
                     version: "a275da62e8c111b897b9cb73eb91df2f4e475ca5",
                     versionType: "git",
                  },
                  {
                     lessThan: "56e415202b8a17de6496f4023e545fcb66f118ec",
                     status: "affected",
                     version: "a275da62e8c111b897b9cb73eb91df2f4e475ca5",
                     versionType: "git",
                  },
                  {
                     lessThan: "c64f5fc95e9612fdf75587c8e21e494e614c18e2",
                     status: "affected",
                     version: "a275da62e8c111b897b9cb73eb91df2f4e475ca5",
                     versionType: "git",
                  },
                  {
                     lessThan: "bc212465326e8587325f520a052346f0b57360e6",
                     status: "affected",
                     version: "a275da62e8c111b897b9cb73eb91df2f4e475ca5",
                     versionType: "git",
                  },
               ],
            },
            {
               defaultStatus: "affected",
               product: "Linux",
               programFiles: [
                  "net/rxrpc/ar-internal.h",
                  "net/rxrpc/io_thread.c",
                  "net/rxrpc/local_object.c",
               ],
               repo: "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               vendor: "Linux",
               versions: [
                  {
                     status: "affected",
                     version: "6.2",
                  },
                  {
                     lessThan: "6.2",
                     status: "unaffected",
                     version: "0",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "6.6.*",
                     status: "unaffected",
                     version: "6.6.55",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "6.10.*",
                     status: "unaffected",
                     version: "6.10.14",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "6.11.*",
                     status: "unaffected",
                     version: "6.11.3",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "*",
                     status: "unaffected",
                     version: "6.12",
                     versionType: "original_commit_for_fix",
                  },
               ],
            },
         ],
         descriptions: [
            {
               lang: "en",
               value: "In the Linux kernel, the following vulnerability has been resolved:\n\nrxrpc: Fix a race between socket set up and I/O thread creation\n\nIn rxrpc_open_socket(), it sets up the socket and then sets up the I/O\nthread that will handle it.  This is a problem, however, as there's a gap\nbetween the two phases in which a packet may come into rxrpc_encap_rcv()\nfrom the UDP packet but we oops when trying to wake the not-yet created I/O\nthread.\n\nAs a quick fix, just make rxrpc_encap_rcv() discard the packet if there's\nno I/O thread yet.\n\nA better, but more intrusive fix would perhaps be to rearrange things such\nthat the socket creation is done by the I/O thread.",
            },
         ],
         providerMetadata: {
            dateUpdated: "2024-12-19T09:27:49.620Z",
            orgId: "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            shortName: "Linux",
         },
         references: [
            {
               url: "https://git.kernel.org/stable/c/cdf4bbbdb956d7426f687f38757ebca2a2759a0f",
            },
            {
               url: "https://git.kernel.org/stable/c/56e415202b8a17de6496f4023e545fcb66f118ec",
            },
            {
               url: "https://git.kernel.org/stable/c/c64f5fc95e9612fdf75587c8e21e494e614c18e2",
            },
            {
               url: "https://git.kernel.org/stable/c/bc212465326e8587325f520a052346f0b57360e6",
            },
         ],
         title: "rxrpc: Fix a race between socket set up and I/O thread creation",
         x_generator: {
            engine: "bippy-5f407fcff5a0",
         },
      },
   },
   cveMetadata: {
      assignerOrgId: "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      assignerShortName: "Linux",
      cveId: "CVE-2024-49864",
      datePublished: "2024-10-21T18:01:07.874Z",
      dateReserved: "2024-10-21T12:17:06.017Z",
      dateUpdated: "2024-12-19T09:27:49.620Z",
      state: "PUBLISHED",
   },
   dataType: "CVE_RECORD",
   dataVersion: "5.1",
   "vulnerability-lookup:meta": {
      nvd: "{\"cve\":{\"id\":\"CVE-2024-49864\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-10-21T18:15:06.203\",\"lastModified\":\"2024-11-13T14:23:48.437\",\"vulnStatus\":\"Analyzed\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nrxrpc: Fix a race between socket set up and I/O thread creation\\n\\nIn rxrpc_open_socket(), it sets up the socket and then sets up the I/O\\nthread that will handle it.  This is a problem, however, as there's a gap\\nbetween the two phases in which a packet may come into rxrpc_encap_rcv()\\nfrom the UDP packet but we oops when trying to wake the not-yet created I/O\\nthread.\\n\\nAs a quick fix, just make rxrpc_encap_rcv() discard the packet if there's\\nno I/O thread yet.\\n\\nA better, but more intrusive fix would perhaps be to rearrange things such\\nthat the socket creation is done by the I/O thread.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: rxrpc: Corrige una ejecución entre la configuración del socket y la creación del hilo de E/S En rxrpc_open_socket(), configura el socket y luego configura el hilo de E/S que lo manejará. Sin embargo, esto es un problema, ya que hay una brecha entre las dos fases en las que un paquete puede llegar a rxrpc_encap_rcv() desde el paquete UDP, pero fallo al intentar despertar el hilo de E/S aún no creado. Como solución rápida, simplemente haga que rxrpc_encap_rcv() descarte el paquete si aún no hay un hilo de E/S. Una solución mejor, pero más intrusiva, tal vez sería reorganizar las cosas de modo que la creación del socket la realice el hilo de E/S.\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H\",\"baseScore\":4.7,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"HIGH\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.0,\"impactScore\":3.6}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-362\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.2\",\"versionEndIncluding\":\"6.6.55\",\"matchCriteriaId\":\"B1BFA43F-F661-44FE-AC13-3AAA4257DF12\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.10\",\"versionEndExcluding\":\"6.10.14\",\"matchCriteriaId\":\"20A9A1A8-B921-4FB1-BC2B-00E240DE3643\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.11\",\"versionEndExcluding\":\"6.11.3\",\"matchCriteriaId\":\"54D9C704-D679-41A7-9C40-10A6B1E7FFE9\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:6.12:rc1:*:*:*:*:*:*\",\"matchCriteriaId\":\"7F361E1D-580F-4A2D-A509-7615F73167A1\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:6.12:rc2:*:*:*:*:*:*\",\"matchCriteriaId\":\"925478D0-3E3D-4E6F-ACD5-09F28D5DF82C\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/56e415202b8a17de6496f4023e545fcb66f118ec\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/bc212465326e8587325f520a052346f0b57360e6\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/c64f5fc95e9612fdf75587c8e21e494e614c18e2\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/cdf4bbbdb956d7426f687f38757ebca2a2759a0f\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]}]}}",
      vulnrichment: {
         containers: "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2024-49864\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-10-22T13:47:53.708864Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-10-22T13:47:56.974Z\"}}], \"cna\": {\"title\": \"rxrpc: Fix a race between socket set up and I/O thread creation\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"a275da62e8c111b897b9cb73eb91df2f4e475ca5\", \"lessThan\": \"cdf4bbbdb956d7426f687f38757ebca2a2759a0f\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"a275da62e8c111b897b9cb73eb91df2f4e475ca5\", \"lessThan\": \"56e415202b8a17de6496f4023e545fcb66f118ec\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"a275da62e8c111b897b9cb73eb91df2f4e475ca5\", \"lessThan\": \"c64f5fc95e9612fdf75587c8e21e494e614c18e2\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"a275da62e8c111b897b9cb73eb91df2f4e475ca5\", \"lessThan\": \"bc212465326e8587325f520a052346f0b57360e6\", \"versionType\": \"git\"}], \"programFiles\": [\"net/rxrpc/ar-internal.h\", \"net/rxrpc/io_thread.c\", \"net/rxrpc/local_object.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"6.2\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"6.2\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"6.6.55\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.6.*\"}, {\"status\": \"unaffected\", \"version\": \"6.10.14\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.10.*\"}, {\"status\": \"unaffected\", \"version\": \"6.11.3\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.11.*\"}, {\"status\": \"unaffected\", \"version\": \"6.12\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"net/rxrpc/ar-internal.h\", \"net/rxrpc/io_thread.c\", \"net/rxrpc/local_object.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/cdf4bbbdb956d7426f687f38757ebca2a2759a0f\"}, {\"url\": \"https://git.kernel.org/stable/c/56e415202b8a17de6496f4023e545fcb66f118ec\"}, {\"url\": \"https://git.kernel.org/stable/c/c64f5fc95e9612fdf75587c8e21e494e614c18e2\"}, {\"url\": \"https://git.kernel.org/stable/c/bc212465326e8587325f520a052346f0b57360e6\"}], \"x_generator\": {\"engine\": \"bippy-5f407fcff5a0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nrxrpc: Fix a race between socket set up and I/O thread creation\\n\\nIn rxrpc_open_socket(), it sets up the socket and then sets up the I/O\\nthread that will handle it.  This is a problem, however, as there's a gap\\nbetween the two phases in which a packet may come into rxrpc_encap_rcv()\\nfrom the UDP packet but we oops when trying to wake the not-yet created I/O\\nthread.\\n\\nAs a quick fix, just make rxrpc_encap_rcv() discard the packet if there's\\nno I/O thread yet.\\n\\nA better, but more intrusive fix would perhaps be to rearrange things such\\nthat the socket creation is done by the I/O thread.\"}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2024-12-19T09:27:49.620Z\"}}}",
         cveMetadata: "{\"cveId\": \"CVE-2024-49864\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2024-12-19T09:27:49.620Z\", \"dateReserved\": \"2024-10-21T12:17:06.017Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-10-21T18:01:07.874Z\", \"assignerShortName\": \"Linux\"}",
         dataType: "CVE_RECORD",
         dataVersion: "5.1",
      },
   },
}


Log in or create an account to share your comment.

Security Advisory comment format.

This schema specifies the format of a comment related to a security advisory.

UUIDv4 of the comment
UUIDv4 of the Vulnerability-Lookup instance
When the comment was created originally
When the comment was last updated
Title of the comment
Description of the comment
The identifier of the vulnerability (CVE ID, GHSA-ID, PYSEC ID, etc.).



Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.