syzbot


INFO: task hung in lock_sock_nested (2)

Status: auto-closed as invalid on 2020/03/27 01:37
Reported-by: syzbot+4c32769d8282027eb12f@syzkaller.appspotmail.com
First crash: 1868d, last: 1772d
Similar bugs (15)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in lock_sock_nested (2) net C done 418 1673d 1686d 15/28 fixed on 2020/04/15 17:19
upstream INFO: task hung in lock_sock_nested net C 2593 1690d 2490d 0/28 closed as dup on 2017/12/23 20:15
linux-4.19 INFO: task hung in lock_sock_nested (3) 6 619d 834d 0/1 upstream: reported on 2022/06/23 22:52
upstream INFO: task hung in lock_sock_nested (3) net C done 5 1462d 1463d 15/28 fixed on 2020/11/16 12:12
android-49 INFO: task hung in lock_sock_nested (2) 2 1851d 1970d 0/3 auto-closed as invalid on 2020/01/08 15:18
linux-4.14 INFO: task hung in lock_sock_nested 1 1793d 1793d 0/1 auto-closed as invalid on 2020/03/06 15:38
linux-4.14 INFO: task hung in lock_sock_nested (2) 1 1530d 1530d 0/1 auto-closed as invalid on 2020/11/24 03:07
android-44 INFO: task hung in lock_sock_nested C 82 2410d 2412d 0/2 closed as invalid on 2019/03/08 00:11
upstream INFO: task can't die in __lock_sock bluetooth C done error 1067 332d 1146d 0/28 auto-obsoleted due to no activity on 2024/01/16 13:36
upstream INFO: task hung in lock_sock_nested (4) mptcp C done 6 1356d 1403d 19/28 fixed on 2021/03/10 01:48
android-49 INFO: task hung in lock_sock_nested C 101 2050d 2412d 0/3 closed as invalid on 2019/03/08 00:11
android-414 INFO: task hung in lock_sock_nested 65 1816d 2002d 0/1 auto-closed as invalid on 2020/02/12 04:11
linux-4.19 INFO: task hung in lock_sock_nested (2) 1 1030d 1030d 0/1 auto-closed as invalid on 2022/04/08 17:15
linux-5.15 INFO: task hung in lock_sock_nested 1 52d 52d 0/3 upstream: reported on 2024/08/13 04:54
linux-4.19 INFO: task hung in lock_sock_nested 1 1610d 1610d 0/1 auto-closed as invalid on 2020/09/05 19:53

Sample crash report:
lowmemorykiller: Killing 'syz-executor.2' (18360) (tgid 18348), adj 1000,
   to free 35060kB on behalf of 'syz-executor.2' (2116) because
   cache 144kB is below limit 6144kB for oom_score_adj 0
   Free memory is 2956kB above reserved
INFO: task syz-executor.1:18341 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-executor.1  D ffff880107fefb88 29360 18341   2103 0x00000004
 ffff880107fefb88 0000000000000002 ffff880107fefbb8 ffffffff811e9901
 ffff8801d0e92f80 ffffffff810e1700 ffff8801db61f180 ffff8801db61f1a8
 ffff8801db61e898 ffff8800b5955f00 ffff8801d0e92f80 ffffed0020ffd001
Call Trace:
 [<ffffffff82709b79>] schedule+0x99/0x1d0 kernel/sched/core.c:3355
 [<ffffffff821e4dae>] __lock_sock+0xfe/0x190 net/core/sock.c:2000
 [<ffffffff821e4f36>] lock_sock_nested+0xf6/0x120 net/core/sock.c:2457
 [<ffffffff826d4f69>] lock_sock include/net/sock.h:1497 [inline]
 [<ffffffff826d4f69>] packet_setsockopt+0x539/0x26c0 net/packet/af_packet.c:3665
 [<ffffffff821dcb59>] SYSC_setsockopt net/socket.c:1780 [inline]
 [<ffffffff821dcb59>] SyS_setsockopt+0x159/0x240 net/socket.c:1759
 [<ffffffff82718ba1>] entry_SYSCALL_64_fastpath+0x1e/0x9a
