Description
In the Linux kernel, the following vulnerability has been resolved: net: qrtr: ns: Limit the maximum server registration per node Current code does no bound checking on the number of servers added per node. A malicious client can flood NEW_SERVER messages and exhaust memory. Fix this issue by limiting the maximum number of server registrations to 256 per node. If the NEW_SERVER message is received for an old port, then don't restrict it as it will get replaced. While at it, also rate limit the error messages in the failure path of qrtr_ns_worker(). Note that the limit of 256 is chosen based on the current platform requirements. If requirement changes in the future, this limit can be increased.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
0c2204a4ad710d95d348ea006f14ba926e842ffd to < b48fc702b20233b809f01053232c3cd5083c97b4affected0c2204a4ad710d95d348ea006f14ba926e842ffd to < 991c431077b19176d3fe3bb54054c063776a8cdcaffected0c2204a4ad710d95d348ea006f14ba926e842ffd to < 94914731ca0b99899dceadd80d2df00584a688caaffected0c2204a4ad710d95d348ea006f14ba926e842ffd to < e6f6cd501fb54060940a6eb3f4103eeb5e426ae7affected0c2204a4ad710d95d348ea006f14ba926e842ffd to < 3efaad55cad1ded429e3a873bfece389058a526baffected0c2204a4ad710d95d348ea006f14ba926e842ffd to < 35fb4a0c077c5d1049c2628b769e0a1b1e65df0daffected0c2204a4ad710d95d348ea006f14ba926e842ffd to < 868202aa2adae427060a42d5bd663b4d782ec02caffected0c2204a4ad710d95d348ea006f14ba926e842ffd to < d5ee2ff98322337951c56398e79d51815acbf955affected
Linux Linux
Default version status: affected
5.7affected0 to < 5.7unaffected5.10.265 to ≤ 5.10.*unaffected5.15.216 to ≤ 5.15.*unaffected6.1.183 to ≤ 6.1.*unaffected6.6.140 to ≤ 6.6.*unaffected6.12.86 to ≤ 6.12.*unaffected6.18.27 to ≤ 6.18.*unaffected7.0.4 to ≤ 7.0.*unaffected7.1 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/b48fc702b20233b809f01053232c3cd5083c97b4 ↗
- https://git.kernel.org/stable/c/991c431077b19176d3fe3bb54054c063776a8cdc ↗
- https://git.kernel.org/stable/c/94914731ca0b99899dceadd80d2df00584a688ca ↗
- https://git.kernel.org/stable/c/e6f6cd501fb54060940a6eb3f4103eeb5e426ae7 ↗
- https://git.kernel.org/stable/c/3efaad55cad1ded429e3a873bfece389058a526b ↗
- https://git.kernel.org/stable/c/35fb4a0c077c5d1049c2628b769e0a1b1e65df0d ↗
- https://git.kernel.org/stable/c/868202aa2adae427060a42d5bd663b4d782ec02c ↗
- https://git.kernel.org/stable/c/d5ee2ff98322337951c56398e79d51815acbf955 ↗