CVE-2024-50167Published Nov 7, 2024 · Nov 7Updated Oct 28
be2net: fix potential memory leak in be_xmit()
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 760c295e0e8d982917d004c9095cff61c0cbd803 · < 641c1beed52bf3c6deb0193fe4d38ec9ff75d2ae| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
be2net: fix potential memory leak in be_xmit()
The be_xmit() returns NETDEV_TX_OK without freeing skb in case of be_xmit_enqueue() fails, add dev_kfree_skb_any() to fix it.
From the CVE record · Linux
The Linux kernel's be2net driver can leak memory when be_xmit_enqueue() fails because be_xmit() returns without freeing the skb. The input does not establish whether an attacker can trigger this condition, or whether network access, local access, authentication, or user interaction is required.
Engineers running Linux kernels with the be2net driver should check their versions; affected versions were not provided.