CVE-2024-57946 - CVE House
Back to Database
Status published Unknown CVE-2024-57946

virtio-blk: don't keep queue frozen during system suspend

Vulnerability Description

In the Linux kernel, the following vulnerability has been resolved: virtio-blk: don't keep queue frozen during system suspend Commit 4ce6e2db00de ("virtio-blk: Ensure no requests in virtqueues before deleting vqs.") replaces queue quiesce with queue freeze in virtio-blk's PM callbacks. And the motivation is to drain inflight IOs before suspending. block layer's queue freeze looks very handy, but it is also easy to cause deadlock, such as, any attempt to call into bio_queue_enter() may run into deadlock if the queue is frozen in current context. There are all kinds of ->suspend() called in suspend context, so keeping queue frozen in the whole suspend context isn't one good idea. And Marek reported lockdep warning[1] caused by virtio-blk's freeze queue in virtblk_freeze(). [1] https://lore.kernel.org/linux-block/ca16370e-d646-4eee-b9cc-87277c89c43c@samsung.com/ Given the motivation is to drain in-flight IOs, it can be done by calling freeze & unfreeze, meantime restore to previous behavior by keeping queue quiesced during suspend.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2024-57946

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

Linux
Vulnerable Versions:
b7bfaea8f5ecd290864f5ae4c69859b89832b4dc, 5fe446b245ba61ddc924d7db280bcd987c39357a, 2a52590ac52394540351d8289cc2af0b83cf7d31, db48acce75d73dfe51c43d56893cce067b73cf08, 8946924ff324853df6b7c525a7467d964dfd11c3, 4ce6e2db00de8103a0687fb0f65fd17124a51aaa, 2b5128c714d863cd8d259aa9d87bed2d6aa6a5a8, c67ed40b1b4a66e3a13b21bdfbd0151639da5240, 5.4.270, 5.10.211, 5.15.150, 6.1.80, 6.6.19, 4.19.308, 6.7.7, 6.8, 0, 5.4.289, 5.10.233, 5.15.176, 6.1.123, 6.6.69, 6.12.8, 6.13

Timeline

Official Publish: January 21st, 2025
Last Modified: May 23rd, 2026
Added to House: July 22nd, 2026

CVSS Vectors

No vector data available

Weaknesses (CWE)

No CWE data available

MITRE ATT&CK TTPs

No associated TTPs found for this vulnerability.