Re: [syzbot] [mm?] [fs?] BUG: sleeping function called from invalid context in folio_mc_copy

From: syzbot
Date: Sun Mar 30 2025 - 00:21:12 EST


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


Tested on:

commit: 462c2cb1 mm/migrate: avoid atomic context on buffer_mi..
git tree: https://github.com/linux-kdevops/linux.git 20250529-ext4-migration-fix
console output: https://syzkaller.appspot.com/x/log.txt?x=141e0404580000
kernel config: https://syzkaller.appspot.com/x/.config?x=1b79fdf1dd3782cc
dashboard link: https://syzkaller.appspot.com/bug?extid=f3c6fda1297c748a7076
compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40

Note: no patches were applied.