WARNING in __alloc_pages_slowpath

10 views
Skip to first unread message

syzbot

unread,
May 10, 2020, 7:19:15 PM5/10/20
to syzkaller...@googlegroups.com
Hello,

syzbot found the following crash on:

HEAD commit: 033c4ea4 Linux 4.19.122
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=160d5dec100000
kernel config: https://syzkaller.appspot.com/x/.config?x=7f9e43a505369285
dashboard link: https://syzkaller.appspot.com/bug?extid=6813b679296425cd9190
compiler: gcc (GCC) 9.0.0 20181231 (experimental)

Unfortunately, I don't have any reproducer for this crash yet.

IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by: syzbot+6813b6...@syzkaller.appspotmail.com

Node 0 DMA32: 2*4kB (MH) 17*8kB (UMH) 1195*16kB (UH) 443*32kB (UE) 0*64kB 3*128kB (H) 3*256kB (H) 1*512kB (H) 0*1024kB 0*2048kB 0*4096kB = 35104kB
------------[ cut here ]------------
Unexpected user alpha2:
syz-executor.1 cpuset=/ mems_allowed=0-1
Node 0 Normal: 0*4kB 1*8kB (U) 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 8kB
WARNING: CPU: 0 PID: 19124 at net/wireless/reg.c:416 is_user_regdom_saved net/wireless/reg.c:416 [inline]
WARNING: CPU: 0 PID: 19124 at net/wireless/reg.c:416 restore_alpha2 net/wireless/reg.c:3094 [inline]
WARNING: CPU: 0 PID: 19124 at net/wireless/reg.c:416 restore_regulatory_settings+0x211/0xf90 net/wireless/reg.c:3186
CPU: 1 PID: 19284 Comm: syz-executor.1 Not tainted 4.19.122-syzkaller #0
Kernel panic - not syncing: panic_on_warn set ...

Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x188/0x20d lib/dump_stack.c:118
warn_alloc.cold+0x7b/0x173 mm/page_alloc.c:3455
__alloc_pages_slowpath+0x20cf/0x26a0 mm/page_alloc.c:4315
__alloc_pages_nodemask+0x5b6/0x6a0 mm/page_alloc.c:4417
__alloc_pages include/linux/gfp.h:496 [inline]
__alloc_pages_node include/linux/gfp.h:509 [inline]
alloc_new_node_page mm/mempolicy.c:1003 [inline]
alloc_new_node_page+0x313/0x3b0 mm/mempolicy.c:987
unmap_and_move mm/migrate.c:1168 [inline]
migrate_pages+0x484/0x2490 mm/migrate.c:1419
do_move_pages_to_node.isra.0.part.0+0x2e/0x70 mm/migrate.c:1501
do_move_pages_to_node mm/migrate.c:1498 [inline]
do_pages_move mm/migrate.c:1686 [inline]
kernel_move_pages+0xf40/0x1700 mm/migrate.c:1827
__do_sys_move_pages mm/migrate.c:1845 [inline]
__se_sys_move_pages mm/migrate.c:1840 [inline]
__x64_sys_move_pages+0xdd/0x1b0 mm/migrate.c:1840
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45c829
Code: 0d b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 db b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f352c8bbc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000117
RAX: ffffffffffffffda RBX: 00000000004f6360 RCX: 000000000045c829
RDX: 00000000200000c0 RSI: 0000000000000001 RDI: 0000000000000000
RBP: 000000000078bf00 R08: 0000000000000000 R09: 0000000000000000
R10: 000000002026bfec R11: 0000000000000246 R12: 00000000ffffffff
R13: 000000000000075e R14: 00000000004ca1b0 R15: 00007f352c8bc6d4
CPU: 0 PID: 19124 Comm: kworker/0:1 Not tainted 4.19.122-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events_power_efficient crda_timeout_work
Node 1 Normal: 846*4kB (M) 894*8kB (ME) 644*16kB (UM) 526*32kB (UM) 398*64kB (UME) 308*128kB (UME) 196*256kB (UME) 133*512kB (UM) 64*1024kB (UM) 1*2048kB (U) 454*4096kB (M) = 2148008kB
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x188/0x20d lib/dump_stack.c:118
panic+0x26a/0x50e kernel/panic.c:186
__warn.cold+0x20/0x46 kernel/panic.c:541
report_bug+0x262/0x2a0 lib/bug.c:186
fixup_bug arch/x86/kernel/traps.c:178 [inline]
fixup_bug arch/x86/kernel/traps.c:173 [inline]
do_error_trap+0x1d7/0x310 arch/x86/kernel/traps.c:296
Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=1048576kB
invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1037
RIP: 0010:is_user_regdom_saved net/wireless/reg.c:416 [inline]
RIP: 0010:restore_alpha2 net/wireless/reg.c:3094 [inline]
RIP: 0010:restore_regulatory_settings+0x211/0xf90 net/wireless/reg.c:3186
Code: 03 44 89 ee e8 d0 2e bb fa 45 84 ed 0f 85 57 07 00 00 e8 92 2d bb fa 41 0f be d4 0f be f3 48 c7 c7 40 cb 3f 88 e8 ba 3c 90 fa <0f> 0b e8 78 2d bb fa 48 8b 1d f1 aa ec 02 48 b8 00 00 00 00 00 fc
RSP: 0018:ffff8881a36cfc50 EFLAGS: 00010286
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff8152fab1 RDI: ffffed10346d9f7c
RBP: 0000000000000001 R08: ffff888096ac2380 R09: ffffed1015cc5079
R10: ffffed1015cc5078 R11: ffff8880ae6283c7 R12: 0000000000000000
R13: 0000000000000000 R14: ffff8880a373b200 R15: ffff8880ae62ba80
Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB
crda_timeout_work+0x1b/0x20 net/wireless/reg.c:513
process_one_work+0x91f/0x1640 kernel/workqueue.c:2155
worker_thread+0x96/0xe20 kernel/workqueue.c:2298
kthread+0x34a/0x420 kernel/kthread.c:246
ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415
Kernel Offset: disabled
Rebooting in 86400 seconds..


---
This bug is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this bug report. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

syzbot

unread,
Sep 7, 2020, 7:19:17 PM9/7/20
to syzkaller...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages