CVE-2021-47041
published high CVSS 3.1 · 7.5nvmet-tcp: fix incorrect locking in state_change sk callback
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux872d26a391da92ed8f0c0f5cb5fef428067b7f30 to < 999d606a820c36ae9b9e9611360c8b3d8d4bb777 · 872d26a391da92ed8f0c0f5cb5fef428067b7f30 to < 60ade0d56b06537a28884745059b3801c78e03bc · 872d26a391da92ed8f0c0f5cb5fef428067b7f30 to < 06beaa1a9f6e501213195e47c30416032fd2bbd5 · 872d26a391da92ed8f0c0f5cb5fef428067b7f30 to < 906c538340dde6d891df89fe7dac8eaa724e40da · 872d26a391da92ed8f0c0f5cb5fef428067b7f30 to < b5332a9f3f3d884a1b646ce155e664cc558c1722 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.0 (affected) · 0 to < 5.0 (unaffected · semver) · 5.4.119 through 5.4.* (unaffected · semver) · 5.10.37 through 5.10.* (unaffected · semver) · 5.11.21 through 5.11.* (unaffected · semver) · 5.12.4 through 5.12.* (unaffected · semver) · 5.13 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Pending Fix; Not Affected | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| SUSE / openSUSE | SLE-15-SP2 | cluster-md-kmp-defaultaarch64 | Advisory build | 5.3.18-150200.24.191.1 | SUSE-SU-2024:1650-1 |
| SUSE / openSUSE | SLE-15-SP2 | cluster-md-kmp-defaultppc64le | Advisory build | 5.3.18-150200.24.191.1 | SUSE-SU-2024:1650-1 |
| SUSE / openSUSE | SLE-15-SP2 | cluster-md-kmp-defaults390x | Advisory build | 5.3.18-150200.24.191.1 | SUSE-SU-2024:1650-1 |
| SUSE / openSUSE | SLE-15-SP2 | cluster-md-kmp-defaultx86_64 | Advisory build | 5.3.18-150200.24.191.1 | SUSE-SU-2024:1650-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP2 | dlm-kmp-defaultaarch64 | Advisory build | 5.3.18-150200.24.191.1 | SUSE-SU-2024:1650-1 |
| SUSE / openSUSE | SLE-15-SP2 | dlm-kmp-defaultppc64le | Advisory build | 5.3.18-150200.24.191.1 | SUSE-SU-2024:1650-1 |
| SUSE / openSUSE | SLE-15-SP2 | dlm-kmp-defaults390x | Advisory build | 5.3.18-150200.24.191.1 | SUSE-SU-2024:1650-1 |
| SUSE / openSUSE | SLE-15-SP2 | dlm-kmp-defaultx86_64 | Advisory build | 5.3.18-150200.24.191.1 | SUSE-SU-2024:1650-1 |
| SUSE / openSUSE | SLE-15-SP2 | gfs2-kmp-defaultaarch64 | Advisory build | 5.3.18-150200.24.191.1 | SUSE-SU-2024:1650-1 |
| SUSE / openSUSE | SLE-15-SP2 | gfs2-kmp-defaultppc64le | Advisory build | 5.3.18-150200.24.191.1 | SUSE-SU-2024:1650-1 |
| SUSE / openSUSE | SLE-15-SP2 | gfs2-kmp-defaults390x | Advisory build | 5.3.18-150200.24.191.1 | SUSE-SU-2024:1650-1 |
| SUSE / openSUSE | SLE-15-SP2 | gfs2-kmp-defaultx86_64 | Advisory build | 5.3.18-150200.24.191.1 | SUSE-SU-2024:1650-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-defaultaarch64 | Advisory build | 5.3.18-150200.24.191.1 | SUSE-SU-2024:1650-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-defaultppc64le | Advisory build | 5.3.18-150200.24.191.1 | SUSE-SU-2024:1650-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-defaults390x | Advisory build | 5.3.18-150200.24.191.1 | SUSE-SU-2024:1650-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-defaultx86_64 | Advisory build | 5.3.18-150200.24.191.1 | SUSE-SU-2024:1650-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-default-baseaarch64 | Advisory build | 5.3.18-150200.24.191.1.150200.9.97.1 | SUSE-SU-2024:1650-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-default-baseppc64le | Advisory build | 5.3.18-150200.24.191.1.150200.9.97.1 | SUSE-SU-2024:1650-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-default-bases390x | Advisory build | 5.3.18-150200.24.191.1.150200.9.97.1 | SUSE-SU-2024:1650-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-default-basex86_64 | Advisory build | 5.3.18-150200.24.191.1.150200.9.97.1 | SUSE-SU-2024:1650-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-default-develaarch64 | Advisory build | 5.3.18-150200.24.191.1 | SUSE-SU-2024:1650-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-default-develppc64le | Advisory build | 5.3.18-150200.24.191.1 | SUSE-SU-2024:1650-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-default-devels390x | Advisory build | 5.3.18-150200.24.191.1 | SUSE-SU-2024:1650-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-default-develx86_64 | Advisory build | 5.3.18-150200.24.191.1 | SUSE-SU-2024:1650-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-default-livepatchppc64le | Advisory build | 5.3.18-150200.24.191.1 | SUSE-SU-2024:1650-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-default-livepatchs390x | Advisory build | 5.3.18-150200.24.191.1 | SUSE-SU-2024:1650-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-default-livepatchx86_64 | Advisory build | 5.3.18-150200.24.191.1 | SUSE-SU-2024:1650-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-default-livepatch-develppc64le | Advisory build | 5.3.18-150200.24.191.1 | SUSE-SU-2024:1650-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-default-livepatch-devels390x | Advisory build | 5.3.18-150200.24.191.1 | SUSE-SU-2024:1650-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-default-livepatch-develx86_64 | Advisory build | 5.3.18-150200.24.191.1 | SUSE-SU-2024:1650-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-develnoarch | Advisory build | 5.3.18-150200.24.191.1 | SUSE-SU-2024:1650-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-docsnoarch | Advisory build | 5.3.18-150200.24.191.1 | SUSE-SU-2024:1650-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-livepatch-5_3_18-150200_24_191-defaultppc64le | Advisory build | 1-150200.5.3.1 | SUSE-SU-2024:1650-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-livepatch-5_3_18-150200_24_191-defaults390x | Advisory build | 1-150200.5.3.1 | SUSE-SU-2024:1650-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-livepatch-5_3_18-150200_24_191-defaultx86_64 | Advisory build | 1-150200.5.3.1 | SUSE-SU-2024:1650-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-macrosnoarch | Advisory build | 5.3.18-150200.24.191.1 | SUSE-SU-2024:1650-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-obs-buildaarch64 | Advisory build | 5.3.18-150200.24.191.1 | SUSE-SU-2024:1650-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-obs-buildppc64le | Advisory build | 5.3.18-150200.24.191.1 | SUSE-SU-2024:1650-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-obs-builds390x | Advisory build | 5.3.18-150200.24.191.1 | SUSE-SU-2024:1650-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-obs-buildx86_64 | Advisory build | 5.3.18-150200.24.191.1 | SUSE-SU-2024:1650-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-preemptaarch64 | Advisory build | 5.3.18-150200.24.191.1 | SUSE-SU-2024:1650-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-preemptx86_64 | Advisory build | 5.3.18-150200.24.191.1 | SUSE-SU-2024:1650-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-preempt-develaarch64 | Advisory build | 5.3.18-150200.24.191.1 | SUSE-SU-2024:1650-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-preempt-develx86_64 | Advisory build | 5.3.18-150200.24.191.1 | SUSE-SU-2024:1650-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-sourcenoarch | Advisory build | 5.3.18-150200.24.191.1 | SUSE-SU-2024:1650-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-symsaarch64 | Advisory build | 5.3.18-150200.24.191.1 | SUSE-SU-2024:1650-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-symsppc64le | Advisory build | 5.3.18-150200.24.191.1 | SUSE-SU-2024:1650-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-symss390x | Advisory build | 5.3.18-150200.24.191.1 | SUSE-SU-2024:1650-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-symsx86_64 | Advisory build | 5.3.18-150200.24.191.1 | SUSE-SU-2024:1650-1 |
| SUSE / openSUSE | SLE-15-SP2 | ocfs2-kmp-defaultaarch64 | Advisory build | 5.3.18-150200.24.191.1 | SUSE-SU-2024:1650-1 |
| SUSE / openSUSE | SLE-15-SP2 | ocfs2-kmp-defaultppc64le | Advisory build | 5.3.18-150200.24.191.1 | SUSE-SU-2024:1650-1 |
| SUSE / openSUSE | SLE-15-SP2 | ocfs2-kmp-defaults390x | Advisory build | 5.3.18-150200.24.191.1 | SUSE-SU-2024:1650-1 |
| SUSE / openSUSE | SLE-15-SP2 | ocfs2-kmp-defaultx86_64 | Advisory build | 5.3.18-150200.24.191.1 | SUSE-SU-2024:1650-1 |
| SUSE / openSUSE | SLE-15-SP2 | reiserfs-kmp-defaultaarch64 | Advisory build | 5.3.18-150200.24.191.1 | SUSE-SU-2024:1650-1 |
| SUSE / openSUSE | SLE-15-SP2 | reiserfs-kmp-defaultppc64le | Advisory build | 5.3.18-150200.24.191.1 | SUSE-SU-2024:1650-1 |
| SUSE / openSUSE | SLE-15-SP2 | reiserfs-kmp-defaults390x | Advisory build | 5.3.18-150200.24.191.1 | SUSE-SU-2024:1650-1 |
| SUSE / openSUSE | SLE-15-SP2 | reiserfs-kmp-defaultx86_64 | Advisory build | 5.3.18-150200.24.191.1 | SUSE-SU-2024:1650-1 |
| SUSE / openSUSE | SLE-15-SP3 | cluster-md-kmp-defaultaarch64 | Advisory build | 5.3.18-150300.59.161.1 | SUSE-SU-2024:1642-1 |
| SUSE / openSUSE | SLE-15-SP3 | cluster-md-kmp-defaultppc64le | Advisory build | 5.3.18-150300.59.161.1 | SUSE-SU-2024:1642-1 |
| SUSE / openSUSE | SLE-15-SP3 | cluster-md-kmp-defaults390x | Advisory build | 5.3.18-150300.59.161.1 | SUSE-SU-2024:1642-1 |
| SUSE / openSUSE | SLE-15-SP3 | cluster-md-kmp-defaultx86_64 | Advisory build | 5.3.18-150300.59.161.1 | SUSE-SU-2024:1642-1 |
| SUSE / openSUSE | SLE-15-SP3 | dlm-kmp-defaultaarch64 | Advisory build | 5.3.18-150300.59.161.1 | SUSE-SU-2024:1642-1 |
| SUSE / openSUSE | SLE-15-SP3 | dlm-kmp-defaultppc64le | Advisory build | 5.3.18-150300.59.161.1 | SUSE-SU-2024:1642-1 |
| SUSE / openSUSE | SLE-15-SP3 | dlm-kmp-defaults390x | Advisory build | 5.3.18-150300.59.161.1 | SUSE-SU-2024:1642-1 |
| SUSE / openSUSE | SLE-15-SP3 | dlm-kmp-defaultx86_64 | Advisory build | 5.3.18-150300.59.161.1 | SUSE-SU-2024:1642-1 |
| SUSE / openSUSE | SLE-15-SP3 | gfs2-kmp-defaultaarch64 | Advisory build | 5.3.18-150300.59.161.1 | SUSE-SU-2024:1642-1 |
| SUSE / openSUSE | SLE-15-SP3 | gfs2-kmp-defaultppc64le | Advisory build | 5.3.18-150300.59.161.1 | SUSE-SU-2024:1642-1 |
| SUSE / openSUSE | SLE-15-SP3 | gfs2-kmp-defaults390x | Advisory build | 5.3.18-150300.59.161.1 | SUSE-SU-2024:1642-1 |
| SUSE / openSUSE | SLE-15-SP3 | gfs2-kmp-defaultx86_64 | Advisory build | 5.3.18-150300.59.161.1 | SUSE-SU-2024:1642-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-64kbaarch64 | Advisory build | 5.3.18-150300.59.161.1 | SUSE-SU-2024:1642-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-64kb-develaarch64 | Advisory build | 5.3.18-150300.59.161.1 | SUSE-SU-2024:1642-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-defaultaarch64 | Advisory build | 5.3.18-150300.59.161.1 | SUSE-SU-2024:1642-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-defaultppc64le | Advisory build | 5.3.18-150300.59.161.1 | SUSE-SU-2024:1642-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-defaults390x | Advisory build | 5.3.18-150300.59.161.1 | SUSE-SU-2024:1642-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-defaultx86_64 | Advisory build | 5.3.18-150300.59.161.1 | SUSE-SU-2024:1642-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-baseaarch64 | Advisory build | 5.3.18-150300.59.161.1.150300.18.94.1 | SUSE-SU-2024:1642-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-baseppc64le | Advisory build | 5.3.18-150300.59.161.1.150300.18.94.1 | SUSE-SU-2024:1642-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-bases390x | Advisory build | 5.3.18-150300.59.161.1.150300.18.94.1 | SUSE-SU-2024:1642-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-basex86_64 | Advisory build | 5.3.18-150300.59.161.1.150300.18.94.1 | SUSE-SU-2024:1642-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-develaarch64 | Advisory build | 5.3.18-150300.59.161.1 | SUSE-SU-2024:1642-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-develppc64le | Advisory build | 5.3.18-150300.59.161.1 | SUSE-SU-2024:1642-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-devels390x | Advisory build | 5.3.18-150300.59.161.1 | SUSE-SU-2024:1642-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-develx86_64 | Advisory build | 5.3.18-150300.59.161.1 | SUSE-SU-2024:1642-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-livepatchppc64le | Advisory build | 5.3.18-150300.59.161.1 | SUSE-SU-2024:1642-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-livepatchs390x | Advisory build | 5.3.18-150300.59.161.1 | SUSE-SU-2024:1642-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-livepatchx86_64 | Advisory build | 5.3.18-150300.59.161.1 | SUSE-SU-2024:1642-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-livepatch-develppc64le | Advisory build | 5.3.18-150300.59.161.1 | SUSE-SU-2024:1642-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-livepatch-devels390x | Advisory build | 5.3.18-150300.59.161.1 | SUSE-SU-2024:1642-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-default-livepatch-develx86_64 | Advisory build | 5.3.18-150300.59.161.1 | SUSE-SU-2024:1642-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-develnoarch | Advisory build | 5.3.18-150300.59.161.1 | SUSE-SU-2024:1642-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-docsnoarch | Advisory build | 5.3.18-150300.59.161.2 | SUSE-SU-2024:1642-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-livepatch-5_3_18-150300_59_161-defaultppc64le | Advisory build | 1-150300.7.3.1 | SUSE-SU-2024:1642-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-livepatch-5_3_18-150300_59_161-defaults390x | Advisory build | 1-150300.7.3.1 | SUSE-SU-2024:1642-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-livepatch-5_3_18-150300_59_161-defaultx86_64 | Advisory build | 1-150300.7.3.1 | SUSE-SU-2024:1642-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-macrosnoarch | Advisory build | 5.3.18-150300.59.161.1 | SUSE-SU-2024:1642-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-obs-buildaarch64 | Advisory build | 5.3.18-150300.59.161.1 | SUSE-SU-2024:1642-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-obs-buildppc64le | Advisory build | 5.3.18-150300.59.161.1 | SUSE-SU-2024:1642-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-obs-builds390x | Advisory build | 5.3.18-150300.59.161.1 | SUSE-SU-2024:1642-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-obs-buildx86_64 | Advisory build | 5.3.18-150300.59.161.1 | SUSE-SU-2024:1642-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-preemptaarch64 | Advisory build | 5.3.18-150300.59.161.1 | SUSE-SU-2024:1642-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: nvmet-tcp: fix incorrect locking in state_change sk callback We are not changing anything in the TCP connection state so we should not take a write_lock but rather a read lock. This caused a deadlock when running nvmet-tcp and nvme-tcp on the same system, where state_change callbacks on the host and on the controller side have causal relationship and made lockdep report on this with blktests: ================================ WARNING: inconsistent lock state 5.12.0-rc3 #1 Tainted: G I -------------------------------- inconsistent {IN-SOFTIRQ-W} -> {SOFTIRQ-ON-R} usage. nvme/1324 [HC0[0]:SC0[0]:HE1:SE1] takes: ffff888363151000 (clock-AF_INET){++-?}-{2:2}, at: nvme_tcp_state_change+0x21/0x150 [nvme_tcp] {IN-SOFTIRQ-W} state was registered at: __lock_acquire+0x79b/0x18d0 lock_acquire+0x1ca/0x480 _raw_write_lock_bh+0x39/0x80 nvmet_tcp_state_change+0x21/0x170 [nvmet_tcp] tcp_fin+0x2a8/0x780 tcp_data_queue+0xf94/0x1f20 tcp_rcv_established+0x6ba/0x1f00 tcp_v4_do_rcv+0x502/0x760 tcp_v4_rcv+0x257e/0x3430 ip_protocol_deliver_rcu+0x69/0x6a0 ip_local_deliver_finish+0x1e2/0x2f0 ip_local_deliver+0x1a2/0x420 ip_rcv+0x4fb/0x6b0 __netif_receive_skb_one_core+0x162/0x1b0 process_backlog+0x1ff/0x770 __napi_poll.constprop.0+0xa9/0x5c0 net_rx_action+0x7b3/0xb30 __do_softirq+0x1f0/0x940 do_softirq+0xa1/0xd0 __local_bh_enable_ip+0xd8/0x100 ip_finish_output2+0x6b7/0x18a0 __ip_queue_xmit+0x706/0x1aa0 __tcp_transmit_skb+0x2068/0x2e20 tcp_write_xmit+0xc9e/0x2bb0 __tcp_push_pending_frames+0x92/0x310 inet_shutdown+0x158/0x300 __nvme_tcp_stop_queue+0x36/0x270 [nvme_tcp] nvme_tcp_stop_queue+0x87/0xb0 [nvme_tcp] nvme_tcp_teardown_admin_queue+0x69/0xe0 [nvme_tcp] nvme_do_delete_ctrl+0x100/0x10c [nvme_core] nvme_sysfs_delete.cold+0x8/0xd [nvme_core] kernfs_fop_write_iter+0x2c7/0x460 new_sync_write+0x36c/0x610 vfs_write+0x5c0/0x870 ksys_write+0xf9/0x1d0 do_syscall_64+0x33/0x40 entry_SYSCALL_64_after_hwframe+0x44/0xae irq event stamp: 10687 hardirqs last enabled at (10687): [<ffffffff9ec376bd>] _raw_spin_unlock_irqrestore+0x2d/0x40 hardirqs last disabled at (10686): [<ffffffff9ec374d8>] _raw_spin_lock_irqsave+0x68/0x90 softirqs last enabled at (10684): [<ffffffff9f000608>] __do_softirq+0x608/0x940 softirqs last disabled at (10649): [<ffffffff9cdedd31>] do_softirq+0xa1/0xd0 other info that might help us debug this: Possible unsafe locking scenario: CPU0 ---- lock(clock-AF_INET); <Interrupt> lock(clock-AF_INET); *** DEADLOCK *** 5 locks held by nvme/1324: #0: ffff8884a01fe470 (sb_writers#4){.+.+}-{0:0}, at: ksys_write+0xf9/0x1d0 #1: ffff8886e435c090 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x216/0x460 #2: ffff888104d90c38 (kn->active#255){++++}-{0:0}, at: kernfs_remove_self+0x22d/0x330 #3: ffff8884634538d0 (&queue->queue_lock){+.+.}-{3:3}, at: nvme_tcp_stop_queue+0x52/0xb0 [nvme_tcp] #4: ffff888363150d30 (sk_lock-AF_INET){+.+.}-{0:0}, at: inet_shutdown+0x59/0x300 stack backtrace: CPU: 26 PID: 1324 Comm: nvme Tainted: G I 5.12.0-rc3 #1 Hardware name: Dell Inc. PowerEdge R640/06NR82, BIOS 2.10.0 11/12/2020 Call Trace: dump_stack+0x93/0xc2 mark_lock_irq.cold+0x2c/0xb3 ? verify_lock_unused+0x390/0x390 ? stack_trace_consume_entry+0x160/0x160 ? lock_downgrade+0x100/0x100 ? save_trace+0x88/0x5e0 ? _raw_spin_unlock_irqrestore+0x2d/0x40 mark_lock+0x530/0x1470 ? mark_lock_irq+0x1d10/0x1d10 ? enqueue_timer+0x660/0x660 mark_usage+0x215/0x2a0 __lock_acquire+0x79b/0x18d0 ? tcp_schedule_loss_probe.part.0+0x38c/0x520 lock_acquire+0x1ca/0x480 ? nvme_tcp_state_change+0x21/0x150 [nvme_tcp] ? rcu_read_unlock+0x40/0x40 ? tcp_mtu_probe+0x1ae0/0x1ae0 ? kmalloc_reserve+0xa0/0xa0 ? sysfs_file_ops+0x170/0x170 _raw_read_lock+0x3d/0xa0 ? nvme_tcp_state_change+0x21/0x150 [nvme_tcp] nvme_tcp_state_change+0x21/0x150 [nvme_tcp] ? sysfs_file_ops ---truncated---
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Scenarios
- en: AV:N - nvmet-tcp is an in-kernel NVMe over TCP target; nvmet_tcp_state_change is installed on accepted sockets and runs from the TCP softirq path (e.g. tcp_fin) when a remote peer changes connection state. AC:L - A remote peer can open and close TCP connections to the listening NVMe-oF port to drive the vulnerable callback; in co-located host+target deployments (storage gateways/HCI/loopback), that reliably creates the documented deadlock without conditions outside attacker control of the connection lifecycle. PR:N - The state_change callback is installed in nvmet_tcp_set_queue_sock immediately after TCP accept, before ICReq/Connect and before host NQN allow-list or DH-HMAC-CHAP authentication. UI:N - Exploitation requires only attacker-controlled TCP connect/disconnect against the listening target; no victim user action is needed. S:U - The deadlock hangs the same kernel that runs the NVMe target; it does not cross a VM, IOMMU, or other security authority boundary. C:N - The bug is incorrect exclusive locking that leads to deadlock; there is no memory disclosure or other confidentiality impact. I:N - There is no memory corruption or attacker-controlled write primitive—only a deadlock from taking write_lock_bh where a shared read lock was required. A:H - The incorrect write_lock_bh causes a kernel deadlock/hang when state_change callbacks interact (as reported with lockdep and blktests), which is an availability High impact.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 872d26a391da92ed8f0c0f5cb5fef428067b7f30 to < 999d606a820c36ae9b9e9611360c8b3d8d4bb777 (affected · git)872d26a391da92ed8f0c0f5cb5fef428067b7f30 to < 60ade0d56b06537a28884745059b3801c78e03bc (affected · git)872d26a391da92ed8f0c0f5cb5fef428067b7f30 to < 06beaa1a9f6e501213195e47c30416032fd2bbd5 (affected · git)872d26a391da92ed8f0c0f5cb5fef428067b7f30 to < 906c538340dde6d891df89fe7dac8eaa724e40da (affected · git)872d26a391da92ed8f0c0f5cb5fef428067b7f30 to < b5332a9f3f3d884a1b646ce155e664cc558c1722 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.0 (affected)0 to < 5.0 (unaffected · semver)5.4.119 through 5.4.* (unaffected · semver)5.10.37 through 5.10.* (unaffected · semver)5.11.21 through 5.11.* (unaffected · semver)5.12.4 through 5.12.* (unaffected · semver)5.13 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
5- https://git.kernel.org/stable/c/06beaa1a9f6e501213195e47c30416032fd2bbd5
- https://git.kernel.org/stable/c/60ade0d56b06537a28884745059b3801c78e03bc
- https://git.kernel.org/stable/c/906c538340dde6d891df89fe7dac8eaa724e40da
- https://git.kernel.org/stable/c/999d606a820c36ae9b9e9611360c8b3d8d4bb777
- https://git.kernel.org/stable/c/b5332a9f3f3d884a1b646ce155e664cc558c1722
Provider assertions
3Linux · cna
nvmet-tcp: fix incorrect locking in state_change sk callback
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f76feca646d9136eee10315e289c96311112fb222f513ca967bdfe31f302225a
- Ingested
- 23 Sep 2026, 07:57:04 UTC
- Source record
- Official CVE record