CVE-2024-36954Published May 30, 2024 · May 30Updated 3d ago
tipc: fix a possible memleak in tipc_buf_append
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ b7df21cf1b79ab7026f545e7bf837bd5750ac026 · < 614c5a5ae45a921595952117b2e2bd4d4bf9b574| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
tipc: fix a possible memleak in tipc_buf_append
__skb_linearize() doesn't free the skb when it fails, so move '*buf = NULL' after __skb_linearize(), so that the skb can be freed on the err path.
From the CVE record · Linux
The Linux kernel's tipc_buf_append can leak memory when __skb_linearize() fails because the error path does not free the skb. The input does not specify how an attacker could trigger the failure or whether access or user interaction is required.
Teams running the Linux kernel should check their versions; affected versions are not specified.