CVE-2026-139745

virtio_ccw: always take irq_lock in the classic interrupt handler

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

virtio_ccw: always take irq_lock in the classic interrupt handler

virtio_ccw_int_handler() takes vcdev->irq_lock around its
vring_interrupt() calls only when VIRTIO_HARDEN_NOTIFICATION is enabled.

The virtio shutdown path calls synchronize_cbs() even when notification
hardening is disabled. virtio_reset_device() now does so after the
transport reset too.

For classic interrupts, synchronize_cbs() takes vcdev->irq_lock for
writing, but the interrupt handler does not take the matching read
lock in that configuration. synchronize_cbs() can return while a
callback is still running.

Take the read lock unconditionally so the write side can synchronize
with the callbacks.

Analysis

AI-generated

Technical impact

In the Linux kernel a race condition exists in virtio_ccw when the classic interrupt handler does not always acquire the irq_lock. The handler can execute callbacks while synchronize_cbs() holds the write side lock, allowing the callback to run concurrently with a write that synchronizes on the same lock. This lack of coordination can corrupt shared data structures or trigger a kernel panic, resulting in service disruption.

Affected Systems

The vulnerability impacts Linux kernel modules that implement the virtio_ccw device interface. No specific kernel release is listed, so any kernel build containing the virtio_ccw driver could be affected.

Risk and Exploitability

The CVSS score is not provided and the EPSS score is unavailable, but because the flaw modifies kernel state it can be severe. The bug appears to be a local kernel issue that would be exploitable by an attacker with the ability to generate or manipulate virtio interrupts, likely requiring privileged access. The absence of a CISA KEV listing does not reduce the potential seriousness of a kernel crash in a production environment.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the kernel to a release that includes the patch which unconditionally acquires irq_lock in virtio_ccw_int_handler
  • Restart the affected system or reboot into the updated kernel to ensure the new code is active
  • Monitor kernel logs for VIRTIO‑CCW related errors or crashes and apply mitigations if the bug reappears

Generated by OpenCVE AI on December 1, 2026 at 01:32 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-362
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: virtio_ccw: always take irq_lock in the classic interrupt handler virtio_ccw_int_handler() takes vcdev->irq_lock around its vring_interrupt() calls only when VIRTIO_HARDEN_NOTIFICATION is enabled. The virtio shutdown path calls synchronize_cbs() even when notification hardening is disabled. virtio_reset_device() now does so after the transport reset too. For classic interrupts, synchronize_cbs() takes vcdev->irq_lock for writing, but the interrupt handler does not take the matching read lock in that configuration. synchronize_cbs() can return while a callback is still running. Take the read lock unconditionally so the write side can synchronize with the callbacks.
Title virtio_ccw: always take irq_lock in the classic interrupt handler
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-362

    Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:37 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:20 PM
Modified
Nov 30, 2026, 2:20 PM