Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 99c457d902cf90bdc0df5d57e6156ec108711068 before d6c91fc732698642f70c688324c98551b97b412c; affected 99c457d902cf90bdc0df5d57e6156ec108711068 before 594ff8bb69e239678a8baa461827ce4bb90eff8f; affected 99c457d902cf90bdc0df5d57e6156ec108711068 before 1c3c234af9407256ed670c8752923a672eea4225; affected 99c457d902cf90bdc0df5d57e6156ec108711068 before 278bfed4529a0c9c9119f5a52ddafe69db61a75c; affected 99c457d902cf90bdc0df5d57e6156ec108711068 before fb905e69941b44e03fe1a24e95328d45442b6d6d; affected 99c457d902cf90bdc0df5d57e6156ec108711068 before 4d42aba0ee49c0aa015c50c4f2a07cf8fa1c3a49; affected 99c457d902cf90bdc0df5d57e6156ec108711068 before 53d1548612670aa8b5d89745116cc33d9d172863 |
| Linux / Linux | affected 5.7; unaffected 0 before 5.7; unaffected 5.15.198 through 5.15.*; unaffected 6.1.160 through 6.1.*; unaffected 6.6.120 through 6.6.*; unaffected 6.12.63 through 6.12.*; unaffected 6.17.13 through 6.17.*; unaffected 6.18.2 through 6.18.*; unaffected 6.19 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/d6c91fc732698642f70c688324c98551b97b412c
- https://git.kernel.org/stable/c/594ff8bb69e239678a8baa461827ce4bb90eff8f
- https://git.kernel.org/stable/c/1c3c234af9407256ed670c8752923a672eea4225
- https://git.kernel.org/stable/c/278bfed4529a0c9c9119f5a52ddafe69db61a75c
- https://git.kernel.org/stable/c/fb905e69941b44e03fe1a24e95328d45442b6d6d
- https://git.kernel.org/stable/c/4d42aba0ee49c0aa015c50c4f2a07cf8fa1c3a49
- https://git.kernel.org/stable/c/53d1548612670aa8b5d89745116cc33d9d172863