syzbot


INFO: task hung in SyS_io_destroy

Status: public: reported C repro on 2019/09/09 13:25
Reported-by: syzbot+97953a48665489148dcc@syzkaller.appspotmail.com
First crash: 1900d, last: 1899d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-49 INFO: task hung in SyS_io_destroy syz 2 1899d 1900d 0/3 public: reported syz repro on 2019/09/09 13:26

Sample crash report:
INFO: task syz-executor432:2242 blocked for more than 140 seconds.
      Not tainted 4.4.174+ #4
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor432 D ffff8800b3b27b90 29816  2242      1 0x00000000
 ffff8800b3b27b90 ffffffff811ff385 0000000000000296 ffffffff84126848
 ffff8800b3b27b40 0000000000000200 ffff8801db71f180 ffff8801db71f1a8
 ffff8801db71e898 ffff8801da6897c0 ffff8801d2508000 ffffed0016764001
Call Trace:
 [<ffffffff82709b79>] schedule+0x99/0x1d0 kernel/sched/core.c:3355
 [<ffffffff82715c4b>] schedule_timeout+0x47b/0x7c0 kernel/time/timer.c:1515
 [<ffffffff8270b455>] do_wait_for_common kernel/sched/completion.c:75 [inline]
 [<ffffffff8270b455>] __wait_for_common kernel/sched/completion.c:93 [inline]
 [<ffffffff8270b455>] wait_for_common+0x2b5/0x530 kernel/sched/completion.c:101
 [<ffffffff8270b6e8>] wait_for_completion+0x18/0x20 kernel/sched/completion.c:122
 [<ffffffff81583bb1>] SYSC_io_destroy fs/aio.c:1396 [inline]
 [<ffffffff81583bb1>] SyS_io_destroy+0x2c1/0x350 fs/aio.c:1374
 [<ffffffff82718ba1>] entry_SYSCALL_64_fastpath+0x1e/0x9a
no locks held by syz-executor432/2242.
Sending NMI to all CPUs:
NMI backtrace for cpu 0
CPU: 0 PID: 2250 Comm: syz-executor432 Not tainted 4.4.174+ #4
task: ffff8801d1dac740 task.stack: ffff8801da7c0000
RIP: 0010:[<ffffffff8102e49f>]  [<ffffffff8102e49f>] save_stack_address+0x1f/0x30 arch/x86/kernel/stacktrace.c:38
RSP: 0000:ffff8801da7c7800  EFLAGS: 00000046
RAX: ffffffff8102e480 RBX: ffff8801da7c7dd0 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff81430941 RDI: ffff8801da7c7908
RBP: ffff8801da7c7850 R08: ffff8801da7c7908 R09: 0000000000000000
R10: ffff8801da7c7e28 R11: 0000000000000000 R12: 0000000000000000
R13: ffff8801da7c7908 R14: ffff8801da7c7ff8 R15: ffff8801da7c0000
FS:  000000000199a940(0063) GS:ffff8801db600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 00000001cc69a000 CR4: 00000000001606b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Stack:
 ffffffff81013573 ffffffff81430941 ffff8801da7c7e28 ffff8801da7c7e28
 ffffffff8280f0b0 ffff8801da7c7908 ffffffff8280f0b0 ffff8801da7c78a8
 ffff8801db607fc0 0000000000000000 ffff8801da7c78e0 ffffffff81012bb9
Call Trace:
 [<ffffffff81012bb9>] dump_trace+0x179/0x390 arch/x86/kernel/dumpstack_64.c:243
 [<ffffffff8102e3c6>] save_stack_trace+0x26/0x50 arch/x86/kernel/stacktrace.c:63
 [<ffffffff81483f22>] save_stack mm/kasan/kasan.c:512 [inline]
 [<ffffffff81483f22>] set_track mm/kasan/kasan.c:524 [inline]
 [<ffffffff81483f22>] kasan_kmalloc.part.0+0x62/0xf0 mm/kasan/kasan.c:616
 [<ffffffff81484197>] kasan_kmalloc+0xb7/0xd0 mm/kasan/kasan.c:601
 [<ffffffff8148475f>] kasan_slab_alloc+0xf/0x20 mm/kasan/kasan.c:554
 [<ffffffff8147fe9c>] slab_post_alloc_hook mm/slub.c:1349 [inline]
 [<ffffffff8147fe9c>] slab_alloc_node mm/slub.c:2615 [inline]
 [<ffffffff8147fe9c>] slab_alloc mm/slub.c:2623 [inline]
 [<ffffffff8147fe9c>] kmem_cache_alloc+0xdc/0x2c0 mm/slub.c:2628
 [<ffffffff810f5c10>] __sigqueue_alloc+0x1e0/0x410 kernel/signal.c:380
 [<ffffffff810fa012>] __send_signal+0x1b2/0x12a0 kernel/signal.c:1029
 [<ffffffff810fb149>] send_signal+0x49/0xc0 kernel/signal.c:1096
 [<ffffffff810fd0ea>] specific_send_sig_info kernel/signal.c:1141 [inline]
 [<ffffffff810fd0ea>] force_sig_info+0x20a/0x310 kernel/signal.c:1189
 [<ffffffff810a9760>] force_sig_info_fault.constprop.0+0xd0/0x110 arch/x86/mm/fault.c:187
 [<ffffffff810aa1e5>] __bad_area_nosemaphore+0x225/0x3f0 arch/x86/mm/fault.c:805
 [<ffffffff810aa456>] __bad_area arch/x86/mm/fault.c:835 [inline]
 [<ffffffff810aa456>] bad_area+0x66/0x80 arch/x86/mm/fault.c:841
 [<ffffffff810aad28>] __do_page_fault+0x568/0x7f0 arch/x86/mm/fault.c:1223
 [<ffffffff810ab008>] do_page_fault+0x28/0x30 arch/x86/mm/fault.c:1306
 [<ffffffff82719e35>] page_fault+0x25/0x30 arch/x86/entry/entry_64.S:1064
