Skip to contentSkip to conversation

CVE-2026-92523: RDMA/nldev: validate dynamic counter attribute length

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 17

lore
Share & tools
lore
#0 lore raw

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

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

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

RDMA/nldev: validate dynamic counter attribute length

RDMA_NLDEV_ATTR_STAT_HWCOUNTERS is a nested attribute whose children are consumed directly with nla_get_u32(). The top-level policy validates only the container, so it does not establish the fixed shape of each child.

Require every child payload to be exactly one u32 before reading it.

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

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

	Issue introduced in 5.16 with commit 3c3c1f1416392382faa0238e76a70d7810aab2ef and fixed in 6.1.188 with commit 7828d68ae8cad3463e38def5c91668c84e722596
	Issue introduced in 5.16 with commit 3c3c1f1416392382faa0238e76a70d7810aab2ef and fixed in 6.6.157 with commit f8e9315236c8b5155158c6955a758e7960b143e6
	Issue introduced in 5.16 with commit 3c3c1f1416392382faa0238e76a70d7810aab2ef and fixed in 6.12.110 with commit d00b0d808ca706a04bd198827319a4a287eff82a
	Issue introduced in 5.16 with commit 3c3c1f1416392382faa0238e76a70d7810aab2ef and fixed in 6.18.52 with commit 0bfa897e3e1a61d172f95675b353168bc9290312
	Issue introduced in 5.16 with commit 3c3c1f1416392382faa0238e76a70d7810aab2ef and fixed in 7.2.6 with commit c57e238b475e8e1e514499772b8c0db5768be93f
	Issue introduced in 5.16 with commit 3c3c1f1416392382faa0238e76a70d7810aab2ef and fixed in 7.3-rc1 with commit 74f49255492a62658f36bf2578d7916f1c6ffad1

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

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/infiniband/core/nldev.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/7828d68ae8cad3463e38def5c91668c84e722596
	https://git.kernel.org/stable/c/f8e9315236c8b5155158c6955a758e7960b143e6
	https://git.kernel.org/stable/c/d00b0d808ca706a04bd198827319a4a287eff82a
	https://git.kernel.org/stable/c/0bfa897e3e1a61d172f95675b353168bc9290312
	https://git.kernel.org/stable/c/c57e238b475e8e1e514499772b8c0db5768be93f
	https://git.kernel.org/stable/c/74f49255492a62658f36bf2578d7916f1c6ffad1