CVE-2024-53100
published high CVSS 3.1 · 7.8nvme: tcp: avoid race between queue_lock lock and destroy
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux3f2304f8c6d6ed97849057bd16fee99e434ca796 to < 4f946479b326a3cbb193f2b8368aed9269514c35 · 3f2304f8c6d6ed97849057bd16fee99e434ca796 to < 975cb1d2121511584695d0e47fdb90e6782da007 · 3f2304f8c6d6ed97849057bd16fee99e434ca796 to < e15cebc1b21856944b387f4abd03b66bd3d4f027 · 3f2304f8c6d6ed97849057bd16fee99e434ca796 to < 782373ba27660ba7d330208cf5509ece6feb4545 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.0 (affected) · 0 to < 5.0 (unaffected · semver) · 6.1.118 through 6.1.* (unaffected · semver) · 6.6.62 through 6.6.* (unaffected · semver) · 6.11.9 through 6.11.* (unaffected · semver) · 6.12 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected; No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-802 | Fixed | Not stated | Amazon Linux assessment |
| Debian | bullseye | linux-6.1 | Advisory build | 6.1.119-1~deb11u1 | DLA-4008-1 |
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:5.15.0-311.185.9.el8uek | ELSA-2025-20520 |
| SUSE / openSUSE | SLE-15-SP6 | cluster-md-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
Show 97 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 8 | bpftoolx86_64 | Advisory build | 0:5.15.0-311.185.9.el8uek | ELSA-2025-20520 |
| Oracle Linux | 8 | kernel-uekaarch64 | Advisory build | 0:5.15.0-311.185.9.el8uek | ELSA-2025-20520 |
| Oracle Linux | 8 | kernel-uekx86_64 | Advisory build | 0:5.15.0-311.185.9.el8uek | ELSA-2025-20520 |
| Oracle Linux | 8 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-311.185.9.el8uek | ELSA-2025-20520 |
| Oracle Linux | 8 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-311.185.9.el8uek | ELSA-2025-20520 |
| Oracle Linux | 8 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-311.185.9.el8uek | ELSA-2025-20520 |
| Oracle Linux | 8 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-311.185.9.el8uek | ELSA-2025-20520 |
| Oracle Linux | 8 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-311.185.9.el8uek | ELSA-2025-20520 |
| Oracle Linux | 8 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-311.185.9.el8uek | ELSA-2025-20520 |
| Oracle Linux | 8 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-311.185.9.el8uek | ELSA-2025-20520 |
| Oracle Linux | 8 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-311.185.9.el8uek | ELSA-2025-20520 |
| Oracle Linux | 8 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-311.185.9.el8uek | ELSA-2025-20520 |
| Oracle Linux | 8 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-311.185.9.el8uek | ELSA-2025-20520 |
| Oracle Linux | 8 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-311.185.9.el8uek | ELSA-2025-20520 |
| Oracle Linux | 8 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-311.185.9.el8uek | ELSA-2025-20520 |
| Oracle Linux | 8 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:5.15.0-311.185.9.el8uek | ELSA-2025-20520 |
| Oracle Linux | 8 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:5.15.0-311.185.9.el8uek | ELSA-2025-20520 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:5.15.0-311.185.9.el8uek | ELSA-2025-20520 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:5.15.0-311.185.9.el8uek | ELSA-2025-20520 |
| Oracle Linux | 8 | kernel-uek-develaarch64 | Advisory build | 0:5.15.0-311.185.9.el8uek | ELSA-2025-20520 |
| Oracle Linux | 8 | kernel-uek-develx86_64 | Advisory build | 0:5.15.0-311.185.9.el8uek | ELSA-2025-20520 |
| Oracle Linux | 8 | kernel-uek-docaarch64 | Advisory build | 0:5.15.0-311.185.9.el8uek | ELSA-2025-20520 |
| Oracle Linux | 8 | kernel-uek-docx86_64 | Advisory build | 0:5.15.0-311.185.9.el8uek | ELSA-2025-20520 |
| Oracle Linux | 8 | kernel-uek-modulesaarch64 | Advisory build | 0:5.15.0-311.185.9.el8uek | ELSA-2025-20520 |
| Oracle Linux | 8 | kernel-uek-modulesx86_64 | Advisory build | 0:5.15.0-311.185.9.el8uek | ELSA-2025-20520 |
| Oracle Linux | 8 | kernel-uek-modules-extraaarch64 | Advisory build | 0:5.15.0-311.185.9.el8uek | ELSA-2025-20520 |
| Oracle Linux | 8 | kernel-uek-modules-extrax86_64 | Advisory build | 0:5.15.0-311.185.9.el8uek | ELSA-2025-20520 |
| Oracle Linux | 9 | bpftoolaarch64 | Advisory build | 0:5.15.0-311.185.9.el9uek | ELSA-2025-20520 |
| Oracle Linux | 9 | bpftoolx86_64 | Advisory build | 0:5.15.0-311.185.9.el9uek | ELSA-2025-20520 |
| Oracle Linux | 9 | kernel-uekaarch64 | Advisory build | 0:5.15.0-311.185.9.el9uek | ELSA-2025-20520 |
| Oracle Linux | 9 | kernel-uekx86_64 | Advisory build | 0:5.15.0-311.185.9.el9uek | ELSA-2025-20520 |
| Oracle Linux | 9 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-311.185.9.el9uek | ELSA-2025-20520 |
| Oracle Linux | 9 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-311.185.9.el9uek | ELSA-2025-20520 |
| Oracle Linux | 9 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-311.185.9.el9uek | ELSA-2025-20520 |
| Oracle Linux | 9 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-311.185.9.el9uek | ELSA-2025-20520 |
| Oracle Linux | 9 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-311.185.9.el9uek | ELSA-2025-20520 |
| Oracle Linux | 9 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-311.185.9.el9uek | ELSA-2025-20520 |
| Oracle Linux | 9 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-311.185.9.el9uek | ELSA-2025-20520 |
| Oracle Linux | 9 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-311.185.9.el9uek | ELSA-2025-20520 |
| Oracle Linux | 9 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-311.185.9.el9uek | ELSA-2025-20520 |
| Oracle Linux | 9 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-311.185.9.el9uek | ELSA-2025-20520 |
| Oracle Linux | 9 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-311.185.9.el9uek | ELSA-2025-20520 |
| Oracle Linux | 9 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-311.185.9.el9uek | ELSA-2025-20520 |
| Oracle Linux | 9 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:5.15.0-311.185.9.el9uek | ELSA-2025-20520 |
| Oracle Linux | 9 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:5.15.0-311.185.9.el9uek | ELSA-2025-20520 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:5.15.0-311.185.9.el9uek | ELSA-2025-20520 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:5.15.0-311.185.9.el9uek | ELSA-2025-20520 |
| Oracle Linux | 9 | kernel-uek-develaarch64 | Advisory build | 0:5.15.0-311.185.9.el9uek | ELSA-2025-20520 |
| Oracle Linux | 9 | kernel-uek-develx86_64 | Advisory build | 0:5.15.0-311.185.9.el9uek | ELSA-2025-20520 |
| Oracle Linux | 9 | kernel-uek-docaarch64 | Advisory build | 0:5.15.0-311.185.9.el9uek | ELSA-2025-20520 |
| Oracle Linux | 9 | kernel-uek-docx86_64 | Advisory build | 0:5.15.0-311.185.9.el9uek | ELSA-2025-20520 |
| Oracle Linux | 9 | kernel-uek-modulesaarch64 | Advisory build | 0:5.15.0-311.185.9.el9uek | ELSA-2025-20520 |
| Oracle Linux | 9 | kernel-uek-modulesx86_64 | Advisory build | 0:5.15.0-311.185.9.el9uek | ELSA-2025-20520 |
| Oracle Linux | 9 | kernel-uek-modules-extraaarch64 | Advisory build | 0:5.15.0-311.185.9.el9uek | ELSA-2025-20520 |
| Oracle Linux | 9 | kernel-uek-modules-extrax86_64 | Advisory build | 0:5.15.0-311.185.9.el9uek | ELSA-2025-20520 |
| Oracle Linux | 9 | kernel-uek64kaarch64 | Advisory build | 0:5.15.0-311.185.9.el9uek | ELSA-2025-20520 |
| Oracle Linux | 9 | kernel-uek64k-coreaarch64 | Advisory build | 0:5.15.0-311.185.9.el9uek | ELSA-2025-20520 |
| Oracle Linux | 9 | kernel-uek64k-develaarch64 | Advisory build | 0:5.15.0-311.185.9.el9uek | ELSA-2025-20520 |
| Oracle Linux | 9 | kernel-uek64k-modulesaarch64 | Advisory build | 0:5.15.0-311.185.9.el9uek | ELSA-2025-20520 |
| Oracle Linux | 9 | kernel-uek64k-modules-extraaarch64 | Advisory build | 0:5.15.0-311.185.9.el9uek | ELSA-2025-20520 |
| SUSE / openSUSE | SLE-15-SP6 | cluster-md-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | cluster-md-kmp-defaults390x | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | cluster-md-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | cluster-md-kmp-rtx86_64 | Advisory build | 6.4.0-150600.10.20.1 | SUSE-SU-2024:4314-1 |
| SUSE / openSUSE | SLE-15-SP6 | dlm-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | dlm-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | dlm-kmp-defaults390x | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | dlm-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | dlm-kmp-rtx86_64 | Advisory build | 6.4.0-150600.10.20.1 | SUSE-SU-2024:4314-1 |
| SUSE / openSUSE | SLE-15-SP6 | gfs2-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | gfs2-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | gfs2-kmp-defaults390x | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | gfs2-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | gfs2-kmp-rtx86_64 | Advisory build | 6.4.0-150600.10.20.1 | SUSE-SU-2024:4314-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-64kbaarch64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-64kb-develaarch64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-azureaarch64 | Advisory build | 6.4.0-150600.8.20.1 | SUSE-SU-2024:4316-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-azurex86_64 | Advisory build | 6.4.0-150600.8.20.1 | SUSE-SU-2024:4316-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-azure-develaarch64 | Advisory build | 6.4.0-150600.8.20.1 | SUSE-SU-2024:4316-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-azure-develx86_64 | Advisory build | 6.4.0-150600.8.20.1 | SUSE-SU-2024:4316-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-cocox86_64 | Advisory build | 6.4.0-15061.9.coco15sp6.1 | SUSE-SU-2024:4387-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-coco-develx86_64 | Advisory build | 6.4.0-15061.9.coco15sp6.1 | SUSE-SU-2024:4387-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-coco_debugx86_64 | Advisory build | 6.4.0-15061.9.coco15sp6.1 | SUSE-SU-2024:4387-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-coco_debug-develx86_64 | Advisory build | 6.4.0-15061.9.coco15sp6.1 | SUSE-SU-2024:4387-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-defaultaarch64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-defaultppc64le | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-defaults390x | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-defaultx86_64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-baseaarch64 | Advisory build | 6.4.0-150600.23.30.1.150600.12.12.6 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-baseppc64le | Advisory build | 6.4.0-150600.23.30.1.150600.12.12.6 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-basex86_64 | Advisory build | 6.4.0-150600.23.30.1.150600.12.12.6 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-develaarch64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-develppc64le | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-devels390x | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-develx86_64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-extrax86_64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatchppc64le | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-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: nvme: tcp: avoid race between queue_lock lock and destroy Commit 76d54bf20cdc ("nvme-tcp: don't access released socket during error recovery") added a mutex_lock() call for the queue->queue_lock in nvme_tcp_get_address(). However, the mutex_lock() races with mutex_destroy() in nvme_tcp_free_queue(), and causes the WARN below. DEBUG_LOCKS_WARN_ON(lock->magic != lock) WARNING: CPU: 3 PID: 34077 at kernel/locking/mutex.c:587 __mutex_lock+0xcf0/0x1220 Modules linked in: nvmet_tcp nvmet nvme_tcp nvme_fabrics iw_cm ib_cm ib_core pktcdvd nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip_set nf_tables qrtr sunrpc ppdev 9pnet_virtio 9pnet pcspkr netfs parport_pc parport e1000 i2c_piix4 i2c_smbus loop fuse nfnetlink zram bochs drm_vram_helper drm_ttm_helper ttm drm_kms_helper xfs drm sym53c8xx floppy nvme scsi_transport_spi nvme_core nvme_auth serio_raw ata_generic pata_acpi dm_multipath qemu_fw_cfg [last unloaded: ib_uverbs] CPU: 3 UID: 0 PID: 34077 Comm: udisksd Not tainted 6.11.0-rc7 #319 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.3-2.fc40 04/01/2014 RIP: 0010:__mutex_lock+0xcf0/0x1220 Code: 08 84 d2 0f 85 c8 04 00 00 8b 15 ef b6 c8 01 85 d2 0f 85 78 f4 ff ff 48 c7 c6 20 93 ee af 48 c7 c7 60 91 ee af e8 f0 a7 6d fd <0f> 0b e9 5e f4 ff ff 48 b8 00 00 00 00 00 fc ff df 4c 89 f2 48 c1 RSP: 0018:ffff88811305f760 EFLAGS: 00010286 RAX: 0000000000000000 RBX: ffff88812c652058 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000001 RBP: ffff88811305f8b0 R08: 0000000000000001 R09: ffffed1075c36341 R10: ffff8883ae1b1a0b R11: 0000000000010498 R12: 0000000000000000 R13: 0000000000000000 R14: dffffc0000000000 R15: ffff88812c652058 FS: 00007f9713ae4980(0000) GS:ffff8883ae180000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fcd78483c7c CR3: 0000000122c38000 CR4: 00000000000006f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: <TASK> ? __warn.cold+0x5b/0x1af ? __mutex_lock+0xcf0/0x1220 ? report_bug+0x1ec/0x390 ? handle_bug+0x3c/0x80 ? exc_invalid_op+0x13/0x40 ? asm_exc_invalid_op+0x16/0x20 ? __mutex_lock+0xcf0/0x1220 ? nvme_tcp_get_address+0xc2/0x1e0 [nvme_tcp] ? __pfx___mutex_lock+0x10/0x10 ? __lock_acquire+0xd6a/0x59e0 ? nvme_tcp_get_address+0xc2/0x1e0 [nvme_tcp] nvme_tcp_get_address+0xc2/0x1e0 [nvme_tcp] ? __pfx_nvme_tcp_get_address+0x10/0x10 [nvme_tcp] nvme_sysfs_show_address+0x81/0xc0 [nvme_core] dev_attr_show+0x42/0x80 ? __asan_memset+0x1f/0x40 sysfs_kf_seq_show+0x1f0/0x370 seq_read_iter+0x2cb/0x1130 ? rw_verify_area+0x3b1/0x590 ? __mutex_lock+0x433/0x1220 vfs_read+0x6a6/0xa20 ? lockdep_hardirqs_on+0x78/0x100 ? __pfx_vfs_read+0x10/0x10 ksys_read+0xf7/0x1d0 ? __pfx_ksys_read+0x10/0x10 ? __x64_sys_openat+0x105/0x1d0 do_syscall_64+0x93/0x180 ? lockdep_hardirqs_on_prepare+0x16d/0x400 ? do_syscall_64+0x9f/0x180 ? lockdep_hardirqs_on+0x78/0x100 ? do_syscall_64+0x9f/0x180 ? __pfx_ksys_read+0x10/0x10 ? lockdep_hardirqs_on_prepare+0x16d/0x400 ? do_syscall_64+0x9f/0x180 ? lockdep_hardirqs_on+0x78/0x100 ? do_syscall_64+0x9f/0x180 ? lockdep_hardirqs_on_prepare+0x16d/0x400 ? do_syscall_64+0x9f/0x180 ? lockdep_hardirqs_on+0x78/0x100 ? do_syscall_64+0x9f/0x180 ? lockdep_hardirqs_on_prepare+0x16d/0x400 ? do_syscall_64+0x9f/0x180 ? lockdep_hardirqs_on+0x78/0x100 ? do_syscall_64+0x9f/0x180 ? lockdep_hardirqs_on_prepare+0x16d/0x400 ? do_syscall_64+0x9f/0x180 ? lockdep_hardirqs_on+0x78/0x100 ? do_syscall_64+0x9f/0x180 ? do_syscall_64+0x9f/0x180 entry_SYSCALL_64_after_hwframe+0x76/0x7e RIP: 0033:0x7f9713f55cfa Code: 55 48 89 e5 48 83 ec 20 48 89 55 e8 48 89 75 f0 89 7d f8 e8 e8 74 f8 ff 48 8b 55 e8 48 8b 75 f0 4 ---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.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The vulnerable function `nvme_tcp_get_address()` is only entered through a local `read()` syscall on the sysfs attribute `/sys/class/nvme/nvmeN/address` (`nvme_sysfs_show_address` → `ctrl->ops->get_address`), so the attacker must have local access to the host. A remote NVMe/TCP target or on-path attacker can drive the other half of the race (connection drop → `nvme_tcp_error_recovery_work` → `nvme_tcp_free_queue()`/`mutex_destroy` → reconnect `mutex_init`), but the vulnerable code itself is only reachable locally. AC:L - The attacker drives both sides of the race: an unlimited loop of `read()` on the world-readable address attribute plus repeated controller reset/reconnect cycles (root-triggered reset, or remotely induced error recovery by flapping the TCP connection), and the commit notes the window is hit by simple repetition of blktests nvme/014. A narrow window that can be retried indefinitely by the attacker is Low complexity. PR:L - The `address` attribute is declared `DEVICE_ATTR(address, S_IRUGO, ...)` (mode 0444), so any unprivileged local user can open and read it in a tight loop to enter `nvme_tcp_get_address()` and hit the destroyed/re-initialized `queue->queue_lock`. No capability, namespace, or CAP_SYS_ADMIN check exists on this path. UI:N - No victim action is needed — the attacker's own reads of the sysfs file supply the racing thread, and the teardown side occurs automatically on controller error recovery/reconnect. System daemons (udisksd, udev, nvme-cli) additionally read this attribute unprompted, as shown in the reported trace. S:U - The lock-lifetime bug and its consequences (WARN, hung task, released-socket access) are confined to the kernel of the affected host; no VM, IOMMU, or sandbox boundary is crossed. This is a standard same-authority kernel defect. C:H - `mutex_destroy()` in `nvme_tcp_free_queue()` and the subsequent `mutex_init()` in `nvme_tcp_alloc_queue()` on the same live memory void the mutual exclusion that commit 76d54bf20cdc added, re-opening access to a released socket: `kernel_getsockname(queue->sock)` can run on a `struct socket` whose file was already `fput()`ed, reading freed memory whose contents are then formatted into the `src_addr=` string returned to the unprivileged reader. That is a use-after-free read with the leaked bytes delivered straight to userspace. I:H - The same use-after-free reaches an indirect call through `sock->ops->getname` on freed memory, and `mutex_init()` resetting `owner`, `wait_lock`, and `wait_list` while another task holds or waits on the mutex corrupts the wait list — both give heap-grooming-based control-flow/write primitives per use-after-free scoring guidance. A:H - The reported and reproduced effect is a `DEBUG_LOCKS_WARN_ON(lock->magic != lock)` WARNING in `__mutex_lock()`, which is a panic on the many hardened/cloud kernels running `panic_on_warn`. The broken locking additionally yields NULL-pointer dereference of `queue->sock`, use-after-free oopses, and orphaned mutex waiters that hang indefinitely.
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 4.7 | medium | CISA-ADP · adp | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 3f2304f8c6d6ed97849057bd16fee99e434ca796 to < 4f946479b326a3cbb193f2b8368aed9269514c35 (affected · git)3f2304f8c6d6ed97849057bd16fee99e434ca796 to < 975cb1d2121511584695d0e47fdb90e6782da007 (affected · git)3f2304f8c6d6ed97849057bd16fee99e434ca796 to < e15cebc1b21856944b387f4abd03b66bd3d4f027 (affected · git)3f2304f8c6d6ed97849057bd16fee99e434ca796 to < 782373ba27660ba7d330208cf5509ece6feb4545 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.0 (affected)0 to < 5.0 (unaffected · semver)6.1.118 through 6.1.* (unaffected · semver)6.6.62 through 6.6.* (unaffected · semver)6.11.9 through 6.11.* (unaffected · semver)6.12 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-362 CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
References
5- https://git.kernel.org/stable/c/4f946479b326a3cbb193f2b8368aed9269514c35
- https://git.kernel.org/stable/c/782373ba27660ba7d330208cf5509ece6feb4545
- https://git.kernel.org/stable/c/975cb1d2121511584695d0e47fdb90e6782da007
- https://git.kernel.org/stable/c/e15cebc1b21856944b387f4abd03b66bd3d4f027
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html
Provider assertions
3Linux · cna
nvme: tcp: avoid race between queue_lock lock and destroy
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 352e1622fcef3876d7b74799c713fd29b916df21f501bd6478efb1b7aa237e99
- Ingested
- 23 Sep 2026, 08:30:55 UTC
- Source record
- Official CVE record