CVE-2024-35880 (GCVE-0-2024-35880)

Vulnerability from cvelistv5 – Published: 2024-05-19 08:34 – Updated: 2026-08-05 11:30
VLAI
Title
io_uring/kbuf: hold io_buffer_list reference over mmap
Summary
In the Linux kernel, the following vulnerability has been resolved: io_uring/kbuf: hold io_buffer_list reference over mmap If we look up the kbuf, ensure that it doesn't get unregistered until after we're done with it. Since we're inside mmap, we cannot safely use the io_uring lock. Rely on the fact that we can lookup the buffer list under RCU now and grab a reference to it, preventing it from being unregistered until we're done with it. The lookup returns the io_buffer_list directly with it referenced.
SSVC
Exploitation: none Automatable: no Technical Impact: total
CISA Coordinator (v2.0.3)
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 09f7520048eaaee9709091cd2787966f807da7c5 , < 65938e81df2197203bda4b9a0c477e7987218d66 (git)
Affected: 5cf4f52e6d8aa2d3b7728f568abbf9d42a3af252 , < 5fd8e2359498043e0b5329a05f02d10a9eb91eb9 (git)
Affected: 5cf4f52e6d8aa2d3b7728f568abbf9d42a3af252 , < 561e4f9451d65fc2f7eef564e0064373e3019793 (git)
Affected: 6.6.5 , < 6.6.26 (semver)
Create a notification for this product.
Linux Linux Affected: 6.7
Unaffected: 0 , < 6.7 (semver)
Unaffected: 6.6.26 , ≤ 6.6.* (semver)
Unaffected: 6.8.5 , ≤ 6.8.* (semver)
Unaffected: 6.9 , ≤ * (original_commit_for_fix)
Create a notification for this product.
linux linux_kernel Affected: 6.7
    cpe:2.3:o:linux:linux_kernel:6.7:-:*:*:*:*:*:*
