PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-97996 Linux CVE debrief

A use-after-free vulnerability in the Linux kernel's virtio has been addressed. The issue arises when device_unregister() is called, which leads to the execution of the release callback and potential freeing of memory where the embedded struct virtio_device is located. Subsequently, unregister_virtio_device() attempts to access dev->debugfs_dir, resulting in a use-after-free error. Affected transports include virtio_mmio, virtio_vdpa, virtio_uml, mlxbf-tmfifo, and virtio_ccw, while virtio_pci is unaffected due to its get_device() and put_device() implementation.

Vendor
Linux
Product
Unknown
CVSS
Unknown
CISA KEV
Not listed in stored evidence
Original CVE published
2026-09-25
Original CVE updated
2026-09-25
Advisory published
2026-09-25
Advisory updated
2026-09-25

Who should care

Defenders responsible for Linux kernel and virtio device management should assess exposure and prioritize patching or mitigation, especially in environments utilizing the affected virtio transports.

Why it matters

CVE-2026-97996 is a use-after-free vulnerability in the Linux kernel's virtio implementation, affecting several transports. Defenders should prioritize patching and verify exposure, especially in environments utilizing the affected transports.

  • Potential system crashes or instability due to use-after-free errors
  • Possible elevation of privileges or unauthorized access
  • Required verification of affected virtio transports and devices
  • Necessity for timely patching or mitigation to prevent exploitation

Technical summary

The Linux kernel's virtio implementation had a use-after-free vulnerability. When device_unregister() was called, it led to the execution of the release callback and potential freeing of memory where the embedded struct virtio_device was located. Subsequently, unregister_virtio_device() attempted to access dev->debugfs_dir, resulting in a use-after-free error. The issue was addressed by removing debugfs entries before the device could go away.

Defensive priority

Defenders should prioritize patching or mitigating this vulnerability, especially in environments utilizing the affected virtio transports.

Recommended defensive actions

  • Patch or update Linux kernel to the latest version
  • Verify and apply updates for virtio_mmio, virtio_vdpa, virtio_uml, mlxbf-tmfifo, and virtio_ccw transports
  • Monitor for potential use-after-free errors in virtio devices
  • Perform thorough vulnerability assessment to identify potential exposure
  • Implement compensating controls for exposed systems
  • Review and update asset inventory to ensure accurate tracking
  • Track and verify remediation progress through source tracking

Evidence notes

The vulnerability was reproduced on User-Mode Linux with CONFIG_KASAN and CONFIG_VIRTIO_DEBUG. The issue is resolved by removing debugfs entries before the device can go away, ensuring safe teardown while the device is still alive.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-97996 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-97996

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-97996 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-97996

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/3f9a0fceb730f5107d52421ead5568eae25a0049

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/77dbd10a701a30fdfea5c3bb7a29163128f9a9c7

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/951cad50cba89e736afdee4a730e0e52f9245c9b

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/caf042153016d651b55d0fb4a63cdf7d0d23dee2

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.