lowmemorykiller: Killing 'syz-executor.2' (18360) (tgid 18348), adj 1000,
   to free 35060kB on behalf of 'syz-fuzzer' (2074) because
   cache 144kB is below limit 6144kB for oom_score_adj 0
   Free memory is 2956kB above reserved
lowmemorykiller: Killing 'syz-executor.2' (18360) (tgid 18348), adj 1000,
   to free 35060kB on behalf of 'syz-executor.1' (2103) because
   cache 144kB is below limit 6144kB for oom_score_adj 0
   Free memory is 2956kB above reserved
no locks held by syz-executor.1/18341.
Sending NMI to all CPUs:
NMI backtrace for cpu 0
CPU: 0 PID: 1923 Comm: rsyslogd Not tainted 4.4.174+ #4
task: ffff8801d68c4740 task.stack: ffff8800b8c08000
RIP: 0010:[<ffffffff8211e7bc>]  [<ffffffff8211e7bc>] lowmem_scan+0x44c/0xbf0 drivers/staging/android/lowmemorykiller.c:129
RSP: 0000:ffff8800b8c0f510  EFLAGS: 00000202
RAX: 0000000000000007 RBX: ffff8801da6f0440 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff8211e78d RDI: ffff8801da6f0014
RBP: ffff8800b8c0f5b0 R08: ffff8801da5f07d8 R09: 0000000000000001
R10: 0000000000000000 R11: 0000000000000000 R12: dffffc0000000000
R13: ffff8801da6f0000 R14: 0000000000000021 R15: 0000000000000000
FS:  00007f46aa1c8700(0000) GS:ffff8801db600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000400310 CR3: 00000000ba01a000 CR4: 00000000001606b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Stack:
 ffffffff8211e5af ffffffff821122ff ffff8800b8c0f560 0000000000000246
 ffffffff82ea7320 ffff8801d68c4740 0000000000005667 ffff8800b8c0f688
 fffffbfff05c1200 0000002100000600 ffff8801da5f07d8 ffff8801da5f0000
