net: qrtr: ns: Free the node during ctrl_cmd_bye()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 0c2204a4ad710d95d348ea006f14ba926e842ffd · < 154fc7fe3f62c46891c3c4302f4b5b5391c932e6| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
net: qrtr: ns: Free the node during ctrl_cmd_bye()
A node sends the BYE packet when it is about to go down. So the nameserver should advertise the removal of the node to all remote and local observers and free the node finally. But currently, the nameserver doesn't free the node memory even after processing the BYE packet. This causes the node memory to leak.
Hence, remove the node from Xarray list and free the node memory during both success and failure case of ctrl_cmd_bye().
From the CVE record · Linux
The Linux kernel QRTR nameserver does not free a node after processing its BYE packet, causing a memory leak when the node goes down. The input does not establish whether an attacker can trigger this behavior or specify network access, authentication, or user-interaction requirements.
Engineers running Linux kernels with the QRTR nameserver should check their versions against the vendor advisory; affected versions are not specified.