CVE-2024-49569

Updated:

Description:

In the Linux kernel, the following vulnerability has been resolved: nvme-rdma: unquiesce admin_q before destroy it Kernel will hang on destroy admin_q while we create ctrl failed, such as following calltrace: PID: 23644 TASK: ff2d52b40f439fc0 CPU: 2 COMMAND: "nvme" #0 [ff61d23de260fb78] __schedule at ffffffff8323bc15 #1 [ff61d23de260fc08] schedule at ffffffff8323c014 #2 [ff61d23de260fc28] blk_mq_freeze_queue_wait at ffffffff82a3dba1 #3 [ff61d23de260fc78] blk_freeze_queue at ffffffff82a4113a #4 [ff61d23de260fc90] blk_cleanup_queue at ffffffff82a33006 #5 [ff61d23de260fcb0] nvme_rdma_destroy_admin_queue at ffffffffc12686ce #6 [ff61d23de260fcc8] nvme_rdma_setup_ctrl at ffffffffc1268ced #7 [ff61d23de260fd28] nvme_rdma_create_ctrl at ffffffffc126919b #8 [ff61d23de260fd68] nvmf_dev_write at ffffffffc024f362 #9 [ff61d23de260fe38] vfs_write at ffffffff827d5f25 RIP: 00007fda7891d574 RSP: 00007ffe2ef06958 RFLAGS: 00000202 RAX: ffffffffffffffda RBX: 000055e8122a4d90 RCX: 00007fda7891d574 RDX: 000000000000012b RSI: 000055e8122a4d90 RDI: 0000000000000004 RBP: 00007ffe2ef079c0 R8: 000000000000012b R9: 000055e8122a4d90 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000004 R13: 000055e8122923c0 R14: 000000000000012b R15: 00007fda78a54500 ORIG_RAX: 0000000000000001 CS: 0033 SS: 002b This due to we have quiesced admi_q before cancel requests, but forgot to unquiesce before destroy it, as a result we fail to drain the pending requests, and hang on blk_mq_freeze_queue_wait() forever. Here try to reuse nvme_rdma_teardown_admin_queue() to fix this issue and simplify the code.

CVSS3: 5.7


Vendor State

OS Vendor version Errata
RHEL 9 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Oracle Linux 9 5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Rocky Linux 9 5.14.0-570.12.1.el9_6 RLSA-2025:6966
AlmaLinux 9 5.14.0-570.12.1.el9_6 ALSA-2025:6966
Ubuntu 24.04 6.8.0-58.60 USN-7449-1
Ubuntu 24.04 AWS 6.8.0-1027.29 USN-7449-1

KernelCare State

