CVE-2026-74313 (GCVE-0-2026-74313)
Vulnerability from cvelistv5
Published
2026-08-15 05:58
Modified
2026-08-17 05:45
Summary
In the Linux kernel, the following vulnerability has been resolved: vduse: hold vduse_lock across IDR lookup in open path vduse_dev_open() looks up struct vduse_dev through the IDR and then acquires dev->lock only after vduse_lock has been dropped. This leaves a window where a concurrent VDUSE_DESTROY_DEV can remove the same object from the IDR and free it before the open path locks the device, leading to a use-after-free. Close this race by keeping vduse_lock held until dev->lock has been acquired in the open path, matching the lock ordering already used by the destroy path.
Impacted products
Vendor Product Version
Linux Linux Version: c8a6153b6c59d95c0e091f053f6f180952ade91e
Version: c8a6153b6c59d95c0e091f053f6f180952ade91e
Version: c8a6153b6c59d95c0e091f053f6f180952ade91e
Version: c8a6153b6c59d95c0e091f053f6f180952ade91e
Version: c8a6153b6c59d95c0e091f053f6f180952ade91e
Version: c8a6153b6c59d95c0e091f053f6f180952ade91e
Version: c8a6153b6c59d95c0e091f053f6f180952ade91e
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/vdpa/vdpa_user/vduse_dev.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "35483c5306e09b3190ff937089d404a78012695c",
              "status": "affected",
              "version": "c8a6153b6c59d95c0e091f053f6f180952ade91e",
              "versionType": "git"
            },
            {
              "lessThan": "5c1560be8aa6849356455af67518d35c551cbd95",
              "status": "affected",
              "version": "c8a6153b6c59d95c0e091f053f6f180952ade91e",
              "versionType": "git"
            },
            {
              "lessThan": "93ed4692f2299a40346025979f40e4a9b7b33af7",
              "status": "affected",
              "version": "c8a6153b6c59d95c0e091f053f6f180952ade91e",
              "versionType": "git"
            },
            {
              "lessThan": "d94e2947203aead590fd63f667d316d4475d65af",
              "status": "affected",
              "version": "c8a6153b6c59d95c0e091f053f6f180952ade91e",
              "versionType": "git"
            },
            {
              "lessThan": "a2d0a57538fd0b3b3ab75d64bb64f4cd2fab13a2",
              "status": "affected",
              "version": "c8a6153b6c59d95c0e091f053f6f180952ade91e",
              "versionType": "git"
            },
            {
              "lessThan": "79e12c891940b0c4c75881b7fd82a8cbb8ac97be",
              "status": "affected",
              "version": "c8a6153b6c59d95c0e091f053f6f180952ade91e",
              "versionType": "git"
            },
            {
              "lessThan": "e440e077748939839d9f76e24383b76b785f80ce",
              "status": "affected",
              "version": "c8a6153b6c59d95c0e091f053f6f180952ade91e",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/vdpa/vdpa_user/vduse_dev.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.15"
            },
            {
              "lessThan": "5.15",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.212",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.178",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.145",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.97",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.40",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.1.*",
              "status": "unaffected",
              "version": "7.1.5",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.212",
                  "versionStartIncluding": "5.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.178",
                  "versionStartIncluding": "5.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.145",
                  "versionStartIncluding": "5.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.97",
                  "versionStartIncluding": "5.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.40",
                  "versionStartIncluding": "5.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.5",
                  "versionStartIncluding": "5.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2",
                  "versionStartIncluding": "5.15",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nvduse: hold vduse_lock across IDR lookup in open path\n\nvduse_dev_open() looks up struct vduse_dev through the IDR and then\nacquires dev-\u003elock only after vduse_lock has been dropped.\n\nThis leaves a window where a concurrent VDUSE_DESTROY_DEV can remove the\nsame object from the IDR and free it before the open path locks the\ndevice, leading to a use-after-free.\n\nClose this race by keeping vduse_lock held until dev-\u003elock has been\nacquired in the open path, matching the lock ordering already used by\nthe destroy path."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 8.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The vulnerability is only reachable via local syscalls on VDUSE character devices: open(2) on /dev/vduse/$NAME racing with ioctl(VDUSE_DESTROY_DEV) on /dev/vduse/control. It is not triggered by remote network traffic, adjacent wireless protocols, or physical device attachment.\nAC:L - The attacker fully controls both sides of the race by creating a VDUSE device, then concurrently calling open() and VDUSE_DESTROY_DEV from their own threads. No timing or layout conditions outside attacker control are required beyond standard thread scheduling.\nPR:L - Neither the open nor destroy paths enforce capabilities beyond device-node access; only VIRTIO_ID_NET creation requires CAP_NET_ADMIN. VDUSE is designed so userspace dataplane operators with access to /dev/vduse nodes can create, open, and destroy block devices without full host admin rights.\nUI:N - Exploitation requires no victim interaction. The attacker creates their own VDUSE instance and triggers the open/destroy race from their process; no separate user must mount, configure, or open the device.\nS:C - On cloud and virtualization hosts where VDUSE is delegated to containers or NFV tenant workloads, kernel UAF exploitation crosses from the tenant/container security boundary to full host kernel compromise, comparable to a VM or sandbox escape.\nC:H - The race produces a use-after-free of kmalloc\u0027d struct vduse_dev. Locking and dereferencing the freed object, plus subsequent ioctl/read/write using dangling file-\u003eprivate_data, enables slab reuse and arbitrary kernel memory disclosure.\nI:H - UAF of vduse_dev allows heap grooming over mutexes, virtqueue pointers, and config buffers. Follow-on VDUSE ioctls (SET_CONFIG, VQ_SETUP, IOTLB) on the dangling fd provide exploitable arbitrary-write and control-flow hijack primitives.\nA:H - Use-after-free during mutex_lock on the freed device or later VDUSE operations can immediately corrupt kernel memory and trigger oops/panic, fully denying system availability even before full exploitation."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-17T05:45:46.036Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/35483c5306e09b3190ff937089d404a78012695c"
        },
        {
          "url": "https://git.kernel.org/stable/c/5c1560be8aa6849356455af67518d35c551cbd95"
        },
        {
          "url": "https://git.kernel.org/stable/c/93ed4692f2299a40346025979f40e4a9b7b33af7"
        },
        {
          "url": "https://git.kernel.org/stable/c/d94e2947203aead590fd63f667d316d4475d65af"
        },
        {
          "url": "https://git.kernel.org/stable/c/a2d0a57538fd0b3b3ab75d64bb64f4cd2fab13a2"
        },
        {
          "url": "https://git.kernel.org/stable/c/79e12c891940b0c4c75881b7fd82a8cbb8ac97be"
        },
        {
          "url": "https://git.kernel.org/stable/c/e440e077748939839d9f76e24383b76b785f80ce"
        }
      ],
      "title": "vduse: hold vduse_lock across IDR lookup in open path",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-74313",
    "datePublished": "2026-08-15T05:58:12.058Z",
    "dateReserved": "2026-08-15T05:44:03.883Z",
    "dateUpdated": "2026-08-17T05:45:46.036Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


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 seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • 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.


Loading…

Loading…