diff options
| author | Abdun Nihaal <[email protected]> | 2025-03-30 10:31:10 +0000 |
|---|---|---|
| committer | Johannes Berg <[email protected]> | 2025-04-02 08:43:56 +0000 |
| commit | 27c7e63b3cb1a20bb78ed4a36c561ea4579fd7da (patch) | |
| tree | a3b67882e7172eaff144078635aaa8fd837bd203 /net/unix/af_unix.c | |
| parent | wifi: add wireless list to MAINTAINERS (diff) | |
| download | kernel-27c7e63b3cb1a20bb78ed4a36c561ea4579fd7da.tar.gz kernel-27c7e63b3cb1a20bb78ed4a36c561ea4579fd7da.zip | |
wifi: at76c50x: fix use after free access in at76_disconnect
The memory pointed to by priv is freed at the end of at76_delete_device
function (using ieee80211_free_hw). But the code then accesses the udev
field of the freed object to put the USB device. This may also lead to a
memory leak of the usb device. Fix this by using udev from interface.
Fixes: 29e20aa6c6af ("at76c50x-usb: fix use after free on failure path in at76_probe()")
Signed-off-by: Abdun Nihaal <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
