Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 0c2204a4ad710d95d348ea006f14ba926e842ffd before b48fc702b20233b809f01053232c3cd5083c97b4; affected 0c2204a4ad710d95d348ea006f14ba926e842ffd before 991c431077b19176d3fe3bb54054c063776a8cdc; affected 0c2204a4ad710d95d348ea006f14ba926e842ffd before 94914731ca0b99899dceadd80d2df00584a688ca; affected 0c2204a4ad710d95d348ea006f14ba926e842ffd before e6f6cd501fb54060940a6eb3f4103eeb5e426ae7; affected 0c2204a4ad710d95d348ea006f14ba926e842ffd before 3efaad55cad1ded429e3a873bfece389058a526b; affected 0c2204a4ad710d95d348ea006f14ba926e842ffd before 35fb4a0c077c5d1049c2628b769e0a1b1e65df0d; affected 0c2204a4ad710d95d348ea006f14ba926e842ffd before 868202aa2adae427060a42d5bd663b4d782ec02c; affected 0c2204a4ad710d95d348ea006f14ba926e842ffd before d5ee2ff98322337951c56398e79d51815acbf955 |
| Linux / Linux | affected 5.7; unaffected 0 before 5.7; unaffected 5.10.265 through 5.10.*; unaffected 5.15.216 through 5.15.*; unaffected 6.1.183 through 6.1.*; unaffected 6.6.140 through 6.6.*; unaffected 6.12.86 through 6.12.*; unaffected 6.18.27 through 6.18.*; unaffected 7.0.4 through 7.0.*; unaffected 7.1 through * |
CWE
No CWE identifiers supplied.
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