# CVE-2024-53100: nvme: tcp: avoid race between queue\_lock lock and destroy

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.24% (percentile 9, 2026-11-26)
- **CWE:** CWE-362
- **Published:** 2024-11-25T21:21:28.234Z
- **Modified:** 2026-08-05T11:43:42.289Z

## Who should check

- Anyone running Linux \>= 3f2304f8c6d6ed97849057bd16fee99e434ca796, \< 4f946479b326a3cbb193f2b8368aed9269514c35; \>= 3f2304f8c6d6ed97849057bd16fee99e434ca796, \< 975cb1d2121511584695d0e47fdb90e6782da007; \>= 3f2304f8c6d6ed97849057bd16fee99e434ca796, \< e15cebc1b21856944b387f4abd03b66bd3d4f027; \>= 3f2304f8c6d6ed97849057bd16fee99e434ca796, \< 782373ba27660ba7d330208cf5509ece6feb4545
- Anyone running Linux 5.0

## 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---

## Affected and fixed versions

- Linux: \>= 3f2304f8c6d6ed97849057bd16fee99e434ca796, \< 4f946479b326a3cbb193f2b8368aed9269514c35; \>= 3f2304f8c6d6ed97849057bd16fee99e434ca796, \< 975cb1d2121511584695d0e47fdb90e6782da007; \>= 3f2304f8c6d6ed97849057bd16fee99e434ca796, \< e15cebc1b21856944b387f4abd03b66bd3d4f027; \>= 3f2304f8c6d6ed97849057bd16fee99e434ca796, \< 782373ba27660ba7d330208cf5509ece6feb4545 (cvelist)
- Linux: 5.0 (cvelist)

## Mitigation

- Upgrade Linux to 782373ba27660ba7d330208cf5509ece6feb4545 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-53100. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-53100.md
Affected: Linux >= 3f2304f8c6d6ed97849057bd16fee99e434ca796, < 4f946479b326a3cbb193f2b8368aed9269514c35; >= 3f2304f8c6d6ed97849057bd16fee99e434ca796, < 975cb1d2121511584695d0e47fdb90e6782da007; >= 3f2304f8c6d6ed97849057bd16fee99e434ca796, < e15cebc1b21856944b387f4abd03b66bd3d4f027; >= 3f2304f8c6d6ed97849057b…
Fixed in: Linux 4f946479b326a3cbb193f2b8368aed9269514c35, Linux 975cb1d2121511584695d0e47fdb90e6782da007, Linux 782373ba27660ba7d330208cf5509ece6feb4545

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-53100 being exploited?

There is no confirmed exploitation: CVE-2024-53100 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.24% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-53100?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-53100?

Linux \>= 3f2304f8c6d6ed97849057bd16fee99e434ca796, \< 4f946479b326a3cbb193f2b8368aed9269514c35; \>= 3f2304f8c6d6ed97849057bd16fee99e434ca796, \< 975cb1d2121511584695d0e47fdb90e6782da007; \>= 3f2304f8c6d6ed97849057bd16fee99e434ca796, \< e15cebc1b21856944b387f4abd03b66bd3d4f027; \>= 3f2304f8c6d6ed97849057bd16fee99e434ca796, \< 782373ba27660ba7d330208cf5509ece6feb4545; Linux 5.0.

### Is there a fix for CVE-2024-53100?

Yes. Fixed in Linux 4f946479b326a3cbb193f2b8368aed9269514c35, Linux 975cb1d2121511584695d0e47fdb90e6782da007, Linux 782373ba27660ba7d330208cf5509ece6feb4545. Upgrade Linux to 782373ba27660ba7d330208cf5509ece6feb4545 or later.

### How do I check if I'm affected by CVE-2024-53100?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/4f946479b326a3cbb193f2b8368aed9269514c35>
- patch: <https://git.kernel.org/stable/c/975cb1d2121511584695d0e47fdb90e6782da007>
- patch: <https://git.kernel.org/stable/c/e15cebc1b21856944b387f4abd03b66bd3d4f027>
- patch: <https://git.kernel.org/stable/c/782373ba27660ba7d330208cf5509ece6feb4545>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-53100>

HTML: <https://flawdb.com/CVE-2024-53100> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-53100>