OS Original kernel version State
RHEL 9
5.14.0-70.17.1.el9_0 show all hide all
5.14.0-70.22.1.el9_0 5.14.0-70.5.1.el9_0 5.14.0-70.13.1.el9_0 5.14.0-70.26.1.el9_0 5.14.0-70.30.1.el9_0 5.14.0-162.6.1.el9_1 5.14.0-162.12.1.el9_1 5.14.0-162.18.1.el9_1 5.14.0-162.22.2.el9_1 5.14.0-162.23.1.el9_1 5.14.0-284.11.1.el9_2 5.14.0-284.18.1.el9_2 5.14.0-284.25.1.el9_2 5.14.0-284.30.1.el9_2 5.14.0-362.8.1.el9_3 5.14.0-362.13.1.el9_3 5.14.0-362.18.1.el9_3 5.14.0-362.24.1.el9_3 5.14.0-427.13.1.el9_4 5.14.0-427.16.1.el9_4 5.14.0-427.18.1.el9_4 5.14.0-427.20.1.el9_4 5.14.0-427.22.1.el9_4 5.14.0-427.24.1.el9_4 5.14.0-427.26.1.el9_4 5.14.0-427.28.1.el9_4 5.14.0-427.31.1.el9_4 5.14.0-427.33.1.el9_4 5.14.0-427.35.1.el9_4 5.14.0-427.37.1.el9_4 5.14.0-427.40.1.el9_4 5.14.0-427.42.1.el9_4 5.14.0-503.11.1.el9_5 5.14.0-503.14.1.el9_5 5.14.0-503.15.1.el9_5 5.14.0-503.16.1.el9_5 5.14.0-503.19.1.el9_5 5.14.0-503.21.1.el9_5 5.14.0-503.22.1.el9_5 5.14.0-503.23.1.el9_5 5.14.0-503.23.2.el9_5 5.14.0-503.26.1.el9_5 5.14.0-503.29.1.el9_5 5.14.0-503.31.1.el9_5 5.14.0-503.33.1.el9_5 5.14.0-503.34.1.el9_5 5.14.0-503.35.1.el9_5 5.14.0-503.38.1.el9_5 5.14.0-503.40.1.el9_5
Released
Oracle Linux 9
5.14.0-70.13.1.0.3.el9_0 show all hide all
5.14.0-70.17.1.0.1.el9_0 5.14.0-70.22.1.0.1.el9_0 5.14.0-70.26.1.0.1.el9_0 5.14.0-162.6.1.el9_1 5.14.0-284.11.1.el9_2 5.14.0-162.23.1.el9_1 5.14.0-162.22.2.el9_1 5.14.0-162.18.1.el9_1 5.14.0-162.12.1.el9_1 5.14.0-70.30.1.0.1.el9_0 5.14.0-284.18.1.el9_2 5.14.0-284.25.1.el9_2 5.14.0-284.25.1.0.1.el9_2 5.14.0-284.30.0.1.el9_2 5.14.0-284.30.1.el9_2 5.14.0-362.8.1.el9_3 5.14.0-362.13.0.1.el9_3 5.14.0-362.13.1.el9_3 5.14.0-362.18.0.1.el9_3 5.14.0-362.18.0.2.el9_3 5.14.0-362.18.1.el9_3 5.14.0-362.24.1.el9_3 5.14.0-362.24.1.0.1.el9_3 5.14.0-427.13.1.el9_4 5.14.0-427.16.1.el9_4 5.14.0-362.24.1.0.2.el9_3 5.14.0-427.18.1.el9_4 5.14.0-427.20.1.el9_4 5.14.0-427.22.1.el9_4 5.14.0-427.24.1.el9_4 5.14.0-427.26.1.el9_4 5.14.0-427.28.1.el9_4 5.14.0-427.31.1.el9_4 5.14.0-427.33.1.el9_4 5.14.0-427.35.1.el9_4 5.14.0-427.37.1.el9_4 5.14.0-427.40.1.el9_4 5.14.0-427.42.1.el9_4 5.14.0-503.11.1.el9_5 5.14.0-503.14.1.el9_5 5.14.0-503.15.1.el9_5 5.14.0-503.16.1.el9_5 5.14.0-503.19.1.el9_5 5.14.0-503.21.1.el9_5 5.14.0-503.22.1.el9_5 5.14.0-503.23.1.el9_5 5.14.0-503.23.2.el9_5 5.14.0-503.26.1.el9_5 5.14.0-503.31.1.el9_5 5.14.0-503.29.1.el9_5 5.14.0-503.33.1.el9_5 5.14.0-503.34.1.el9_5 5.14.0-503.35.1.el9_5 5.14.0-503.38.1.el9_5 5.14.0-503.40.1.el9_5
Released
Rocky Linux 9
5.14.0-284.11.1.el9_2 show all hide all
5.14.0-162.6.1.el9_1 5.14.0-70.26.1.el9_0 5.14.0-70.30.1.el9_0 5.14.0-70.22.1.el9_0 5.14.0-162.6.1.el9_1.0.1 5.14.0-162.18.1.el9_1 5.14.0-162.12.1.el9_1.0.1 5.14.0-162.12.1.el9_1.0.2 5.14.0-162.22.2.el9_1 5.14.0-162.23.1.el9_1 5.14.0-284.30.1.el9_2 5.14.0-362.8.1.el9_3 5.14.0-362.13.1.el9_3 5.14.0-362.18.1.el9_3 5.14.0-362.24.1.el9_3 5.14.0-362.18.1.el9_3.0.1 5.14.0-427.16.1.el9_4 5.14.0-362.24.1.el9_3.0.1 5.14.0-427.18.1.el9_4 5.14.0-427.20.1.el9_4 5.14.0-427.24.1.el9_4 5.14.0-427.26.1.el9_4 5.14.0-427.28.1.el9_4 5.14.0-427.20.1.el9_4.0.1 5.14.0-427.22.1.el9_4 5.14.0-427.31.1.el9_4 5.14.0-427.33.1.el9_4 5.14.0-427.35.1.el9_4 5.14.0-427.37.1.el9_4 5.14.0-427.40.1.el9_4 5.14.0-427.42.1.el9_4 5.14.0-503.14.1.el9_5 5.14.0-503.15.1.el9_5 5.14.0-503.16.1.el9_5 5.14.0-503.19.1.el9_5 5.14.0-503.21.1.el9_5 5.14.0-503.22.1.el9_5 5.14.0-503.23.2.el9_5 5.14.0-503.26.1.el9_5 5.14.0-503.23.1.el9_5 5.14.0-503.31.1.el9_5 5.14.0-503.34.1.el9_5 5.14.0-503.29.1.el9_5 5.14.0-503.35.1.el9_5 5.14.0-503.33.1.el9_5 5.14.0-503.38.1.el9_5 5.14.0-503.40.1.el9_5
Released
Rocky Linux 9
5.14.0-427.13.1.el9_4
In Rollout
AlmaLinux 9
5.14.0-162.6.1.el9_1 show all hide all
5.14.0-70.26.1.el9_0 5.14.0-70.30.1.el9_0 5.14.0-70.17.1.el9_0 5.14.0-70.22.1.el9_0 5.14.0-162.12.1.el9_1 5.14.0-162.18.1.el9_1 5.14.0-162.22.2.el9_1 5.14.0-162.23.1.el9_1 5.14.0-284.11.1.el9_2 5.14.0-284.18.1.el9_2 5.14.0-70.13.1.el9_0 5.14.0-284.25.1.el9_2 5.14.0-284.30.1.el9_2 5.14.0-362.8.1.el9_3 5.14.0-362.13.1.el9_3 5.14.0-362.18.1.el9_3 5.14.0-362.24.1.el9_3 5.14.0-427.13.1.el9_4 5.14.0-427.16.1.el9_4 5.14.0-362.24.2.el9_3 5.14.0-427.18.1.el9_4 5.14.0-427.20.1.el9_4 5.14.0-427.24.1.el9_4 5.14.0-427.26.1.el9_4 5.14.0-427.28.1.el9_4 5.14.0-427.22.1.el9_4 5.14.0-427.31.1.el9_4 5.14.0-427.33.1.el9_4 5.14.0-427.35.1.el9_4 5.14.0-427.37.1.el9_4 5.14.0-427.40.1.el9_4 5.14.0-427.42.1.el9_4 5.14.0-503.11.1.el9_5 5.14.0-503.14.1.el9_5 5.14.0-503.15.1.el9_5 5.14.0-503.16.1.el9_5 5.14.0-503.19.1.el9_5 5.14.0-503.21.1.el9_5 5.14.0-503.22.1.el9_5 5.14.0-503.23.2.el9_5 5.14.0-503.26.1.el9_5 5.14.0-503.23.1.el9_5 5.14.0-503.31.1.el9_5 5.14.0-503.34.1.el9_5 5.14.0-503.29.1.el9_5 5.14.0-503.35.1.el9_5 5.14.0-503.33.1.el9_5 5.14.0-503.38.1.el9_5 5.14.0-503.40.1.el9_5
Released
Ubuntu 24.04
Planned
Ubuntu 24.04 AWS
Planned