Skip to contentSkip to conversation

CVE-2026-98152: nvmet-rdma: fix queue leak when connect backlog is exceeded

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 25

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

nvmet-rdma: fix queue leak when connect backlog is exceeded

When pending disconnecting queues exceed the backlog limit, the connect path only drops the device reference and leaks the newly allocated queue and its IB resources.

The Linux kernel CVE team has assigned CVE-2026-98152 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 6.12.96 with commit d65fe42820b890a6a4644de0a95a812471f79ad3 and fixed in 6.12.111 with commit 287420cde9d6669abcd2878c344db67423eb7df6
	Issue introduced in 6.18.39 with commit a8803c4f0ac3fa7df5551bbb5a8800c434a94357 and fixed in 6.18.53 with commit 4f7cf573cdf0ee857448b9b1967d686b07c71e7d
	Issue introduced in 7.2 with commit badc53620fe813b3a9f727ef9526f98567c2c898 and fixed in 7.2.7 with commit 60d56bf0b14d3c545bacb9aeef92a7e6f2cf0caa
	Issue introduced in 7.2 with commit badc53620fe813b3a9f727ef9526f98567c2c898 and fixed in 7.3-rc2 with commit fb1ed67788e21832b614c23767a088c08cfdd2f2
	Issue introduced in 7.1.4 with commit 5828517d17eda27f21d29ea14800c9e0a57bad11

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-98152

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
drivers/nvme/target/rdma.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/186414a6a1a34e081b07e8873622f90402346235
	https://git.kernel.org/stable/c/e48f9d1076f8c62c3969588d638602b94aaeff12
	https://git.kernel.org/stable/c/32e598324edc3ebb1ac9362d5b9fc30ce0de4873
	https://git.kernel.org/stable/c/287420cde9d6669abcd2878c344db67423eb7df6
	https://git.kernel.org/stable/c/4f7cf573cdf0ee857448b9b1967d686b07c71e7d
	https://git.kernel.org/stable/c/60d56bf0b14d3c545bacb9aeef92a7e6f2cf0caa
	https://git.kernel.org/stable/c/fb1ed67788e21832b614c23767a088c08cfdd2f2