Create a notification for this product.
linux linux_kernel Affected: 09f7520048ea , < 65938e81df21 (git)
Affected: 5cf4f52e6d8a , < 5fd8e2359498 (git)
Affected: 5cf4f52e6d8a , < 561e4f9451d6 (git)
    cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "affected": [
          {
            "cpes": [
              "cpe:2.3:o:linux:linux_kernel:6.7:-:*:*:*:*:*:*"
            ],
            "defaultStatus": "affected",
            "product": "linux_kernel",
            "vendor": "linux",
            "versions": [
              {
                "status": "affected",
                "version": "6.7"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*"
            ],
            "defaultStatus": "affected",
            "product": "linux_kernel",
            "vendor": "linux",
            "versions": [
              {
                "lessThan": "65938e81df21",
                "status": "affected",
                "version": "09f7520048ea",
                "versionType": "git"
              },
              {
                "lessThan": "5fd8e2359498",
                "status": "affected",
                "version": "5cf4f52e6d8a",
                "versionType": "git"
              },
              {
                "lessThan": "561e4f9451d6",
                "status": "affected",
                "version": "5cf4f52e6d8a",
                "versionType": "git"
              }
            ]
          }
        ],
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2024-35880",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-08-01T03:55:54.843818Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-08-01T13:23:38.879Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      },
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-02T03:21:48.591Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/65938e81df2197203bda4b9a0c477e7987218d66"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/5fd8e2359498043e0b5329a05f02d10a9eb91eb9"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/561e4f9451d65fc2f7eef564e0064373e3019793"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "io_uring/io_uring.c",
            "io_uring/kbuf.c",
            "io_uring/kbuf.h"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "65938e81df2197203bda4b9a0c477e7987218d66",
              "status": "affected",
              "version": "09f7520048eaaee9709091cd2787966f807da7c5",
              "versionType": "git"
            },
            {
              "lessThan": "5fd8e2359498043e0b5329a05f02d10a9eb91eb9",
              "status": "affected",
              "version": "5cf4f52e6d8aa2d3b7728f568abbf9d42a3af252",
              "versionType": "git"
            },
            {
              "lessThan": "561e4f9451d65fc2f7eef564e0064373e3019793",
              "status": "affected",
              "version": "5cf4f52e6d8aa2d3b7728f568abbf9d42a3af252",
              "versionType": "git"
            },
            {
              "lessThan": "6.6.26",
              "status": "affected",
              "version": "6.6.5",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "io_uring/io_uring.c",
            "io_uring/kbuf.c",
            "io_uring/kbuf.h"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.7"
            },
            {
              "lessThan": "6.7",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.26",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.8.*",
              "status": "unaffected",
              "version": "6.8.5",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.9",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.26",
                  "versionStartIncluding": "6.6.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.8.5",
                  "versionStartIncluding": "6.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.9",
                  "versionStartIncluding": "6.7",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nio_uring/kbuf: hold io_buffer_list reference over mmap\n\nIf we look up the kbuf, ensure that it doesn\u0027t get unregistered until\nafter we\u0027re done with it. Since we\u0027re inside mmap, we cannot safely use\nthe io_uring lock. Rely on the fact that we can lookup the buffer list\nunder RCU now and grab a reference to it, preventing it from being\nunregistered until we\u0027re done with it. The lookup returns the\nio_buffer_list directly with it referenced."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The vulnerable path is entered only through local syscalls on an io_uring file descriptor \u2014 `mmap()` with `IORING_OFF_PBUF_RING` racing `io_uring_register(IORING_UNREGISTER_PBUF_RING)`. There is no network, adjacent, or remote-peer path into `io_uring_validate_mmap_request()`.\nAC:L - The attacker owns both sides of the race: one thread loops `mmap()` on the provided-buffer-ring offset while a second thread loops register/unregister of the same bgid on the same fd, with unlimited retries and no dependence on any condition outside the attacker\u0027s control.\nPR:L - Only an unprivileged local account is required \u2014 `io_uring_allowed()` permits any user when `sysctl_io_uring_disabled` is 0, which is the kernel default, and `IORING_REGISTER_PBUF_RING` with `IOU_PBUF_RING_MMAP` carries no capability check. This is reachable from inside containers and sandboxes as well.\nUI:N - The attacker performs every step itself \u2014 creating the ring, registering the buffer ring, and driving both racing threads. No victim action or interaction with any other user is needed.\nS:U - The defect and its consequences are confined to kernel memory within the same security authority; no VM, IOMMU, or sandbox boundary is crossed.\nC:H - Without the reference, mmap consumes a `bl-\u003ebuf_ring` address belonging to a buffer list being concurrently destroyed, and `remap_pfn_range()` installs a persistent `VM_PFNMAP` window onto kernel-allocated ring memory that has already been released back to the context\u0027s reusable region pool and can be re-handed to a different buffer group \u2014 an uncontrolled read of kernel memory, and per use-after-free scoring this is High.\nI:H - The resulting mapping is a writable `MAP_SHARED` view of that stale kernel region, so the attacker can write into memory the kernel no longer treats as belonging to the mapping\u0027s owner; use-after-free of a refcounted object also enables heap grooming toward a controlled-write primitive.\nA:H - Racing the teardown lets mmap operate on a `buf_ring` pointer being NULLed and on an `io_buffer_list` on its way to `kfree_rcu()`, producing oops/kernel panic; the race is repeatable at will by any local user, so availability loss is complete."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T11:30:38.073Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/65938e81df2197203bda4b9a0c477e7987218d66"
        },
        {
          "url": "https://git.kernel.org/stable/c/5fd8e2359498043e0b5329a05f02d10a9eb91eb9"
        },
        {
          "url": "https://git.kernel.org/stable/c/561e4f9451d65fc2f7eef564e0064373e3019793"
        }
      ],
      "title": "io_uring/kbuf: hold io_buffer_list reference over mmap",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2024-35880",
    "datePublished": "2024-05-19T08:34:37.262Z",
    "dateReserved": "2024-05-17T13:50:33.111Z",
    "dateUpdated": "2026-08-05T11:30:38.073Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2024-35880",
      "date": "2026-08-05",
      "epss": "0.00681",
      "percentile": "0.48916"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2024-35880\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-05-19T09:15:09.283\",\"lastModified\":\"2026-06-17T07:35:37.450\",\"vulnStatus\":\"Analyzed\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nio_uring/kbuf: hold io_buffer_list reference over mmap\\n\\nIf we look up the kbuf, ensure that it doesn\u0027t get unregistered until\\nafter we\u0027re done with it. Since we\u0027re inside mmap, we cannot safely use\\nthe io_uring lock. Rely on the fact that we can lookup the buffer list\\nunder RCU now and grab a reference to it, preventing it from being\\nunregistered until we\u0027re done with it. The lookup returns the\\nio_buffer_list directly with it referenced.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: io_uring/kbuf: mantiene la referencia io_buffer_list sobre mmap. Si buscamos el kbuf, nos aseguramos de que no se cancele el registro hasta que hayamos terminado con \u00e9l. Como estamos dentro de mmap, no podemos usar de forma segura el bloqueo io_uring. Conf\u00ede en el hecho de que ahora podemos buscar la lista de b\u00fafer en RCU y obtener una referencia a ella, evitando que se cancele el registro hasta que hayamos terminado. La b\u00fasqueda devuelve io_buffer_list directamente con su referencia.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"io_uring/io_uring.c\",\"io_uring/kbuf.c\",\"io_uring/kbuf.h\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"09f7520048eaaee9709091cd2787966f807da7c5\",\"lessThan\":\"65938e81df2197203bda4b9a0c477e7987218d66\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"5cf4f52e6d8aa2d3b7728f568abbf9d42a3af252\",\"lessThan\":\"5fd8e2359498043e0b5329a05f02d10a9eb91eb9\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"5cf4f52e6d8aa2d3b7728f568abbf9d42a3af252\",\"lessThan\":\"561e4f9451d65fc2f7eef564e0064373e3019793\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"6.6.5\",\"lessThan\":\"6.6.26\",\"versionType\":\"semver\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"io_uring/io_uring.c\",\"io_uring/kbuf.c\",\"io_uring/kbuf.h\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"6.7\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"6.7\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6.26\",\"lessThanOrEqual\":\"6.6.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.8.5\",\"lessThanOrEqual\":\"6.8.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.9\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]},{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"affectedData\":[{\"vendor\":\"linux\",\"product\":\"linux_kernel\",\"defaultStatus\":\"affected\",\"cpes\":[\"cpe:2.3:o:linux:linux_kernel:6.7:-:*:*:*:*:*:*\"],\"versions\":[{\"version\":\"6.7\",\"status\":\"affected\"}]},{\"vendor\":\"linux\",\"product\":\"linux_kernel\",\"defaultStatus\":\"affected\",\"cpes\":[\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\"],\"versions\":[{\"version\":\"09f7520048ea\",\"lessThan\":\"65938e81df21\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"5cf4f52e6d8a\",\"lessThan\":\"5fd8e2359498\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"5cf4f52e6d8a\",\"lessThan\":\"561e4f9451d6\",\"versionType\":\"git\",\"status\":\"affected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H\",\"baseScore\":5.5,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":3.6}],\"ssvcV203\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"ssvcData\":{\"timestamp\":\"2024-08-01T03:55:54.843818Z\",\"id\":\"CVE-2024-35880\",\"options\":[{\"exploitation\":\"none\"},{\"automatable\":\"no\"},{\"technicalImpact\":\"total\"}],\"role\":\"CISA Coordinator\",\"version\":\"2.0.3\"}}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"NVD-CWE-noinfo\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.6.5\",\"versionEndExcluding\":\"6.6.26\",\"matchCriteriaId\":\"152E67EF-8276-425A-9471-01B629FE53D9\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.7.1\",\"versionEndExcluding\":\"6.8.5\",\"matchCriteriaId\":\"31AC4E5F-8C8A-40D7-8F7E-0FA90F38377E\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:6.7:-:*:*:*:*:*:*\",\"matchCriteriaId\":\"62B55B1B-7D3E-499B-9C42-E9F1EF05A54A\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:6.7:rc4:*:*:*:*:*:*\",\"matchCriteriaId\":\"5C78EDA4-8BE6-42FC-9512-49032D525A55\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:6.7:rc5:*:*:*:*:*:*\",\"matchCriteriaId\":\"32F2E5CA-13C6-4601-B530-D465CBF73D1C\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:6.7:rc6:*:*:*:*:*:*\",\"matchCriteriaId\":\"5ED5AF93-F831-48BC-9545-CCB344E814FC\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:6.7:rc7:*:*:*:*:*:*\",\"matchCriteriaId\":\"81A7ABCB-0807-4AA2-8F4E-75E38D2E3FD4\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:6.7:rc8:*:*:*:*:*:*\",\"matchCriteriaId\":\"B01471D6-2DB4-4AF2-8BE0-B5082B4B9253\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:6.9:rc1:*:*:*:*:*:*\",\"matchCriteriaId\":\"22BEDD49-2C6D-402D-9DBF-6646F6ECD10B\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:6.9:rc2:*:*:*:*:*:*\",\"matchCriteriaId\":\"DF73CB2A-DFFD-46FB-9BFE-AA394F27EA37\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/561e4f9451d65fc2f7eef564e0064373e3019793\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/5fd8e2359498043e0b5329a05f02d10a9eb91eb9\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/65938e81df2197203bda4b9a0c477e7987218d66\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/561e4f9451d65fc2f7eef564e0064373e3019793\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/5fd8e2359498043e0b5329a05f02d10a9eb91eb9\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/65938e81df2197203bda4b9a0c477e7987218d66\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]}]}}",
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-08-04T19:02:41+00:00",
      "cve": "CVE-2024-35880",
      "id": "CVE-2024-35880",
      "initial_release_date": "2024-05-19T00:00:00+00:00",
      "product_status:fixed": "280",
      "product_status:known_affected": "22",
      "product_status:known_not_affected": "98",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: io_uring/kbuf: hold io_buffer_list reference over mmap",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-35880.json",
      "version": "3"
    },
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://git.kernel.org/stable/c/65938e81df2197203bda4b9a0c477e7987218d66\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/5fd8e2359498043e0b5329a05f02d10a9eb91eb9\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/561e4f9451d65fc2f7eef564e0064373e3019793\", \"tags\": [\"x_transferred\"]}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-02T03:21:48.591Z\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2024-35880\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-08-01T03:55:54.843818Z\"}}}], \"affected\": [{\"cpes\": [\"cpe:2.3:o:linux:linux_kernel:6.7:-:*:*:*:*:*:*\"], \"vendor\": \"linux\", \"product\": \"linux_kernel\", \"versions\": [{\"status\": \"affected\", \"version\": \"6.7\"}], \"defaultStatus\": \"affected\"}, {\"cpes\": [\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\"], \"vendor\": \"linux\", \"product\": \"linux_kernel\", \"versions\": [{\"status\": \"affected\", \"version\": \"09f7520048ea\", \"lessThan\": \"65938e81df21\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"5cf4f52e6d8a\", \"lessThan\": \"5fd8e2359498\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"5cf4f52e6d8a\", \"lessThan\": \"561e4f9451d6\", \"versionType\": \"git\"}], \"defaultStatus\": \"affected\"}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-05-23T19:01:24.769Z\"}}], \"cna\": {\"title\": \"io_uring/kbuf: hold io_buffer_list reference over mmap\", \"metrics\": [{\"cvssV3_1\": {\"version\": \"3.1\", \"baseScore\": 7.8, \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"AV:L - The vulnerable path is entered only through local syscalls on an io_uring file descriptor \\u2014 `mmap()` with `IORING_OFF_PBUF_RING` racing `io_uring_register(IORING_UNREGISTER_PBUF_RING)`. There is no network, adjacent, or remote-peer path into `io_uring_validate_mmap_request()`.\\nAC:L - The attacker owns both sides of the race: one thread loops `mmap()` on the provided-buffer-ring offset while a second thread loops register/unregister of the same bgid on the same fd, with unlimited retries and no dependence on any condition outside the attacker\u0027s control.\\nPR:L - Only an unprivileged local account is required \\u2014 `io_uring_allowed()` permits any user when `sysctl_io_uring_disabled` is 0, which is the kernel default, and `IORING_REGISTER_PBUF_RING` with `IOU_PBUF_RING_MMAP` carries no capability check. This is reachable from inside containers and sandboxes as well.\\nUI:N - The attacker performs every step itself \\u2014 creating the ring, registering the buffer ring, and driving both racing threads. No victim action or interaction with any other user is needed.\\nS:U - The defect and its consequences are confined to kernel memory within the same security authority; no VM, IOMMU, or sandbox boundary is crossed.\\nC:H - Without the reference, mmap consumes a `bl-\u003ebuf_ring` address belonging to a buffer list being concurrently destroyed, and `remap_pfn_range()` installs a persistent `VM_PFNMAP` window onto kernel-allocated ring memory that has already been released back to the context\u0027s reusable region pool and can be re-handed to a different buffer group \\u2014 an uncontrolled read of kernel memory, and per use-after-free scoring this is High.\\nI:H - The resulting mapping is a writable `MAP_SHARED` view of that stale kernel region, so the attacker can write into memory the kernel no longer treats as belonging to the mapping\u0027s owner; use-after-free of a refcounted object also enables heap grooming toward a controlled-write primitive.\\nA:H - Racing the teardown lets mmap operate on a `buf_ring` pointer being NULLed and on an `io_buffer_list` on its way to `kfree_rcu()`, producing oops/kernel panic; the race is repeatable at will by any local user, so availability loss is complete.\"}]}], \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"09f7520048eaaee9709091cd2787966f807da7c5\", \"lessThan\": \"65938e81df2197203bda4b9a0c477e7987218d66\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"5cf4f52e6d8aa2d3b7728f568abbf9d42a3af252\", \"lessThan\": \"5fd8e2359498043e0b5329a05f02d10a9eb91eb9\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"5cf4f52e6d8aa2d3b7728f568abbf9d42a3af252\", \"lessThan\": \"561e4f9451d65fc2f7eef564e0064373e3019793\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"6.6.5\", \"lessThan\": \"6.6.26\", \"versionType\": \"semver\"}], \"programFiles\": [\"io_uring/io_uring.c\", \"io_uring/kbuf.c\", \"io_uring/kbuf.h\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"6.7\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"6.7\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"6.6.26\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.6.*\"}, {\"status\": \"unaffected\", \"version\": \"6.8.5\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.8.*\"}, {\"status\": \"unaffected\", \"version\": \"6.9\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"io_uring/io_uring.c\", \"io_uring/kbuf.c\", \"io_uring/kbuf.h\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/65938e81df2197203bda4b9a0c477e7987218d66\"}, {\"url\": \"https://git.kernel.org/stable/c/5fd8e2359498043e0b5329a05f02d10a9eb91eb9\"}, {\"url\": \"https://git.kernel.org/stable/c/561e4f9451d65fc2f7eef564e0064373e3019793\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nio_uring/kbuf: hold io_buffer_list reference over mmap\\n\\nIf we look up the kbuf, ensure that it doesn\u0027t get unregistered until\\nafter we\u0027re done with it. Since we\u0027re inside mmap, we cannot safely use\\nthe io_uring lock. Rely on the fact that we can lookup the buffer list\\nunder RCU now and grab a reference to it, preventing it from being\\nunregistered until we\u0027re done with it. The lookup returns the\\nio_buffer_list directly with it referenced.\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.6.26\", \"versionStartIncluding\": \"6.6.5\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.8.5\", \"versionStartIncluding\": \"6.7\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.9\", \"versionStartIncluding\": \"6.7\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2026-08-05T11:30:38.073Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2024-35880\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-08-05T11:30:38.073Z\", \"dateReserved\": \"2024-05-17T13:50:33.111Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-05-19T08:34:37.262Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

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…