Hello,
syzbot found the following crash on:
HEAD commit: 01364dad Linux 4.14.174
git tree: linux-4.14.y
console output:
https://syzkaller.appspot.com/x/log.txt?x=114bb5f5e00000
kernel config:
https://syzkaller.appspot.com/x/.config?x=664dd71881ab2b2d
dashboard link:
https://syzkaller.appspot.com/bug?extid=321cbf3a81a74a7ce898
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+321cbf...@syzkaller.appspotmail.com
Unexpected user alpha2: B
alloc_skb_fclone include/linux/skbuff.h:1022 [inline]
sk_stream_alloc_skb+0xaf/0x780 net/ipv4/tcp.c:855
tcp_sendmsg_locked+0xef4/0x2fd0 net/ipv4/tcp.c:1301
------------[ cut here ]------------
tcp_sendmsg+0x2b/0x40 net/ipv4/tcp.c:1457
WARNING: CPU: 1 PID: 2686 at net/wireless/reg.c:414 is_user_regdom_saved net/wireless/reg.c:414 [inline]
WARNING: CPU: 1 PID: 2686 at net/wireless/reg.c:414 restore_alpha2 net/wireless/reg.c:2566 [inline]
WARNING: CPU: 1 PID: 2686 at net/wireless/reg.c:414 restore_regulatory_settings.cold+0x40/0x47 net/wireless/reg.c:2658
inet_sendmsg+0x116/0x4d0 net/ipv4/af_inet.c:762
Kernel panic - not syncing: panic_on_warn set ...
sock_sendmsg_nosec net/socket.c:646 [inline]
sock_sendmsg+0xc5/0x100 net/socket.c:656
SYSC_sendto+0x1c4/0x2b0 net/socket.c:1763
do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x45c849
RSP: 002b:00007f87b864ec78 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007f87b864f6d4 RCX: 000000000045c849
RDX: ffffffffffffffef RSI: 0000000020d7cfcb RDI: 0000000000000005
RBP: 000000000076bf00 R08: 0000000000000000 R09: 0000000009000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000006
R13: 0000000000000a06 R14: 00000000004ccbc6 R15: 000000000000002e
CPU: 1 PID: 2686 Comm: kworker/1:2 Not tainted 4.14.174-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events_power_efficient crda_timeout_work
Call Trace:
__dump_stack lib/dump_stack.c:17 [inline]
dump_stack+0x13e/0x194 lib/dump_stack.c:58
panic+0x1f9/0x42d kernel/panic.c:183
__warn.cold+0x2f/0x30 kernel/panic.c:547
report_bug+0x20a/0x248 lib/bug.c:186
fixup_bug arch/x86/kernel/traps.c:177 [inline]
fixup_bug arch/x86/kernel/traps.c:172 [inline]
do_error_trap+0x195/0x2d0 arch/x86/kernel/traps.c:295
invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:963
RIP: 0010:is_user_regdom_saved net/wireless/reg.c:414 [inline]
RIP: 0010:restore_alpha2 net/wireless/reg.c:2566 [inline]
RIP: 0010:restore_regulatory_settings.cold+0x40/0x47 net/wireless/reg.c:2658
RSP: 0018:ffff88809fec7c98 EFLAGS: 00010286
RAX: 000000000000001a RBX: 0000000000000001 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff86ac07e0 RDI: ffffed1013fd8f89
RBP: 0000000000000042 R08: 000000000000001a R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: ffff88809fd60a00 R15: ffff8880aeb2acc0
crda_timeout_work+0x1b/0x20 net/wireless/reg.c:541
process_one_work+0x813/0x1540 kernel/workqueue.c:2116
worker_thread+0x5d1/0x1070 kernel/workqueue.c:2250
kthread+0x30d/0x420 kernel/kthread.c:232
ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404
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.