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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
0c03e32494dd0bbcc301523e5ae567c2f567a7d9 to < bd80d729462294bf214eb84b6affb764f4a83765affectedacdfe206be6c70ec55dc8bfdb1a22036d10fae26 to < a38711f3dbfffa0eb0d39a8335c591b62205702eaffected1eaa83fd94ed5e40d43139025f5acb7bcfed3b5f to < e5dc0bd9dd8148b4e602a73a503e55fd52442460affected8bd2fa086a04886798b505f28db4002525895203 to < 1d33270042ddab5f65baff81dfb3201095085535affected8bd2fa086a04886798b505f28db4002525895203 to < 707cb4908186ca50836b0201692ecf3d0eb94bdeaffected8bd2fa086a04886798b505f28db4002525895203 to < 48a355cf5b382570975e60857450ff3d42f268e9affectedaee42f3d57bfa37b2716df4584edeecf63b9df4caffected6.6.160 to < 6.6.163affected6.12.114 to < 6.12.119affected6.14.9 to < 6.15affected
Linux Linux
Default version status: affected
6.15affected0 to < 6.15unaffected6.6.163 to ≤ 6.6.*unaffected6.12.119 to ≤ 6.12.*unaffected6.18.65 to ≤ 6.18.*unaffected7.3.6 to ≤ 7.3.*unaffected7.4-rc1 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/bd80d729462294bf214eb84b6affb764f4a83765 ↗
- https://git.kernel.org/stable/c/a38711f3dbfffa0eb0d39a8335c591b62205702e ↗
- https://git.kernel.org/stable/c/e5dc0bd9dd8148b4e602a73a503e55fd52442460 ↗
- https://git.kernel.org/stable/c/1d33270042ddab5f65baff81dfb3201095085535 ↗
- https://git.kernel.org/stable/c/707cb4908186ca50836b0201692ecf3d0eb94bde ↗
- https://git.kernel.org/stable/c/48a355cf5b382570975e60857450ff3d42f268e9 ↗