CVE-2026-46003: net: qrtr: ns: Limit the total number of nodes
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
net: qrtr: ns: Limit the total number of nodes
Currently, the nameserver doesn't limit the number of nodes it handles. This can be an attack vector if a malicious client starts registering random nodes, leading to memory exhaustion.
Hence, limit the maximum number of nodes to 64. Note that, limit of 64 is chosen based on the current platform requirements. If requirement changes in the future, this limit can be increased.
The Linux kernel CVE team has assigned CVE-2026-46003 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.7 with commit 0c2204a4ad710d95d348ea006f14ba926e842ffd and fixed in 6.6.140 with commit 4c46413661431aa60fb134cd4ecdf8beaa39f824 Issue introduced in 5.7 with commit 0c2204a4ad710d95d348ea006f14ba926e842ffd and fixed in 6.12.86 with commit 4665a29c08e1b36bc9db4814f9dde3d23e8fd1b0 Issue introduced in 5.7 with commit 0c2204a4ad710d95d348ea006f14ba926e842ffd and fixed in 6.18.27 with commit 5cf6d5e5e3b804a44692fbf548a5179442e2e923 Issue introduced in 5.7 with commit 0c2204a4ad710d95d348ea006f14ba926e842ffd and fixed in 7.0.4 with commit 8022876894d09ae485b499058c3357da683bcc5d Issue introduced in 5.7 with commit 0c2204a4ad710d95d348ea006f14ba926e842ffd and fixed in 7.1-rc1 with commit 27d5e84e810b0849d08b9aec68e48570461ce313
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-46003
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:
net/qrtr/ns.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/4c46413661431aa60fb134cd4ecdf8beaa39f824 https://git.kernel.org/stable/c/4665a29c08e1b36bc9db4814f9dde3d23e8fd1b0 https://git.kernel.org/stable/c/5cf6d5e5e3b804a44692fbf548a5179442e2e923 https://git.kernel.org/stable/c/8022876894d09ae485b499058c3357da683bcc5d https://git.kernel.org/stable/c/27d5e84e810b0849d08b9aec68e48570461ce313