CVE-2026-46026: net: qrtr: ns: Limit the maximum number of lookups
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
net: qrtr: ns: Limit the maximum number of lookups
Current code does no bound checking on the number of lookups a client can perform. Though the code restricts the lookups to local clients, there is still a possibility of a malicious local client sending a flood of NEW_LOOKUP messages over the same socket.
Fix this issue by limiting the maximum number of lookups to 64 globally. Since the nameserver allows only atmost one local observer, this global lookup count will ensure that the lookups stay within the limit.
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-46026 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.7 with commit 0c2204a4ad710d95d348ea006f14ba926e842ffd and fixed in 6.6.140 with commit 0dbec101a7076e9b1e4bd1876f7cf07c56ff4ce3 Issue introduced in 5.7 with commit 0c2204a4ad710d95d348ea006f14ba926e842ffd and fixed in 6.12.86 with commit 76adf8f69b0bb3ab20be7c58f5d555027332d113 Issue introduced in 5.7 with commit 0c2204a4ad710d95d348ea006f14ba926e842ffd and fixed in 6.18.27 with commit 20855cef7e659ef84ac73251256fa530819b2346 Issue introduced in 5.7 with commit 0c2204a4ad710d95d348ea006f14ba926e842ffd and fixed in 7.0.4 with commit 2b930bc77e00cb27e1d6e1d497b3b596283465ef Issue introduced in 5.7 with commit 0c2204a4ad710d95d348ea006f14ba926e842ffd and fixed in 7.1-rc1 with commit 5640227d9a21c6a8be249a10677b832e7f40dc55
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-46026
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/0dbec101a7076e9b1e4bd1876f7cf07c56ff4ce3 https://git.kernel.org/stable/c/76adf8f69b0bb3ab20be7c58f5d555027332d113 https://git.kernel.org/stable/c/20855cef7e659ef84ac73251256fa530819b2346 https://git.kernel.org/stable/c/2b930bc77e00cb27e1d6e1d497b3b596283465ef https://git.kernel.org/stable/c/5640227d9a21c6a8be249a10677b832e7f40dc55