CVE-2026-139149
HIGH 7.5CVSS 3.1nvmet: don't clear sq->ctrl for a Connect with sqsize 0
In the Linux kernel, the following vulnerability has been resolved:
nvmet: don't clear sq->ctrl for a Connect with sqsize 0
nvmet_install_queue() checks sqsize first and jumps to err on zero,
where sq->ctrl is set to NULL. Since commit b71df12605ca the cmpxchg()
that sets sq->ctrl comes after the checks, so err now undoes a bind
that this call never made. Over RDMA a host can send two Connects
together and the second is parsed before the first executes, so a
second Connect with sqsize 0 clears the sq->ctrl the first one set.
The reference it held is never dropped and the controller leaks, with
its cntlid, until reboot. The discovery subsystem lets any host do
that, 20 connections leak around 10 controllers. A pending AER on such
a queue hangs nvmet_sq_destroy() forever, and a queue can keep its
"authenticated" mark across a rebind.
Return the status directly, as the two checks after it do, so err is
only reached after this call's cmpxchg() succeeded.
- Published
- 30 Nov 2026
- Last modified
- 1 Dec 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Received
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| CVE List | Linux | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | Linux | Linux | >= b71df12605cabab47d58bd926badaf4130280e4d, < 6c6d541fdc556659d6e8d6d608d38fe03bbd82cd; >= b71df12605cabab47d58bd926badaf4130280e4d, < b6c4b529ef42c6995a75c2384a19fbd4f3740bb0; >= b71df12605cabab47d58bd926badaf4130280e4d, < 24177b0909ed41af78e7b5f73e864bfc116fd806; >= b71df12605cabab47d58bd926badaf4130280e4d, < 6c28bf6920b09baec6852d3ca58b52778e1464b9; >= b71df12605cabab47d58bd926badaf4130280e4d, < 24b9e5fb0e160802950aa0caba19576edcc9094e; >= b71df12605cabab47d58bd926badaf4130280e4d, < 961ff9e3a453665574fa143ea5f496b97350333a; >= b71df12605cabab47d58bd926badaf4130280e4d, < 89480d137bf0d943a82c64f86ae2407a15276b5e | 6c6d541fdc556659d6e8d6d608d38fe03bbd82cd, b6c4b529ef42c6995a75c2384a19fbd4f3740bb0, 24177b0909ed41af78e7b5f73e864bfc116fd806, 6c28bf6920b09baec6852d3ca58b52778e1464b9, 24b9e5fb0e160802950aa0caba19576edcc9094e, 961ff9e3a453665574fa143ea5f496b97350333a, 89480d137bf0d943a82c64f86ae2407a15276b5e |
| CVE List | Linux | Linux | = 5.15 |
References
- https://git.kernel.org/stable/c/24177b0909ed41af78e7b5f73e864bfc116fd806
- https://git.kernel.org/stable/c/24b9e5fb0e160802950aa0caba19576edcc9094e
- https://git.kernel.org/stable/c/6c28bf6920b09baec6852d3ca58b52778e1464b9
- https://git.kernel.org/stable/c/6c6d541fdc556659d6e8d6d608d38fe03bbd82cd
- https://git.kernel.org/stable/c/89480d137bf0d943a82c64f86ae2407a15276b5e
- https://git.kernel.org/stable/c/961ff9e3a453665574fa143ea5f496b97350333a
- https://git.kernel.org/stable/c/b6c4b529ef42c6995a75c2384a19fbd4f3740bb0
History
- 1 Dec 2026 06:48 UTC · NVD: scored 7.5
- 1 Dec 2026 05:50 UTC · CVE List: scored 7.5
- 30 Nov 2026 14:45 UTC · NVD: first stored (published 30 Nov 2026)
- 30 Nov 2026 13:58 UTC · CVE List: first stored (published 30 Nov 2026)