INFO: task hung in default_device_exit_batch
From: Hao Sun <hidden>
Date: 2021-10-07 06:31:01
Also in:
lkml
Hello, When using Healer to fuzz the latest Linux kernel, the following crash was triggered. HEAD commit: 60a9483534ed Merge tag 'warning-fixes-20211005' git tree: upstream console output: https://drive.google.com/file/d/1O9MGWT8Uz9KMQOs-sDxUh60WcV-aXBwc/view?usp=sharing kernel config: https://drive.google.com/file/d/1u-ncYGLkq3xqdlNQYJz8-G6Fhf3H-moP/view?usp=sharing Sorry, I don't have a reproducer for this crash, hope the symbolized report can help. If you fix this issue, please add the following tag to the commit: Reported-by: Hao Sun <redacted> INFO: task kworker/u8:0:8 blocked for more than 143 seconds. Not tainted 5.15.0-rc4+ #22 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u8:0 state:D stack:12328 pid: 8 ppid: 2 flags:0x00004000 Workqueue: netns cleanup_net Call Trace: context_switch kernel/sched/core.c:4940 [inline] __schedule+0x323/0xae0 kernel/sched/core.c:6287 schedule+0x36/0xe0 kernel/sched/core.c:6366 schedule_timeout+0x189/0x430 kernel/time/timer.c:1857 wait_woken+0x38/0x80 kernel/sched/wait.c:453 rtnl_lock_unregistering net/core/dev.c:11537 [inline] default_device_exit_batch+0xd3/0x1c0 net/core/dev.c:11564 ops_exit_list.isra.8+0x73/0x80 net/core/net_namespace.c:171 cleanup_net+0x2e6/0x4e0 net/core/net_namespace.c:591 process_one_work+0x359/0x850 kernel/workqueue.c:2297 worker_thread+0x41/0x4d0 kernel/workqueue.c:2444 kthread+0x178/0x1b0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 INFO: lockdep is turned off. NMI backtrace for cpu 1 CPU: 1 PID: 39 Comm: khungtaskd Not tainted 5.15.0-rc4+ #22 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.12.0-59-gc9ba5276e321-prebuilt.qemu.org 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x8d/0xcf lib/dump_stack.c:106 nmi_cpu_backtrace+0x1e9/0x210 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x120/0x180 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0x4e1/0x980 kernel/hung_task.c:295 kthread+0x178/0x1b0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 1 to CPUs 0,2-3: NMI backtrace for cpu 2 skipped: idling at native_safe_halt arch/x86/include/asm/irqflags.h:51 [inline] NMI backtrace for cpu 2 skipped: idling at arch_safe_halt arch/x86/include/asm/irqflags.h:89 [inline] NMI backtrace for cpu 2 skipped: idling at default_idle+0xb/0x10 arch/x86/kernel/process.c:716 NMI backtrace for cpu 0 CPU: 0 PID: 3018 Comm: systemd-journal Not tainted 5.15.0-rc4+ #22 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.12.0-59-gc9ba5276e321-prebuilt.qemu.org 04/01/2014 RIP: 0033:0x7f614e2500e0 Code: 8b 83 c8 00 00 00 48 8b 48 70 48 c1 e9 04 48 85 c9 0f 84 f2 01 00 00 31 d2 48 89 e8 48 f7 f1 48 c1 e2 04 48 03 93 d0 00 00 00 <4c> 8b 3a 4d 85 ff 74 8a 48 8d 44 24 50 4c 8d 64 24 48 48 89 44 24 RSP: 002b:00007ffe89863740 EFLAGS: 00010202 RAX: 0001392b77a9677a RBX: 00005594ff7b3e80 RCX: 000000000000aa9c RDX: 00007f614b767320 RSI: 0000000000000000 RDI: 00005594ff7b3e80 RBP: d0b5b3f369f2992c R08: 00007ffe89863818 R09: 00007ffe89863820 R10: 00007f614e27aee8 R11: 00007f614d8aa060 R12: 00005594ff7b3e80 R13: 0000000000000032 R14: 00005594ff7bde00 R15: 00007ffe89863820 FS: 00007f614e55f8c0 GS: 0000000000000000 NMI backtrace for cpu 3 skipped: idling at native_safe_halt arch/x86/include/asm/irqflags.h:51 [inline] NMI backtrace for cpu 3 skipped: idling at arch_safe_halt arch/x86/include/asm/irqflags.h:89 [inline] NMI backtrace for cpu 3 skipped: idling at default_idle+0xb/0x10 arch/x86/kernel/process.c:716