# CVE-2026-139149

- Bağlantı: https://www.allsafe.com.tr/cve-2026-139149/
- Yayımlanma: 2026-11-30T17:18:32+03:00
- Yazar: Postmaster

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.

Bu kayıt NIST NVD kaynağından aktarılmıştır. Etkilenen sürümler, güncel değerlendirme
ve üretici referansları için kaynak kaydı inceleyin.

Kaynak: [NIST NVD — özgün kaydı inceleyin ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-139149)
