Re: [PATCH net-next V2] can: j1939: fix uaf warning in j1939_session_destroy
From: Edward Adam Davis
Date: Thu Aug 08 2024 - 07:21:49 EST
On Thu, 8 Aug 2024 09:49:18 +0200, Oleksij Rempel wrote:
> > the skb to the queue and increase the skb reference count through it.
> >
> > Reported-and-tested-by: syzbot+ad601904231505ad6617@xxxxxxxxxxxxxxxxxxxxxxxxx
> > Closes: https://syzkaller.appspot.com/bug?extid=ad601904231505ad6617
> > Signed-off-by: Edward Adam Davis <eadavis@xxxxxx>
>
> This patch breaks j1939.
> The issue can be reproduced by running following commands:
I tried to reproduce the problem using the following command, but was
unsuccessful. Prompt me to install j1939cat and j1939acd, and there are
some other errors.
Can you share the logs from when you reproduced the problem?
> git clone git@xxxxxxxxxx:linux-can/can-tests.git
> cd can-tests/j1939/
> ip link add type vcan
> ip l s dev vcan0 up
> ./run_all.sh vcan0 vcan0
BR,
--
Edward