Call Trace:
 [<ffffffff813ee8e2>] do_shrink_slab mm/vmscan.c:357 [inline]
 [<ffffffff813ee8e2>] shrink_slab.part.0+0x402/0xb30 mm/vmscan.c:455
 [<ffffffff813f742c>] shrink_slab mm/vmscan.c:425 [inline]
 [<ffffffff813f742c>] shrink_zone+0x4bc/0x610 mm/vmscan.c:2448
 [<ffffffff813f7bef>] shrink_zones mm/vmscan.c:2603 [inline]
 [<ffffffff813f7bef>] do_try_to_free_pages mm/vmscan.c:2653 [inline]
 [<ffffffff813f7bef>] try_to_free_pages+0x66f/0x1260 mm/vmscan.c:2861
 [<ffffffff813d09af>] __perform_reclaim mm/page_alloc.c:2915 [inline]
 [<ffffffff813d09af>] __alloc_pages_direct_reclaim mm/page_alloc.c:2936 [inline]
 [<ffffffff813d09af>] __alloc_pages_slowpath mm/page_alloc.c:3201 [inline]
 [<ffffffff813d09af>] __alloc_pages_nodemask+0x8af/0x14b0 mm/page_alloc.c:3313
 [<ffffffff813bf7b9>] __alloc_pages include/linux/gfp.h:415 [inline]
 [<ffffffff813bf7b9>] __alloc_pages_node include/linux/gfp.h:428 [inline]
 [<ffffffff813bf7b9>] alloc_pages_node include/linux/gfp.h:442 [inline]
 [<ffffffff813bf7b9>] __page_cache_alloc include/linux/pagemap.h:226 [inline]
 [<ffffffff813bf7b9>] page_cache_read mm/filemap.c:1858 [inline]
 [<ffffffff813bf7b9>] filemap_fault+0x829/0xc10 mm/filemap.c:2043
 [<ffffffff81665ed2>] ext4_filemap_fault+0x72/0xa0 fs/ext4/inode.c:5558
 [<ffffffff8142e82a>] __do_fault+0x1ca/0x350 mm/memory.c:2822
 [<ffffffff8143b9cc>] do_read_fault mm/memory.c:3012 [inline]
 [<ffffffff8143b9cc>] do_fault mm/memory.c:3177 [inline]
 [<ffffffff8143b9cc>] handle_pte_fault mm/memory.c:3346 [inline]
 [<ffffffff8143b9cc>] __handle_mm_fault mm/memory.c:3474 [inline]
 [<ffffffff8143b9cc>] handle_mm_fault+0x1cfc/0x3140 mm/memory.c:3503
 [<ffffffff810aaa4e>] __do_page_fault+0x28e/0x7f0 arch/x86/mm/fault.c:1243
 [<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: fb ff ff 48 89 f8 48 c1 e8 03 42 0f b6 14 20 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 e2 05 00 00 f6 83 d6 fb ff ff 20 <75> 91 e8 2d ae 1e ff 4c 89 ef e8 15 40 2a ff 48 85 c0 48 89 c3 
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: 0000000000430b70 CR3: 000000002a23d000 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 
lowmemorykiller: Killing 'syz-executor.2' (18360) (tgid 18348), adj 1000,
   to free 35060kB on behalf of 'syz-executor.4' (18030) because
   cache 144kB is below limit 6144kB for oom_score_adj 0
   Free memory is 2956kB above reserved
lowmemorykiller: Killing 'syz-executor.2' (18360) (tgid 18348), adj 1000,
   to free 35060kB on behalf of 'init' (1) because
   cache 144kB is below limit 6144kB for oom_score_adj 0
   Free memory is 2956kB above reserved
lowmemorykiller: Killing 'syz-executor.2' (18360) (tgid 18348), adj 1000,
   to free 35060kB on behalf of 'syz-executor.3' (18372) because
   cache 140kB is below limit 6144kB for oom_score_adj 0
   Free memory is 2956kB above reserved
lowmemorykiller: Killing 'syz-executor.2' (18360) (tgid 18348), adj 1000,
   to free 35060kB on behalf of 'syz-executor.2' (18373) because
   cache 140kB is below limit 6144kB for oom_score_adj 0
   Free memory is 2956kB above reserved
lowmemorykiller: Killing 'syz-executor.2' (18360) (tgid 18348), adj 1000,
   to free 35060kB on behalf of 'syz-executor.3' (2118) because
   cache 140kB is below limit 6144kB for oom_score_adj 0
   Free memory is 2932kB above reserved
lowmemorykiller: Killing 'syz-executor.2' (18360) (tgid 18348), adj 1000,
   to free 35060kB on behalf of 'syz-executor.2' (2116) because
   cache 140kB is below limit 6144kB for oom_score_adj 0
   Free memory is 2932kB above reserved
lowmemorykiller: Killing 'syz-executor.2' (18360) (tgid 18348), adj 1000,
   to free 35060kB on behalf of 'cron' (1975) because
   cache 132kB is below limit 6144kB for oom_score_adj 0
   Free memory is 2956kB above reserved
lowmemorykiller: Killing 'syz-executor.2' (18360) (tgid 18348), adj 1000,
   to free 35060kB on behalf of 'syz-executor.5' (2113) because
   cache 132kB is below limit 6144kB for oom_score_adj 0
   Free memory is 2956kB above reserved

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/11/15 12:38 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 79248ee8 .config console log report ci-android-44-kasan-gce
2019/11/28 01:36 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 0d63f89c .config console log report ci-android-44-kasan-gce-386
2019/10/11 06:20 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 1a3bad90 .config console log report ci-android-44-kasan-gce-386
2019/08/24 09:18 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 78ded196 .config console log report ci-android-44-kasan-gce-386
* Struck through repros no longer work on HEAD.