Code: 5b 41 5c 5d c3 0f 1f 80 00 00 00 00 85 d2 74 1b 8b 47 10 85 c0 7f 15 8b 07 3b 47 04 73 0d 48 8b 57 08 8d 48 01 89 0f 48 89 34 c2 <c3> 83 e8 01 89 47 10 c3 66 0f 1f 84 00 00 00 00 00 55 49 89 fa 
NMI backtrace for cpu 1
CPU: 1 PID: 20 Comm: khungtaskd Not tainted 4.4.174+ #4
task: ffff8801da6f4740 task.stack: ffff8800001d0000
RIP: 0010:[<ffffffff8109b617>]  [<ffffffff8109b617>] _flat_send_IPI_mask arch/x86/kernel/apic/apic_flat_64.c:62 [inline]
RIP: 0010:[<ffffffff8109b617>]  [<ffffffff8109b617>] flat_send_IPI_mask+0xf7/0x1b0 arch/x86/kernel/apic/apic_flat_64.c:69
RSP: 0000:ffff8800001d7c88  EFLAGS: 00000046
RAX: 0000000000000000 RBX: 0000000000000c00 RCX: 0000000000000000
RDX: 0000000000000c00 RSI: 0000000000000000 RDI: ffffffffff5fc300
RBP: ffff8800001d7cb8 R08: 0000000000000018 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000246
R13: 0000000003000000 R14: ffffffff82e5f2e0 R15: 0000000000000002
FS:  0000000000000000(0000) GS:ffff8801db700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 00000000b0573000 CR4: 00000000001606b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Stack:
 0000000000000001 ffffffff82e5f2e0 ffffffff831a6ac0 fffffbfff0634c34
 000000000001b6c0 0000000000000008 ffff8800001d7cd8 ffffffff81092bee
 0000000000000008 ffffffff82924260 ffff8800001d7d30 ffffffff81ab8252
Call Trace:
 [<ffffffff81092bee>] nmi_raise_cpu_backtrace+0x5e/0x80 arch/x86/kernel/apic/hw_nmi.c:33
 [<ffffffff81ab8252>] nmi_trigger_all_cpu_backtrace.cold+0xa1/0xae lib/nmi_backtrace.c:85
 [<ffffffff81092ca4>] arch_trigger_all_cpu_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38
 [<ffffffff813b4762>] trigger_all_cpu_backtrace include/linux/nmi.h:44 [inline]
 [<ffffffff813b4762>] check_hung_task kernel/hung_task.c:125 [inline]
 [<ffffffff813b4762>] check_hung_uninterruptible_tasks kernel/hung_task.c:182 [inline]
 [<ffffffff813b4762>] watchdog.cold+0xd3/0xee kernel/hung_task.c:238
 [<ffffffff811342c3>] kthread+0x273/0x310 kernel/kthread.c:211
 [<ffffffff82718fc5>] ret_from_fork+0x55/0x80 arch/x86/entry/entry_64.S:537
Code: 00 c3 5f ff 80 e6 10 75 e1 41 c1 e5 18 44 89 2c 25 10 c3 5f ff 44 89 fa 09 da 80 cf 04 41 83 ff 02 0f 44 d3 89 14 25 00 c3 5f ff <41> f7 c4 00 02 00 00 75 1e 4c 89 e7 57 9d 0f 1f 44 00 00 e8 f1 

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/09/09 20:55 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b a60cb4cd .config console log report syz C ci-android-44-kasan-gce
2019/09/09 20:52 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b a60cb4cd .config console log report syz ci-android-44-kasan-gce-386
2019/09/09 12:25 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b a60cb4cd .config console log report ci-android-44-kasan-gce
2019/09/09 12:23 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b a60cb4cd .config console log report ci-android-44-kasan-gce-386
* Struck through repros no longer work on HEAD.