syzbot


INFO: task hung in rxrpc_release

Status: auto-closed as invalid on 2020/05/05 21:00
Reported-by: syzbot+c0c71f72e7dfb778d637@syzkaller.appspotmail.com
First crash: 1780d, last: 1780d
Similar bugs (7)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 INFO: task hung in rxrpc_release (3) 3 639d 765d 0/1 upstream: reported on 2022/10/17 23:49
linux-6.1 INFO: task hung in rxrpc_release 1 579d 579d 0/3 auto-obsoleted due to no activity on 2023/08/19 19:10
linux-4.19 INFO: task hung in rxrpc_release (2) 3 1071d 1096d 0/1 auto-closed as invalid on 2022/04/15 12:04
linux-5.15 INFO: task hung in rxrpc_release 1 599d 599d 0/3 auto-obsoleted due to no activity on 2023/07/31 18:39
upstream INFO: task hung in rxrpc_release (2) net afs 1 1624d 1624d 0/28 auto-closed as invalid on 2020/09/09 16:08
upstream INFO: task hung in rxrpc_release (3) afs net syz unreliable 7 290d 292d 0/28 auto-obsoleted due to no activity on 2024/05/01 12:51
upstream INFO: task hung in rxrpc_release afs net 1 1756d 1756d 0/28 auto-closed as invalid on 2020/05/30 15:47

Sample crash report:
protocol 88fb is buggy, dev hsr_slave_0
protocol 88fb is buggy, dev hsr_slave_1
protocol 88fb is buggy, dev hsr_slave_0
protocol 88fb is buggy, dev hsr_slave_1
protocol 88fb is buggy, dev hsr_slave_0
INFO: task syz-executor.5:28388 blocked for more than 140 seconds.
      Not tainted 4.19.93-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.5  D28088 28388  10669 0x80000002
Call Trace:
 context_switch kernel/sched/core.c:2826 [inline]
 __schedule+0x866/0x1dc0 kernel/sched/core.c:3515
 schedule+0x92/0x1c0 kernel/sched/core.c:3559
 schedule_timeout+0x8c8/0xfc0 kernel/time/timer.c:1782
 do_wait_for_common kernel/sched/completion.c:83 [inline]
 __wait_for_common kernel/sched/completion.c:104 [inline]
 wait_for_common kernel/sched/completion.c:115 [inline]
 wait_for_completion+0x29c/0x440 kernel/sched/completion.c:136
 flush_workqueue+0x40f/0x14b0 kernel/workqueue.c:2713
 rxrpc_release_sock net/rxrpc/af_rxrpc.c:906 [inline]
 rxrpc_release+0x409/0x830 net/rxrpc/af_rxrpc.c:937
 __sock_release+0xce/0x2a0 net/socket.c:579
 sock_close+0x1b/0x30 net/socket.c:1140
 __fput+0x2dd/0x8b0 fs/file_table.c:278
 ____fput+0x16/0x20 fs/file_table.c:309
 task_work_run+0x145/0x1c0 kernel/task_work.c:113
 exit_task_work include/linux/task_work.h:22 [inline]
 do_exit+0x994/0x3080 kernel/exit.c:876
 do_group_exit+0x135/0x370 kernel/exit.c:979
 get_signal+0x3ec/0x1fc0 kernel/signal.c:2578
 do_signal+0x95/0x1960 arch/x86/kernel/signal.c:821
 exit_to_usermode_loop+0x244/0x2c0 arch/x86/entry/common.c:163
 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:271 [inline]
 do_syscall_64+0x53d/0x620 arch/x86/entry/common.c:296
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45af49
Code: cc 48 8b 05 91 e0 70 01 48 85 c0 74 6f 48 8b 05 ed db 70 01 48 85 c0 74 63 64 48 8b 04 25 f8 ff ff ff 48 85 c0 74 5a 48 8b 40 <30> 48 85 c0 74 4c 8b 88 38 01 00 00 85 c9 74 42 48 8b 88 c0 00 00
RSP: 002b:00007fb28fe9ecf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 000000000075bf28 RCX: 000000000045af49
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 000000000075bf28
RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000075bf2c
R13: 00007fff05cbe40f R14: 00007fb28fe9f9c0 R15: 000000000075bf2c
INFO: task syz-executor.5:28463 blocked for more than 140 seconds.
      Not tainted 4.19.93-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.5  D27944 28463  10669 0x80000002
