[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <c9185d57-0c01-4f8b-80a9-dbdf5062586a@web.de>
Date: Sun, 30 Mar 2025 13:53:11 +0200
From: Markus Elfring <Markus.Elfring@....de>
To: Abdun Nihaal <abdun.nihaal@...il.com>, linux-wireless@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
Johannes Berg <johannes@...solutions.net>
Cc: LKML <linux-kernel@...r.kernel.org>,
Alexandre Belloni <alexandre.belloni@...tlin.com>,
Alexey Khoroshilov <khoroshilov@...ras.ru>,
Claudiu Beznea <claudiu.beznea@...on.dev>,
Emmanuel Grumbach <emmanuel.grumbach@...el.com>,
Erick Archer <erick.archer@...look.com>,
"John W. Linville" <linville@...driver.com>, Kalle Valo <kvalo@...nel.org>,
Miri Korenblit <miriam.rachel.korenblit@...el.com>,
Nicolas Ferre <nicolas.ferre@...rochip.com>
Subject: Re: [PATCH] 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.
* A corresponding subsystem specification can usually be helpful here.
https://web.git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/log/drivers/net/wireless/atmel/at76c50x-usb.c?h=next-20250328
* Would you like to append parentheses to any function names?
Regards,
Markus
Powered by blists - more mailing lists