net: qrtr: ns: Limit the maximum number of lookups
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 0c2204a4ad710d95d348ea006f14ba926e842ffd · < 20855cef7e659ef84ac73251256fa530819b2346| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel QRTR nameserver did not limit how many lookups a client could create. A malicious local client could flood it with NEW_LOOKUP messages over the same socket; the issue is restricted to local clients and does not require user interaction.
Engineers running Linux kernels with the QRTR nameserver should check their versions against the vendor advisory; affected versions were not specified.