KernelScan.io

HIGH Introduced in 4.12

vfio_ccw WorkQueue UAF

CVE-2026-80553

CVSS 8.8 / 10.0 NVD

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

KernelScan AI7.8HIGH

01

In the Linux kernel, the following vulnerability has been resolved: s390/vfio_ccw: Cancel existing workqueues The initialization of the io_work and crw_work workqueues begs the question of whether they should be un-initialized. Add the corresponding cleanup tags in _release_dev to ensure work isn't dispatched after the private struct is free'd.

02

Engine v0.6.0

Risk summary

A use-after-free race in the s390 vfio_ccw driver allows a local attacker with access to a mediated channel I/O device to trigger work items after the internal device data is freed, potentially leading to kernel memory corruption or a crash. Exploitation requires s390 hardware with vfio_ccw configured and access to the mediated device, limiting practical risk to specific mainframe deployments.

Affecteddrivers/s390/cio/vfio_ccw_ops.c (vfio_ccw)

Vulnerability analysis

The driver creates background work items to finish I/O and handle channel events, but fails to cancel them when the mediated device is closed or released. If a work item is still pending when the device's internal data is torn down, the worker will access freed kernel memory, leading to heap corruption. The fix cancels both workqueues during device shutdown and re-open so no pending work runs after the data is gone. A local process that can open and close a vfio_ccw mediated device on s390 hardware can reach this path, which generally requires the device to be assigned to the attacker's context through VFIO.

03

BranchIntroducedFixed inPatch commit
5.154.125.15.2187492ca2d0c5d
6.14.126.1.185b94b28c1f0fa
6.184.126.18.46b7ae0f799386
7.14.127.1.1077f5e888d2e6
mainline4.127.279c60b2c6110
5.104.125.10.26787d569cb35a5
6.124.126.12.105dc47a98abe67
6.64.126.6.153e868ea8be0bc
cip/5.104.125.10.268-cip7787d569cb35a5
cip/5.10-rt4.125.10.268-cip77-rt3487d569cb35a5
cip/6.14.126.1.187-cip60b94b28c1f0fa
cip/6.124.126.12.108-cip31dc47a98abe67