Call Trace:
 context_switch kernel/sched/core.c:2826 [inline]
 __schedule+0x866/0x1dc0 kernel/sched/core.c:3515
 schedule+0x92/0x1c0 kernel/sched/core.c:3559
 schedule_timeout+0x8c8/0xfc0 kernel/time/timer.c:1782
 do_wait_for_common kernel/sched/completion.c:83 [inline]
 __wait_for_common kernel/sched/completion.c:104 [inline]
 wait_for_common kernel/sched/completion.c:115 [inline]
 wait_for_completion+0x29c/0x440 kernel/sched/completion.c:136
 flush_workqueue+0x40f/0x14b0 kernel/workqueue.c:2713
 rxrpc_release_sock net/rxrpc/af_rxrpc.c:906 [inline]
 rxrpc_release+0x409/0x830 net/rxrpc/af_rxrpc.c:937
 __sock_release+0xce/0x2a0 net/socket.c:579
 sock_close+0x1b/0x30 net/socket.c:1140
 __fput+0x2dd/0x8b0 fs/file_table.c:278
 ____fput+0x16/0x20 fs/file_table.c:309
 task_work_run+0x145/0x1c0 kernel/task_work.c:113
 exit_task_work include/linux/task_work.h:22 [inline]
 do_exit+0x994/0x3080 kernel/exit.c:876
 do_group_exit+0x135/0x370 kernel/exit.c:979
 get_signal+0x3ec/0x1fc0 kernel/signal.c:2578
 do_signal+0x95/0x1960 arch/x86/kernel/signal.c:821
 exit_to_usermode_loop+0x244/0x2c0 arch/x86/entry/common.c:163
 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:271 [inline]
 do_syscall_64+0x53d/0x620 arch/x86/entry/common.c:296
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45af49
Code: cc 48 8b 05 91 e0 70 01 48 85 c0 74 6f 48 8b 05 ed db 70 01 48 85 c0 74 63 64 48 8b 04 25 f8 ff ff ff 48 85 c0 74 5a 48 8b 40 <30> 48 85 c0 74 4c 8b 88 38 01 00 00 85 c9 74 42 48 8b 88 c0 00 00
RSP: 002b:00007fb28fe9ecf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 000000000075bf28 RCX: 000000000045af49
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 000000000075bf28
RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000075bf2c
R13: 00007fff05cbe40f R14: 00007fb28fe9f9c0 R15: 000000000075bf2c

Showing all locks held in the system:
1 lock held by khungtaskd/1084:
 #0: 00000000c7fb8a96 (rcu_read_lock){....}, at: debug_show_all_locks+0x5f/0x27e kernel/locking/lockdep.c:4438
1 lock held by rsyslogd/8033:
 #0: 00000000f01bb192 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xee/0x110 fs/file.c:767
2 locks held by getty/8155:
 #0: 00000000ce61fb5a (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362
 #1: 00000000e15930eb (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154
2 locks held by getty/8156:
 #0: 00000000b6782842 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362
 #1: 0000000090fee09c (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154
2 locks held by getty/8157:
 #0: 00000000876f6e2e (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362
 #1: 0000000089519ae6 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154
2 locks held by getty/8158:
 #0: 00000000a566c08b (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362
 #1: 00000000093f2f5c (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154
2 locks held by getty/8159:
 #0: 00000000d5e67306 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362
 #1: 000000005edff32e (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154
2 locks held by getty/8160:
 #0: 00000000c774fba0 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362
 #1: 00000000a7f9095d (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154
2 locks held by getty/8161:
 #0: 000000008732991a (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362
 #1: 00000000fe288a52 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154
1 lock held by syz-executor.5/28388:
 #0: 00000000bed03ce8 (&sb->s_type->i_mutex_key#11){+.+.}, at: inode_lock include/linux/fs.h:747 [inline]
 #0: 00000000bed03ce8 (&sb->s_type->i_mutex_key#11){+.+.}, at: __sock_release+0x89/0x2a0 net/socket.c:578
