Hello,
syzbot found the following issue on:
HEAD commit: 2034d6f0 Linux 4.19.184
git tree: linux-4.19.y
console output:
https://syzkaller.appspot.com/x/log.txt?x=12b278ced00000
kernel config:
https://syzkaller.appspot.com/x/.config?x=42af7daace4bc0cc
dashboard link:
https://syzkaller.appspot.com/bug?extid=d4e699df6a662f1cec77
Unfortunately, I don't have any reproducer for this issue yet.
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by:
syzbot+d4e699...@syzkaller.appspotmail.com
ieee802154 phy1 wpan1: encryption failed: -22
ieee802154 phy0 wpan0: encryption failed: -22
ieee802154 phy1 wpan1: encryption failed: -22
ieee802154 phy0 wpan0: encryption failed: -22
ieee802154 phy1 wpan1: encryption failed: -22
INFO: task syz-executor.0:31510 blocked for more than 140 seconds.
Not tainted 4.19.184-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.0 D27320 31510 11940 0x00000004
Call Trace:
context_switch kernel/sched/core.c:2828 [inline]
__schedule+0x887/0x2040 kernel/sched/core.c:3517
schedule+0x8d/0x1b0 kernel/sched/core.c:3561
schedule_timeout+0x92d/0xfe0 kernel/time/timer.c:1794
do_wait_for_common kernel/sched/completion.c:83 [inline]
__wait_for_common kernel/sched/completion.c:104 [inline]
wait_for_common+0x29c/0x470 kernel/sched/completion.c:115
crypto_wait_req include/linux/crypto.h:517 [inline]
tls_do_encryption net/tls/tls_sw.c:193 [inline]
tls_push_record+0xec4/0x1370 net/tls/tls_sw.c:228
tls_sw_sendmsg+0xd8b/0x1210 net/tls/tls_sw.c:427
inet_sendmsg+0x132/0x5a0 net/ipv4/af_inet.c:798
smc_sendmsg+0x20f/0x2f0 net/smc/af_smc.c:1487
sock_sendmsg_nosec net/socket.c:622 [inline]
sock_sendmsg+0xc3/0x120 net/socket.c:632
__sys_sendto+0x21a/0x320 net/socket.c:1787
__do_sys_sendto net/socket.c:1799 [inline]
__se_sys_sendto net/socket.c:1795 [inline]
__x64_sys_sendto+0xdd/0x1b0 net/socket.c:1795
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x466459
Code: Bad RIP value.
RSP: 002b:00007ff763ee9188 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 0000000000466459
RDX: 0000000000000011 RSI: 0000000020000000 RDI: 0000000000000003
RBP: 00000000004bf9fb R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000040 R11: 0000000000000246 R12: 000000000056bf60
R13: 00007ffc368a58cf R14: 00007ff763ee9300 R15: 0000000000022000
Showing all locks held in the system:
1 lock held by khungtaskd/1570:
#0: 0000000085beb4c0 (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4440
1 lock held by in:imklog/7845:
#0: 00000000de86238d (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767
2 locks held by agetty/15228:
#0: 000000006acb29b8 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:272
#1: 000000007ff0cf1c (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x217/0x1950 drivers/tty/n_tty.c:2154
2 locks held by syz-executor.0/31510:
#0: 00000000e0d55092 (sk_lock-AF_SMC){+.+.}, at: lock_sock include/net/sock.h:1510 [inline]
#0: 00000000e0d55092 (sk_lock-AF_SMC){+.+.}, at: smc_sendmsg+0x43/0x2f0 net/smc/af_smc.c:1470
#1: 00000000330718ff (k-sk_lock-AF_INET){+.+.}, at: lock_sock include/net/sock.h:1510 [inline]
#1: 00000000330718ff (k-sk_lock-AF_INET){+.+.}, at: tls_sw_sendmsg+0x1b6/0x1210 net/tls/tls_sw.c:371
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 1570 Comm: khungtaskd Not tainted 4.19.184-syzkaller #0
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+0x1fc/0x2ef lib/dump_stack.c:118
nmi_cpu_backtrace.cold+0x63/0xa2 lib/nmi_backtrace.c:101
nmi_trigger_cpumask_backtrace+0x1a6/0x1f0 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:203 [inline]
watchdog+0x991/0xe60 kernel/hung_task.c:287
kthread+0x33f/0x460 kernel/kthread.c:259
ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 4680 Comm: systemd-journal Not tainted 4.19.184-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:orc_find arch/x86/kernel/unwind_orc.c:150 [inline]
RIP: 0010:unwind_next_frame+0x285/0x1400 arch/x86/kernel/unwind_orc.c:422
Code: 48 89 54 24 30 48 89 74 24 28 44 89 5c 24 20 e8 b1 9a 6e 00 48 8b 54 24 30 48 8b 74 24 28 44 8b 5c 24 20 8b 0c 95 b0 73 17 8c <8d> 56 01 48 b8 00 00 00 00 00 fc ff df 48 8d 3c 95 b0 73 17 8c 49
RSP: 0018:ffff8880a15579f8 EFLAGS: 00000246
RAX: 0000000000000003 RBX: 1ffff110142aaf48 RCX: 0000000000022ad8
RDX: 00000000000097d0 RSI: 00000000000097d0 RDI: ffffffff8c19d2f0
RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000001
R10: ffff8880a1557b87 R11: 0000000000074071 R12: ffff8880a1557b70
R13: ffff8880a1557b5d R14: ffff8880a1557b28 R15: ffffffff8197d0ef
FS: 00007f7bc57b18c0(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f7bc25cf008 CR3: 00000000a14e1000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__save_stack_trace+0x9f/0x190 arch/x86/kernel/stacktrace.c:44
save_stack mm/kasan/kasan.c:448 [inline]
set_track mm/kasan/kasan.c:460 [inline]
kasan_kmalloc+0xeb/0x160 mm/kasan/kasan.c:553
slab_post_alloc_hook mm/slab.h:445 [inline]
slab_alloc mm/slab.c:3397 [inline]
kmem_cache_alloc+0x110/0x370 mm/slab.c:3557
prepare_creds+0x39/0x510 kernel/cred.c:255
do_faccessat+0x94/0x7a0 fs/open.c:359
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f7bc4a6c9c7
Code: 83 c4 08 48 3d 01 f0 ff ff 73 01 c3 48 8b 0d c8 d4 2b 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 b8 15 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d a1 d4 2b 00 f7 d8 64 89 01 48
RSP: 002b:00007ffe26a3ecc8 EFLAGS: 00000246 ORIG_RAX: 0000000000000015
RAX: ffffffffffffffda RBX: 00007ffe26a41be0 RCX: 00007f7bc4a6c9c7
RDX: 00007f7bc54dda00 RSI: 0000000000000000 RDI: 000055c53dc559a3
RBP: 00007ffe26a3ed00 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000069 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007ffe26a41be0 R15: 00007ffe26a3f1f0
---
This report 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 issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.