{"id":"CVE-2026-139745","state":"PUBLISHED","title":"virtio_ccw: always take irq_lock in the classic interrupt handler","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nvirtio_ccw: always take irq_lock in the classic interrupt handler\n\nvirtio_ccw_int_handler() takes vcdev->irq_lock around its\nvring_interrupt() calls only when VIRTIO_HARDEN_NOTIFICATION is enabled.\n\nThe virtio shutdown path calls synchronize_cbs() even when notification\nhardening is disabled. virtio_reset_device() now does so after the\ntransport reset too.\n\nFor classic interrupts, synchronize_cbs() takes vcdev->irq_lock for\nwriting, but the interrupt handler does not take the matching read\nlock in that configuration. synchronize_cbs() can return while a\ncallback is still running.\n\nTake the read lock unconditionally so the write side can synchronize\nwith the callbacks.","publishedAt":"2026-11-30T13:37:34.978Z","updatedAt":"2026-11-30T13:37:34.978Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"0c03e32494dd0bbcc301523e5ae567c2f567a7d9","status":"affected","lessThan":"bd80d729462294bf214eb84b6affb764f4a83765","versionType":"git"},{"version":"acdfe206be6c70ec55dc8bfdb1a22036d10fae26","status":"affected","lessThan":"a38711f3dbfffa0eb0d39a8335c591b62205702e","versionType":"git"},{"version":"1eaa83fd94ed5e40d43139025f5acb7bcfed3b5f","status":"affected","lessThan":"e5dc0bd9dd8148b4e602a73a503e55fd52442460","versionType":"git"},{"version":"8bd2fa086a04886798b505f28db4002525895203","status":"affected","lessThan":"1d33270042ddab5f65baff81dfb3201095085535","versionType":"git"},{"version":"8bd2fa086a04886798b505f28db4002525895203","status":"affected","lessThan":"707cb4908186ca50836b0201692ecf3d0eb94bde","versionType":"git"},{"version":"8bd2fa086a04886798b505f28db4002525895203","status":"affected","lessThan":"48a355cf5b382570975e60857450ff3d42f268e9","versionType":"git"},{"version":"aee42f3d57bfa37b2716df4584edeecf63b9df4c","status":"affected","versionType":"git"},{"version":"6.6.160","status":"affected","lessThan":"6.6.163","versionType":"semver"},{"version":"6.12.114","status":"affected","lessThan":"6.12.119","versionType":"semver"},{"version":"6.14.9","status":"affected","lessThan":"6.15","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/s390/virtio/virtio_ccw.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.15","versionType":"semver"},{"version":"6.6.163","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.119","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.65","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/s390/virtio/virtio_ccw.c"]}],"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"],"weaknesses":[],"ingestedAt":"2026-11-30T13:56:04.579Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/139xxx/CVE-2026-139745.json","commit":"8c2c22940a0de21d18737df980299c0488d5dc73","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139745","state":"PUBLISHED","datePublished":"2026-11-30T13:37:34.978Z","dateUpdated":"2026-11-30T13:37:34.978Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-11-30T13:22:15.950Z"},"containers":{"cna":{"title":"virtio_ccw: always take irq_lock in the classic interrupt handler","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nvirtio_ccw: always take irq_lock in the classic interrupt handler\n\nvirtio_ccw_int_handler() takes vcdev->irq_lock around its\nvring_interrupt() calls only when VIRTIO_HARDEN_NOTIFICATION is enabled.\n\nThe virtio shutdown path calls synchronize_cbs() even when notification\nhardening is disabled. virtio_reset_device() now does so after the\ntransport reset too.\n\nFor classic interrupts, synchronize_cbs() takes vcdev->irq_lock for\nwriting, but the interrupt handler does not take the matching read\nlock in that configuration. synchronize_cbs() can return while a\ncallback is still running.\n\nTake the read lock unconditionally so the write side can synchronize\nwith the callbacks."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"0c03e32494dd0bbcc301523e5ae567c2f567a7d9","status":"affected","lessThan":"bd80d729462294bf214eb84b6affb764f4a83765","versionType":"git"},{"version":"acdfe206be6c70ec55dc8bfdb1a22036d10fae26","status":"affected","lessThan":"a38711f3dbfffa0eb0d39a8335c591b62205702e","versionType":"git"},{"version":"1eaa83fd94ed5e40d43139025f5acb7bcfed3b5f","status":"affected","lessThan":"e5dc0bd9dd8148b4e602a73a503e55fd52442460","versionType":"git"},{"version":"8bd2fa086a04886798b505f28db4002525895203","status":"affected","lessThan":"1d33270042ddab5f65baff81dfb3201095085535","versionType":"git"},{"version":"8bd2fa086a04886798b505f28db4002525895203","status":"affected","lessThan":"707cb4908186ca50836b0201692ecf3d0eb94bde","versionType":"git"},{"version":"8bd2fa086a04886798b505f28db4002525895203","status":"affected","lessThan":"48a355cf5b382570975e60857450ff3d42f268e9","versionType":"git"},{"version":"aee42f3d57bfa37b2716df4584edeecf63b9df4c","status":"affected","versionType":"git"},{"version":"6.6.160","status":"affected","lessThan":"6.6.163","versionType":"semver"},{"version":"6.12.114","status":"affected","lessThan":"6.12.119","versionType":"semver"},{"version":"6.14.9","status":"affected","lessThan":"6.15","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/s390/virtio/virtio_ccw.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.15","versionType":"semver"},{"version":"6.6.163","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.119","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.65","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/s390/virtio/virtio_ccw.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/bd80d729462294bf214eb84b6affb764f4a83765"},{"url":"https://git.kernel.org/stable/c/a38711f3dbfffa0eb0d39a8335c591b62205702e"},{"url":"https://git.kernel.org/stable/c/e5dc0bd9dd8148b4e602a73a503e55fd52442460"},{"url":"https://git.kernel.org/stable/c/1d33270042ddab5f65baff81dfb3201095085535"},{"url":"https://git.kernel.org/stable/c/707cb4908186ca50836b0201692ecf3d0eb94bde"},{"url":"https://git.kernel.org/stable/c/48a355cf5b382570975e60857450ff3d42f268e9"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-11-30T13:37:34.978Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6.160","versionEndExcluding":"6.6.163"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12.114","versionEndExcluding":"6.12.119"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"6.18.65"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"7.3.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"7.4-rc1"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.14.9"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}