tipc: fix memory leak in tipc_link_xmit
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 365ad353c2564bba8835290061308ba825166b3a · < 7c5957f7905b4aede9d7a559d271438f3ca9e852| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
tipc: fix memory leak in tipc_link_xmit
In case the backlog transmit queue for system-importance messages is overloaded, tipc_link_xmit() returns -ENOBUFS but the skb list is not purged. This leads to memory leak and failure when a skb is allocated.
This commit fixes this issue by purging the skb list before tipc_link_xmit() returns.
From the CVE record · Linux
When the backlog transmit queue for system-importance messages is overloaded, tipc_link_xmit() returns without purging an skb list. This leaks memory and can cause skb allocation failures. The input does not specify how an attacker could trigger the condition or whether network access, authentication, or user interaction is required.
Operators running Linux kernels with the affected tipc_link_xmit() code should check; affected versions are not specified.