syzbot


INFO: task hung in new_device_store (3)

Status: upstream: reported on 2024/08/16 14:40
Reported-by: syzbot+2f90f9cf86ce31cecea0@syzkaller.appspotmail.com
First crash: 75d, last: 5h52m
Similar bugs (9)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in new_device_store (3) net 12 433d 620d 0/28 auto-obsoleted due to no activity on 2023/11/22 09:08
linux-6.1 INFO: task hung in new_device_store 1 112d 112d 0/3 auto-obsoleted due to no activity on 2024/10/18 01:20
upstream INFO: task hung in new_device_store (4) net 25 233d 289d 0/28 auto-obsoleted due to no activity on 2024/04/30 15:01
linux-5.15 INFO: task hung in new_device_store syz error 1 584d 584d 0/3 auto-obsoleted due to no activity on 2023/07/24 22:37
upstream INFO: task hung in new_device_store (2) net 1 757d 757d 0/28 auto-obsoleted due to no activity on 2023/01/15 11:32
upstream INFO: task hung in new_device_store net 1 925d 925d 0/28 auto-closed as invalid on 2022/07/18 12:08
upstream INFO: task hung in new_device_store (5) net syz inconclusive 80 1d07h 34d 0/28 upstream: reported syz repro on 2024/09/26 17:58
linux-6.1 INFO: task hung in new_device_store (2) 1 7d11h 7d11h 0/3 upstream: reported on 2024/10/23 11:25
linux-5.15 INFO: task hung in new_device_store (2) 1 282d 282d 0/3 auto-obsoleted due to no activity on 2024/05/01 03:38

Sample crash report:
INFO: task syz-executor:4477 blocked for more than 146 seconds.
      Not tainted 5.15.169-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor    state:D stack:21176 pid: 4477 ppid:     1 flags:0x00004004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5027 [inline]
 __schedule+0x12c4/0x45b0 kernel/sched/core.c:6373
 schedule+0x11b/0x1f0 kernel/sched/core.c:6456
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6515
 __mutex_lock_common+0xe34/0x25a0 kernel/locking/mutex.c:669
 __mutex_lock kernel/locking/mutex.c:729 [inline]
 mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:743
 new_device_store+0x1b0/0x910 drivers/net/netdevsim/bus.c:295
 kernfs_fop_write_iter+0x3a2/0x4f0 fs/kernfs/file.c:296
 call_write_iter include/linux/fs.h:2174 [inline]
 new_sync_write fs/read_write.c:507 [inline]
 vfs_write+0xacd/0xe50 fs/read_write.c:594
 ksys_write+0x1a2/0x2c0 fs/read_write.c:647
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f30160ea1ff
RSP: 002b:00007ffc09c285c0 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f30160ea1ff
RDX: 0000000000000003 RSI: 00007ffc09c28610 RDI: 0000000000000005
RBP: 00007f301615f46a R08: 0000000000000000 R09: 00007ffc09c28417
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003
R13: 00007ffc09c28610 R14: 00007f3016dd1620 R15: 0000000000000003
 </TASK>
INFO: task syz-executor:4488 blocked for more than 154 seconds.
      Not tainted 5.15.169-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor    state:D stack:21432 pid: 4488 ppid:     1 flags:0x00004004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5027 [inline]
 __schedule+0x12c4/0x45b0 kernel/sched/core.c:6373
 schedule+0x11b/0x1f0 kernel/sched/core.c:6456
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6515
 __mutex_lock_common+0xe34/0x25a0 kernel/locking/mutex.c:669
 __mutex_lock kernel/locking/mutex.c:729 [inline]
 mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:743
 del_device_store+0xf1/0x470 drivers/net/netdevsim/bus.c:344
 kernfs_fop_write_iter+0x3a2/0x4f0 fs/kernfs/file.c:296
 call_write_iter include/linux/fs.h:2174 [inline]
 new_sync_write fs/read_write.c:507 [inline]
 vfs_write+0xacd/0xe50 fs/read_write.c:594
 ksys_write+0x1a2/0x2c0 fs/read_write.c:647
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fee02a941ff
RSP: 002b:00007fff5d1c89b0 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007fee02a941ff
RDX: 0000000000000001 RSI: 00007fff5d1c8a00 RDI: 0000000000000005
RBP: 00007fee02b09446 R08: 0000000000000000 R09: 00007fff5d1c8807
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000001
R13: 00007fff5d1c8a00 R14: 00007fee0377b620 R15: 0000000000000003
 </TASK>
INFO: task syz-executor:4503 blocked for more than 155 seconds.
      Not tainted 5.15.169-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor    state:D stack:21336 pid: 4503 ppid:     1 flags:0x00004004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5027 [inline]
 __schedule+0x12c4/0x45b0 kernel/sched/core.c:6373
 schedule+0x11b/0x1f0 kernel/sched/core.c:6456
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6515
 __mutex_lock_common+0xe34/0x25a0 kernel/locking/mutex.c:669
 __mutex_lock kernel/locking/mutex.c:729 [inline]
 mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:743
 del_device_store+0xf1/0x470 drivers/net/netdevsim/bus.c:344
 kernfs_fop_write_iter+0x3a2/0x4f0 fs/kernfs/file.c:296
 call_write_iter include/linux/fs.h:2174 [inline]
 new_sync_write fs/read_write.c:507 [inline]
 vfs_write+0xacd/0xe50 fs/read_write.c:594
 ksys_write+0x1a2/0x2c0 fs/read_write.c:647
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f01b19301ff
RSP: 002b:00007ffe16b28360 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f01b19301ff
RDX: 0000000000000001 RSI: 00007ffe16b283b0 RDI: 0000000000000005
RBP: 00007f01b19a5446 R08: 0000000000000000 R09: 00007ffe16b281b7
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000001
R13: 00007ffe16b283b0 R14: 00007f01b2617620 R15: 0000000000000003
 </TASK>
INFO: task syz-executor:4507 blocked for more than 156 seconds.
      Not tainted 5.15.169-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor    state:D stack:21432 pid: 4507 ppid:     1 flags:0x00004004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5027 [inline]
 __schedule+0x12c4/0x45b0 kernel/sched/core.c:6373

Crashes (7):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/10/30 17:30 linux-5.15.y 74cdd62cb470 fb888278 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in new_device_store
2024/10/08 07:52 linux-5.15.y 3a5928702e71 402f1df0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in new_device_store
2024/09/03 12:41 linux-5.15.y fa93fa65db6e 326f9c5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in new_device_store
2024/08/16 14:39 linux-5.15.y 7e89efd3ae1c e1c76ab2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in new_device_store
2024/10/15 22:56 linux-5.15.y 3a5928702e71 bde2d81c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: task hung in new_device_store
2024/10/01 12:10 linux-5.15.y 3a5928702e71 ea2b66a6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: task hung in new_device_store
2024/09/18 05:25 linux-5.15.y 3a5928702e71 c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: task hung in new_device_store
* Struck through repros no longer work on HEAD.