1 lock held by syz-executor.5/28463:
 #0: 000000004ae8244a (&sb->s_type->i_mutex_key#11){+.+.}, at: inode_lock include/linux/fs.h:747 [inline]
 #0: 000000004ae8244a (&sb->s_type->i_mutex_key#11){+.+.}, at: __sock_release+0x89/0x2a0 net/socket.c:578
1 lock held by syz-executor.5/32049:

=============================================

NMI backtrace for cpu 1
CPU: 1 PID: 1084 Comm: khungtaskd Not tainted 4.19.93-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+0x197/0x210 lib/dump_stack.c:118
 nmi_cpu_backtrace.cold+0x63/0xa4 lib/nmi_backtrace.c:101
 nmi_trigger_cpumask_backtrace+0x1b0/0x1f8 lib/nmi_backtrace.c:62
 arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38
 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:203 [inline]
 watchdog+0x9df/0xee0 kernel/hung_task.c:287
 kthread+0x354/0x420 kernel/kthread.c:246
 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: 32049 Comm: syz-executor.5 Not tainted 4.19.93-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:write_comp_data+0x68/0x70 kernel/kcov.c:146
Code: 00 00 4e 8d 14 dd 28 00 00 00 4d 39 d0 72 1b 49 83 c1 01 4a 89 7c 10 e0 4a 89 74 10 e8 4a 89 54 10 f0 4a 89 4c d8 20 4c 89 08 <c3> 0f 1f 80 00 00 00 00 55 40 0f b6 d6 40 0f b6 f7 31 ff 48 89 e5
RSP: 0018:ffff88803f747610 EFLAGS: 00000297
RAX: 0000000000000002 RBX: 0000000000000000 RCX: ffffffff838b4fb8
RDX: 0000000000000050 RSI: 0000000000000007 RDI: 0000000000000005
RBP: ffff88803f747618 R08: ffff888050ce2280 R09: 0000000000000040
R10: 000000000c52460f R11: 0000000000000000 R12: 0000000000000050
R13: 0000000000000050 R14: ffff8880000a0000 R15: 0000000000000000
FS:  00007fb28fe5d700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 00000000684b8000 CR4: 00000000001426f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 bitfill_aligned drivers/video/fbdev/core/cfbfillrect.c:63 [inline]
 bitfill_aligned+0xf8/0x210 drivers/video/fbdev/core/cfbfillrect.c:35
 cfb_fillrect+0x423/0x7c0 drivers/video/fbdev/core/cfbfillrect.c:327
 vga16fb_fillrect+0x6ce/0x19b0 drivers/video/fbdev/vga16fb.c:951
 bit_clear_margins+0x30b/0x530 drivers/video/fbdev/core/bitblit.c:232
 fbcon_clear_margins+0x2e3/0x370 drivers/video/fbdev/core/fbcon.c:1339
 fbcon_do_set_font+0x730/0xa40 drivers/video/fbdev/core/fbcon.c:2582
 fbcon_set_font+0x72e/0x860 drivers/video/fbdev/core/fbcon.c:2674
 con_font_set drivers/tty/vt/vt.c:4492 [inline]
 con_font_op+0xe18/0x1250 drivers/tty/vt/vt.c:4557
 do_fontx_ioctl drivers/tty/vt/vt_ioctl.c:244 [inline]
 vt_ioctl+0x35a/0x2530 drivers/tty/vt/vt_ioctl.c:930
 tty_ioctl+0x7f3/0x1510 drivers/tty/tty_io.c:2669
 vfs_ioctl fs/ioctl.c:46 [inline]
 file_ioctl fs/ioctl.c:501 [inline]
 do_vfs_ioctl+0xd5f/0x1380 fs/ioctl.c:688
 ksys_ioctl+0xab/0xd0 fs/ioctl.c:705
 __do_sys_ioctl fs/ioctl.c:712 [inline]
 __se_sys_ioctl fs/ioctl.c:710 [inline]
 __x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:710
 do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45af49
Code: ad b6 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 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007fb28fe5cc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045af49
RDX: 0000000020000000 RSI: 0000000000004b6c RDI: 0000000000000005
RBP: 000000000075c070 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fb28fe5d6d4
R13: 00000000004c5020 R14: 00000000004db870 R15: 00000000ffffffff

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/01/06 20:59 linux-4.19.y 3d40d7117e35 53430d97 .config console log report ci2-linux-4-19
* Struck through repros no longer work on HEAD.