net: ncsi: fix skb leak in error paths
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 138635cc27c9737f940c3aa80912ff7a61c825af · < b70c4e5e711931cdd56e6e905737b72f1e649189| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
net: ncsi: fix skb leak in error paths
Early return paths in NCSI RX and AEN handlers fail to release the received skb, resulting in a memory leak.
Specifically, ncsi_aen_handler() returns on invalid AEN packets without consuming the skb. Similarly, ncsi_rcv_rsp() exits early when failing to resolve the NCSI device, response handler, or request, leaving the skb unfreed.
From the CVE record · Linux
Linux kernel NCSI receive and AEN handlers can fail to free received packets on early error paths. Invalid AEN packets or failures to resolve an NCSI device, response handler, or request can cause a memory leak. The input does not specify attacker access requirements, authentication requirements, or user interaction.
Teams running Linux kernels with NCSI support should check their versions; affected versions are not specified.