Re: [PATCH net] ax25: Fix refcount leak issues of ax25_dev

From: Lars Kellogg-Stedman
Date: Fri May 03 2024 - 19:49:59 EST


On Fri, May 03, 2024 at 11:36:37PM +0300, Dan Carpenter wrote:
> Could you test this diff?

With that diff applied, there is no kernel panic, but I see the same
refcount errors that I saw before the latest series of patches from
Duoming:

refcount_t: decrement hit 0; leaking memory.
refcount_t: underflow; use-after-free.

--
Lars Kellogg-Stedman <lars@xxxxxxxxxx> | larsks @ {irc,twitter,github}
http://blog.oddbit.com/ | N1LKS