Re: [syzbot] [mm?] general protection fault in sys_mremap

From: Lorenzo Stoakes
Date: Wed Apr 02 2025 - 07:50:00 EST


On Wed, Apr 02, 2025 at 04:46:03AM -0700, syzbot wrote:
> Hello,
>
> syzbot has tested the proposed patch but the reproducer is still triggering an issue:
> unregister_netdevice: waiting for DEV to become free
>
> unregister_netdevice: waiting for batadv0 to become free. Usage count = 3

Yeah... this looks like a syzbot snafu.

I have tested the fix against the repro _manually_ and confirmed it works.

But I guess, let's try again? For the sake of... something :P

#syz test: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git/ mm-stable

>
>
> Tested on:
>
> commit: e20706d5 mseal sysmap: add arch-support txt
> git tree: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git/ mm-stable
> console output: https://syzkaller.appspot.com/x/log.txt?x=167a694c580000
> kernel config: https://syzkaller.appspot.com/x/.config?x=ccf540055069887f
> dashboard link: https://syzkaller.appspot.com/bug?extid=e3385f43b2897a19be24
> compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
>
> Note: no patches were applied.