vsock/virtio: read virtqueues under worker locks
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel ebac8f6b1ef0e9278afe204b8692a7479988dace, Kernel 941329ce14c5f481223a10d1d4c8b57ea7f3048a, Kernel 1cecb4202afdbeddcf29d59baf596ac6ab753f7f and 10 more.
In the Linux kernel, the following vulnerability has been resolved: vsock/virtio: read virtqueues under worker locks Commit bd50c5dc182b ("vsock/virtio: add support for device suspend/resume") made the *_run flags transition from false to true when restore installs replacement virtqueues. The RX, TX and event workers read their virtqueue before locking and checking the corresponding flag, so a worker delayed across freeze and restore can observe the replacement queue's running state while retaining a pointer to the deleted queue. Read each virtqueue under its mutex after checking the run flag, keeping the pointer and state in the same queue generation.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=bd50c5dc182b0a52599f87b429f9a5a9cbfc9b1c <ebac8f6b1ef0e9278afe204b8692a7479988dace, >=762c251c7f5c4ee5bef71460c6e822ed293fd69f <941329ce14c5f481223a10d1d4c8b57ea7f3048a, >=bd50c5dc182b0a52599f87b429f9a5a9cbfc9b1c <1cecb4202afdbeddcf29d59baf596ac6ab753f7f, >=bd50c5dc182b0a52599f87b429f9a5a9cbfc9b1c <29dd10583bf9d2744cd84b862e4257c0a5699570, >=bd50c5dc182b0a52599f87b429f9a5a9cbfc9b1c <a1fb0c5b8a7c2753758aeced40971f99449dde0c, >=bd50c5dc182b0a52599f87b429f9a5a9cbfc9b1c <bd43a7ec668be428265b3209eb43647aedcf720a, >=bd50c5dc182b0a52599f87b429f9a5a9cbfc9b1c <eae099c764c7ebdb842eb1f638913e310bdd6513, =5.19, >=5.15.138 <5.15.216 | ebac8f6b1ef0e9278afe204b8692a7479988dace, 941329ce14c5f481223a10d1d4c8b57ea7f3048a, 1cecb4202afdbeddcf29d59baf596ac6ab753f7f, 29dd10583bf9d2744cd84b862e4257c0a5699570, a1fb0c5b8a7c2753758aeced40971f99449dde0c, bd43a7ec668be428265b3209eb43647aedcf720a, eae099c764c7ebdb842eb1f638913e310bdd6513, 5.15.216 |
| linux-kernel: Kernel | >=5.19.0 <6.1.183, >=6.13.0 <6.18.45, >=6.19.0 <7.1.9, >=6.2.0 <6.6.152, >=6.7.0 <6.12.104, >=5.15.138 <5.15.216 | 6.1.183, 6.18.45, 7.1.9, 6.6.152, 6.12.104, 5.15.216 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket