mt76: mt7615: Fix memory leak in mt7615_mcu_wtbl_sta_add()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 99c457d902cf90bdc0df5d57e6156ec108711068 · < 4d42aba0ee49c0aa015c50c4f2a07cf8fa1c3a49| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
mt76: mt7615: Fix memory leak in mt7615_mcu_wtbl_sta_add()
In mt7615_mcu_wtbl_sta_add(), an skb sskb is allocated. If the subsequent call to mt76_connac_mcu_alloc_wtbl_req() fails, the function returns an error without freeing sskb, leading to a memory leak.
Fix this by calling dev_kfree_skb() on sskb in the error handling path to ensure it is properly released.
From the CVE record · Linux
In the Linux kernel's mt7615 driver, an error path in mt7615_mcu_wtbl_sta_add() fails to free an allocated buffer, causing a memory leak. The input does not establish how an attacker could trigger the error or whether access, authentication, or user interaction is required.
Teams running Linux kernels with the mt7615 driver should check their deployments; affected versions are not specified.