syzbot


INFO: trying to register non-static key in handle_userfault (2)

Status: auto-closed as invalid on 2020/10/13 18:28
Reported-by: syzbot+afed864dcacfe18f1fc0@syzkaller.appspotmail.com
First crash: 1603d, last: 1603d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 INFO: trying to register non-static key in handle_userfault 1 1971d 1971d 0/1 auto-closed as invalid on 2019/10/25 08:36
linux-4.14 INFO: trying to register non-static key in handle_userfault (3) 1 1020d 1020d 0/1 auto-closed as invalid on 2022/05/19 14:03

Sample crash report:
FAULT_FLAG_ALLOW_RETRY missing 30
CPU: 1 PID: 18295 Comm: syz-executor.2 Not tainted 4.14.184-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
INFO: trying to register non-static key.
Call Trace:
the code is fine but needs lockdep annotation.
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x283 lib/dump_stack.c:58
turning off the locking correctness validator.
 handle_userfault.cold+0x3b/0x4b fs/userfaultfd.c:429
 do_anonymous_page+0x1074/0x17d0 mm/memory.c:3125
 handle_pte_fault mm/memory.c:3987 [inline]
 __handle_mm_fault+0x1bf1/0x3670 mm/memory.c:4113
 handle_mm_fault+0x306/0x794 mm/memory.c:4150
 __do_page_fault+0x578/0xb50 arch/x86/mm/fault.c:1442
 page_fault+0x25/0x50 arch/x86/entry/entry_64.S:1123
RIP: 0010:copy_user_generic_unrolled+0x86/0xc0 arch/x86/lib/copy_user_64.S:66
RSP: 0018:ffff88804f1df9c8 EFLAGS: 00010202
RAX: ffffed1009e3bf46 RBX: 0000000020013ff4 RCX: 0000000000000001
RDX: 0000000000000000 RSI: 0000000020013ff4 RDI: ffff88804f1dfa28
RBP: 0000000000000008 R08: 0000000000000001 R09: ffffed1009e3bf46
R10: ffffed1009e3bf45 R11: ffff88804f1dfa2f R12: ffff88804f1dfa28
R13: 00007ffffffff000 R14: 0000000020013ffc R15: ffff88809ea3d800
 copy_user_generic arch/x86/include/asm/uaccess_64.h:37 [inline]
 raw_copy_from_user arch/x86/include/asm/uaccess_64.h:55 [inline]
 _copy_from_user+0xbc/0x100 lib/usercopy.c:13
 copy_from_user include/linux/uaccess.h:147 [inline]
 sctp_getsockopt_assoc_stats+0xab/0x530 net/sctp/socket.c:6498
 sctp_getsockopt net/sctp/socket.c:7012 [inline]
 sctp_getsockopt+0x2269/0x4d76 net/sctp/socket.c:6861
 SYSC_getsockopt net/socket.c:1896 [inline]
 SyS_getsockopt+0x102/0x1c0 net/socket.c:1878
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x45ca59
RSP: 002b:00007fde13eabc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000037
RAX: ffffffffffffffda RBX: 00000000004df4a0 RCX: 000000000045ca59
RDX: 0000000000000070 RSI: 0000000000000084 RDI: 0000000000000004
RBP: 000000000078bf00 R08: 0000000020002000 R09: 0000000000000000
R10: 0000000020013ff4 R11: 0000000000000246 R12: 00000000ffffffff
R13: 000000000000018b R14: 00000000004d2688 R15: 00007fde13eac6d4
CPU: 0 PID: 18302 Comm: syz-executor.1 Not tainted 4.14.184-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x283 lib/dump_stack.c:58
 register_lock_class+0x32b/0x1320 kernel/locking/lockdep.c:768
 __lock_acquire+0x180/0x42a0 kernel/locking/lockdep.c:3378
 lock_acquire+0x170/0x3f0 kernel/locking/lockdep.c:3998
 flush_work+0xae/0x780 kernel/workqueue.c:2889
 __cancel_work_timer+0x329/0x460 kernel/workqueue.c:2964
 smc_close_active+0x684/0xb90 net/smc/smc_close.c:206
 smc_release+0x40d/0x610 net/smc/af_smc.c:131
 __sock_release+0xcd/0x2b0 net/socket.c:602
 sock_close+0x15/0x20 net/socket.c:1139
 __fput+0x25f/0x7a0 fs/file_table.c:210
 task_work_run+0x113/0x190 kernel/task_work.c:113
 tracehook_notify_resume include/linux/tracehook.h:191 [inline]
 exit_to_usermode_loop+0x1ad/0x200 arch/x86/entry/common.c:164
 prepare_exit_to_usermode arch/x86/entry/common.c:199 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:270 [inline]
 do_syscall_64+0x4a3/0x640 arch/x86/entry/common.c:297
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x416651
RSP: 002b:00007ffff39e1130 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000007 RCX: 0000000000416651
RDX: 0000000000000000 RSI: 00000000000009b8 RDI: 0000000000000006
RBP: 0000000000000001 R08: 00000000f5f069bb R09: 0000000000000000
R10: 00007ffff39e1220 R11: 0000000000000293 R12: 0000000000791b00
R13: 000000000004ca66 R14: ffffffffffffffff R15: 000000000078bf0c
netlink: 32 bytes leftover after parsing attributes in process `syz-executor.2'.
netlink: 32 bytes leftover after parsing attributes in process `syz-executor.2'.
FAULT_FLAG_ALLOW_RETRY missing 30
CPU: 1 PID: 18323 Comm: syz-executor.2 Not tainted 4.14.184-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x283 lib/dump_stack.c:58
 handle_userfault.cold+0x3b/0x4b fs/userfaultfd.c:429
 do_anonymous_page+0x1074/0x17d0 mm/memory.c:3125
 handle_pte_fault mm/memory.c:3987 [inline]
 __handle_mm_fault+0x1bf1/0x3670 mm/memory.c:4113
 handle_mm_fault+0x306/0x794 mm/memory.c:4150
 __do_page_fault+0x578/0xb50 arch/x86/mm/fault.c:1442
 page_fault+0x25/0x50 arch/x86/entry/entry_64.S:1123
RIP: 0010:copy_user_generic_unrolled+0x86/0xc0 arch/x86/lib/copy_user_64.S:66
RSP: 0018:ffff88804bf1f9c8 EFLAGS: 00010202
RAX: ffffed10097e3f46 RBX: 0000000020013ff4 RCX: 0000000000000001
RDX: 0000000000000000 RSI: 0000000020013ff4 RDI: ffff88804bf1fa28
RBP: 0000000000000008 R08: 0000000000000000 R09: ffffed10097e3f46
R10: ffffed10097e3f45 R11: ffff88804bf1fa2f R12: ffff88804bf1fa28
R13: 00007ffffffff000 R14: 0000000020013ffc R15: ffff88808cda9800
 copy_user_generic arch/x86/include/asm/uaccess_64.h:37 [inline]
 raw_copy_from_user arch/x86/include/asm/uaccess_64.h:55 [inline]
 _copy_from_user+0xbc/0x100 lib/usercopy.c:13
 copy_from_user include/linux/uaccess.h:147 [inline]
 sctp_getsockopt_assoc_stats+0xab/0x530 net/sctp/socket.c:6498
 sctp_getsockopt net/sctp/socket.c:7012 [inline]
 sctp_getsockopt+0x2269/0x4d76 net/sctp/socket.c:6861
 SYSC_getsockopt net/socket.c:1896 [inline]
 SyS_getsockopt+0x102/0x1c0 net/socket.c:1878
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x45ca59
RSP: 002b:00007fde13eabc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000037
RAX: ffffffffffffffda RBX: 00000000004df4a0 RCX: 000000000045ca59
RDX: 0000000000000070 RSI: 0000000000000084 RDI: 0000000000000004
RBP: 000000000078bf00 R08: 0000000020002000 R09: 0000000000000000
R10: 0000000020013ff4 R11: 0000000000000246 R12: 00000000ffffffff
R13: 000000000000018b R14: 00000000004d2688 R15: 00007fde13eac6d4
BTRFS error (device loop1): unsupported checksum algorithm 658
BTRFS error (device loop1): superblock checksum mismatch
BTRFS error (device loop1): open_ctree failed
BTRFS error (device loop1): unsupported checksum algorithm 658
BTRFS error (device loop1): superblock checksum mismatch
BTRFS error (device loop1): open_ctree failed
netlink: 32 bytes leftover after parsing attributes in process `syz-executor.2'.
BTRFS error (device loop1): unsupported checksum algorithm 658
BTRFS error (device loop1): superblock checksum mismatch
BTRFS error (device loop1): open_ctree failed
FAULT_FLAG_ALLOW_RETRY missing 30
CPU: 0 PID: 18413 Comm: syz-executor.2 Not tainted 4.14.184-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x283 lib/dump_stack.c:58
 handle_userfault.cold+0x3b/0x4b fs/userfaultfd.c:429
 do_anonymous_page+0x1074/0x17d0 mm/memory.c:3125
 handle_pte_fault mm/memory.c:3987 [inline]
 __handle_mm_fault+0x1bf1/0x3670 mm/memory.c:4113
 handle_mm_fault+0x306/0x794 mm/memory.c:4150
 __do_page_fault+0x578/0xb50 arch/x86/mm/fault.c:1442
 page_fault+0x25/0x50 arch/x86/entry/entry_64.S:1123
RIP: 0010:copy_user_generic_unrolled+0x86/0xc0 arch/x86/lib/copy_user_64.S:66
RSP: 0018:ffff888058c779c8 EFLAGS: 00010202
RAX: ffffed100b18ef46 RBX: 0000000020013ff4 RCX: 0000000000000001
RDX: 0000000000000000 RSI: 0000000020013ff4 RDI: ffff888058c77a28
RBP: 0000000000000008 R08: 0000000000000000 R09: ffffed100b18ef46
R10: ffffed100b18ef45 R11: ffff888058c77a2f R12: ffff888058c77a28
R13: 00007ffffffff000 R14: 0000000020013ffc R15: ffff888092b0c800
 copy_user_generic arch/x86/include/asm/uaccess_64.h:37 [inline]
 raw_copy_from_user arch/x86/include/asm/uaccess_64.h:55 [inline]
 _copy_from_user+0xbc/0x100 lib/usercopy.c:13
 copy_from_user include/linux/uaccess.h:147 [inline]
 sctp_getsockopt_assoc_stats+0xab/0x530 net/sctp/socket.c:6498
 sctp_getsockopt net/sctp/socket.c:7012 [inline]
 sctp_getsockopt+0x2269/0x4d76 net/sctp/socket.c:6861
 SYSC_getsockopt net/socket.c:1896 [inline]
 SyS_getsockopt+0x102/0x1c0 net/socket.c:1878
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x45ca59
RSP: 002b:00007fde13eabc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000037
RAX: ffffffffffffffda RBX: 00000000004df4a0 RCX: 000000000045ca59
RDX: 0000000000000070 RSI: 0000000000000084 RDI: 0000000000000004
RBP: 000000000078bf00 R08: 0000000020002000 R09: 0000000000000000
R10: 0000000020013ff4 R11: 0000000000000246 R12: 00000000ffffffff
R13: 000000000000018b R14: 00000000004d2688 R15: 00007fde13eac6d4
BTRFS error (device loop1): unsupported checksum algorithm 658
BTRFS error (device loop1): superblock checksum mismatch
BTRFS error (device loop1): open_ctree failed
BTRFS error (device loop1): unsupported checksum algorithm 658
BTRFS error (device loop1): superblock checksum mismatch
BTRFS error (device loop1): open_ctree failed
FAULT_FLAG_ALLOW_RETRY missing 30
CPU: 1 PID: 18490 Comm: syz-executor.2 Not tainted 4.14.184-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x283 lib/dump_stack.c:58
 handle_userfault.cold+0x3b/0x4b fs/userfaultfd.c:429
 do_anonymous_page+0x1074/0x17d0 mm/memory.c:3125
 handle_pte_fault mm/memory.c:3987 [inline]
 __handle_mm_fault+0x1bf1/0x3670 mm/memory.c:4113
 handle_mm_fault+0x306/0x794 mm/memory.c:4150
 __do_page_fault+0x578/0xb50 arch/x86/mm/fault.c:1442
 page_fault+0x25/0x50 arch/x86/entry/entry_64.S:1123
RIP: 0010:copy_user_generic_unrolled+0x86/0xc0 arch/x86/lib/copy_user_64.S:66
RSP: 0018:ffff8880583af9c8 EFLAGS: 00010202
RAX: ffffed100b075f46 RBX: 0000000020013ff4 RCX: 0000000000000001
RDX: 0000000000000000 RSI: 0000000020013ff4 RDI: ffff8880583afa28
RBP: 0000000000000008 R08: 0000000000000000 R09: ffffed100b075f46
R10: ffffed100b075f45 R11: ffff8880583afa2f R12: ffff8880583afa28
R13: 00007ffffffff000 R14: 0000000020013ffc R15: ffff88808cda9000
 copy_user_generic arch/x86/include/asm/uaccess_64.h:37 [inline]
 raw_copy_from_user arch/x86/include/asm/uaccess_64.h:55 [inline]
 _copy_from_user+0xbc/0x100 lib/usercopy.c:13
 copy_from_user include/linux/uaccess.h:147 [inline]
 sctp_getsockopt_assoc_stats+0xab/0x530 net/sctp/socket.c:6498
 sctp_getsockopt net/sctp/socket.c:7012 [inline]
 sctp_getsockopt+0x2269/0x4d76 net/sctp/socket.c:6861
 SYSC_getsockopt net/socket.c:1896 [inline]
 SyS_getsockopt+0x102/0x1c0 net/socket.c:1878
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x45ca59
RSP: 002b:00007fde13eabc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000037
RAX: ffffffffffffffda RBX: 00000000004df4a0 RCX: 000000000045ca59
RDX: 0000000000000070 RSI: 0000000000000084 RDI: 0000000000000004
RBP: 000000000078bf00 R08: 0000000020002000 R09: 0000000000000000
R10: 0000000020013ff4 R11: 0000000000000246 R12: 00000000ffffffff
R13: 000000000000018b R14: 00000000004d2688 R15: 00007fde13eac6d4
BTRFS error (device loop1): unsupported checksum algorithm 658
BTRFS error (device loop1): superblock checksum mismatch
BTRFS error (device loop1): open_ctree failed
BTRFS error (device loop1): unsupported checksum algorithm 658
BTRFS error (device loop1): superblock checksum mismatch
BTRFS error (device loop1): open_ctree failed
print_req_error: I/O error, dev loop1, sector 0
BTRFS error (device loop1): unsupported checksum algorithm 658
BTRFS error (device loop1): superblock checksum mismatch
BTRFS error (device loop1): open_ctree failed
BTRFS error (device loop1): unsupported checksum algorithm 658
BTRFS error (device loop1): superblock checksum mismatch
BTRFS error (device loop1): open_ctree failed
print_req_error: I/O error, dev loop1, sector 0
BTRFS error (device loop1): unsupported checksum algorithm 658
FAULT_FLAG_ALLOW_RETRY missing 30
BTRFS error (device loop1): superblock checksum mismatch
CPU: 1 PID: 18570 Comm: syz-executor.2 Not tainted 4.14.184-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x283 lib/dump_stack.c:58
 handle_userfault.cold+0x3b/0x4b fs/userfaultfd.c:429
 do_anonymous_page+0x1074/0x17d0 mm/memory.c:3125
 handle_pte_fault mm/memory.c:3987 [inline]
 __handle_mm_fault+0x1bf1/0x3670 mm/memory.c:4113
 handle_mm_fault+0x306/0x794 mm/memory.c:4150
 __do_page_fault+0x578/0xb50 arch/x86/mm/fault.c:1442
 page_fault+0x25/0x50 arch/x86/entry/entry_64.S:1123
RIP: 0010:copy_user_generic_unrolled+0x86/0xc0 arch/x86/lib/copy_user_64.S:66
RSP: 0018:ffff88804d2af9c8 EFLAGS: 00010202
RAX: ffffed1009a55f46 RBX: 0000000020013ff4 RCX: 0000000000000001
RDX: 0000000000000000 RSI: 0000000020013ff4 RDI: ffff88804d2afa28
RBP: 0000000000000008 R08: 0000000000000000 R09: ffffed1009a55f46
R10: ffffed1009a55f45 R11: ffff88804d2afa2f R12: ffff88804d2afa28
R13: 00007ffffffff000 R14: 0000000020013ffc R15: ffff88809f2a3800
 copy_user_generic arch/x86/include/asm/uaccess_64.h:37 [inline]
 raw_copy_from_user arch/x86/include/asm/uaccess_64.h:55 [inline]
 _copy_from_user+0xbc/0x100 lib/usercopy.c:13
 copy_from_user include/linux/uaccess.h:147 [inline]
 sctp_getsockopt_assoc_stats+0xab/0x530 net/sctp/socket.c:6498
 sctp_getsockopt net/sctp/socket.c:7012 [inline]
 sctp_getsockopt+0x2269/0x4d76 net/sctp/socket.c:6861
 SYSC_getsockopt net/socket.c:1896 [inline]
 SyS_getsockopt+0x102/0x1c0 net/socket.c:1878
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x45ca59
RSP: 002b:00007fde13eabc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000037
RAX: ffffffffffffffda RBX: 00000000004df4a0 RCX: 000000000045ca59
RDX: 0000000000000070 RSI: 0000000000000084 RDI: 000000000000000a
RBP: 000000000078bf00 R08: 0000000020002000 R09: 0000000000000000
R10: 0000000020013ff4 R11: 0000000000000246 R12: 00000000ffffffff
R13: 000000000000018b R14: 00000000004d2688 R15: 00007fde13eac6d4
BTRFS error (device loop1): open_ctree failed
BTRFS error (device loop1): unsupported checksum algorithm 658
BTRFS error (device loop1): superblock checksum mismatch
BTRFS error (device loop1): open_ctree failed
print_req_error: I/O error, dev loop1, sector 0
BTRFS error (device loop1): unsupported checksum algorithm 658
BTRFS error (device loop1): superblock checksum mismatch
FAULT_FLAG_ALLOW_RETRY missing 30
CPU: 0 PID: 18638 Comm: syz-executor.2 Not tainted 4.14.184-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x283 lib/dump_stack.c:58
 handle_userfault.cold+0x3b/0x4b fs/userfaultfd.c:429
 do_anonymous_page+0x1074/0x17d0 mm/memory.c:3125
 handle_pte_fault mm/memory.c:3987 [inline]
 __handle_mm_fault+0x1bf1/0x3670 mm/memory.c:4113
 handle_mm_fault+0x306/0x794 mm/memory.c:4150
 __do_page_fault+0x578/0xb50 arch/x86/mm/fault.c:1442
 page_fault+0x25/0x50 arch/x86/entry/entry_64.S:1123
RIP: 0010:copy_user_generic_unrolled+0x86/0xc0 arch/x86/lib/copy_user_64.S:66
RSP: 0018:ffff88804f1df9c8 EFLAGS: 00010202
RAX: ffffed1009e3bf46 RBX: 0000000020013ff4 RCX: 0000000000000001
RDX: 0000000000000000 RSI: 0000000020013ff4 RDI: ffff88804f1dfa28
RBP: 0000000000000008 R08: 0000000000000000 R09: ffffed1009e3bf46
R10: ffffed1009e3bf45 R11: ffff88804f1dfa2f R12: ffff88804f1dfa28
R13: 00007ffffffff000 R14: 0000000020013ffc R15: ffff88809e85c800
 copy_user_generic arch/x86/include/asm/uaccess_64.h:37 [inline]
 raw_copy_from_user arch/x86/include/asm/uaccess_64.h:55 [inline]
 _copy_from_user+0xbc/0x100 lib/usercopy.c:13
 copy_from_user include/linux/uaccess.h:147 [inline]
 sctp_getsockopt_assoc_stats+0xab/0x530 net/sctp/socket.c:6498
 sctp_getsockopt net/sctp/socket.c:7012 [inline]
 sctp_getsockopt+0x2269/0x4d76 net/sctp/socket.c:6861
 SYSC_getsockopt net/socket.c:1896 [inline]
 SyS_getsockopt+0x102/0x1c0 net/socket.c:1878
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x45ca59
RSP: 002b:00007fde13eabc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000037
RAX: ffffffffffffffda RBX: 00000000004df4a0 RCX: 000000000045ca59
RDX: 0000000000000070 RSI: 0000000000000084 RDI: 0000000000000004
RBP: 000000000078bf00 R08: 0000000020002000 R09: 0000000000000000
R10: 0000000020013ff4 R11: 0000000000000246 R12: 00000000ffffffff
R13: 000000000000018b R14: 00000000004d2688 R15: 00007fde13eac6d4
BTRFS error (device loop1): open_ctree failed
BTRFS error (device loop1): unsupported checksum algorithm 658
BTRFS error (device loop1): superblock checksum mismatch
BTRFS error (device loop1): open_ctree failed
BTRFS error (device loop1): unsupported checksum algorithm 658
BTRFS error (device loop1): superblock checksum mismatch
BTRFS error (device loop1): open_ctree failed
BTRFS error (device loop1): unsupported checksum algorithm 658
BTRFS error (device loop1): superblock checksum mismatch
BTRFS error (device loop1): open_ctree failed
FAULT_FLAG_ALLOW_RETRY missing 30
CPU: 1 PID: 18716 Comm: syz-executor.2 Not tainted 4.14.184-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x283 lib/dump_stack.c:58
 handle_userfault.cold+0x3b/0x4b fs/userfaultfd.c:429
 do_anonymous_page+0x1074/0x17d0 mm/memory.c:3125
 handle_pte_fault mm/memory.c:3987 [inline]
 __handle_mm_fault+0x1bf1/0x3670 mm/memory.c:4113
 handle_mm_fault+0x306/0x794 mm/memory.c:4150
 __do_page_fault+0x578/0xb50 arch/x86/mm/fault.c:1442
 page_fault+0x25/0x50 arch/x86/entry/entry_64.S:1123
RIP: 0010:copy_user_generic_unrolled+0x86/0xc0 arch/x86/lib/copy_user_64.S:66
RSP: 0018:ffff88809b4379c8 EFLAGS: 00010202
RAX: ffffed1013686f46 RBX: 0000000020013ff4 RCX: 0000000000000001
RDX: 0000000000000000 RSI: 0000000020013ff4 RDI: ffff88809b437a28
RBP: 0000000000000008 R08: 0000000000000000 R09: ffffed1013686f46
R10: ffffed1013686f45 R11: ffff88809b437a2f R12: ffff88809b437a28
R13: 00007ffffffff000 R14: 0000000020013ffc R15: ffff88808bdf1000
 copy_user_generic arch/x86/include/asm/uaccess_64.h:37 [inline]
 raw_copy_from_user arch/x86/include/asm/uaccess_64.h:55 [inline]
 _copy_from_user+0xbc/0x100 lib/usercopy.c:13
 copy_from_user include/linux/uaccess.h:147 [inline]
 sctp_getsockopt_assoc_stats+0xab/0x530 net/sctp/socket.c:6498
 sctp_getsockopt net/sctp/socket.c:7012 [inline]
 sctp_getsockopt+0x2269/0x4d76 net/sctp/socket.c:6861
 SYSC_getsockopt net/socket.c:1896 [inline]
 SyS_getsockopt+0x102/0x1c0 net/socket.c:1878
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x45ca59
RSP: 002b:00007fde13eabc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000037
RAX: ffffffffffffffda RBX: 00000000004df4a0 RCX: 000000000045ca59
RDX: 0000000000000070 RSI: 0000000000000084 RDI: 0000000000000004
RBP: 000000000078bf00 R08: 0000000020002000 R09: 0000000000000000
R10: 0000000020013ff4 R11: 0000000000000246 R12: 00000000ffffffff
R13: 000000000000018b R14: 00000000004d2688 R15: 00007fde13eac6d4
BTRFS error (device loop1): unsupported checksum algorithm 658
BTRFS error (device loop1): superblock checksum mismatch
BTRFS error (device loop1): open_ctree failed
BTRFS error (device loop1): unsupported checksum algorithm 658
BTRFS error (device loop1): superblock checksum mismatch
BTRFS error (device loop1): open_ctree failed
BTRFS error (device loop3): unsupported checksum algorithm 658
BTRFS error (device loop3): superblock checksum mismatch
FAULT_FLAG_ALLOW_RETRY missing 30
CPU: 0 PID: 18716 Comm: syz-executor.2 Not tainted 4.14.184-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x283 lib/dump_stack.c:58
 handle_userfault.cold+0x3b/0x4b fs/userfaultfd.c:429
 do_anonymous_page+0x1074/0x17d0 mm/memory.c:3125
 handle_pte_fault mm/memory.c:3987 [inline]
 __handle_mm_fault+0x1bf1/0x3670 mm/memory.c:4113
 handle_mm_fault+0x306/0x794 mm/memory.c:4150
 __do_page_fault+0x578/0xb50 arch/x86/mm/fault.c:1442
 page_fault+0x25/0x50 arch/x86/entry/entry_64.S:1123
RIP: 0010:copy_user_generic_unrolled+0x86/0xc0 arch/x86/lib/copy_user_64.S:66
RSP: 0018:ffff88809b4379c8 EFLAGS: 00010202
RAX: ffffed1013686f46 RBX: 0000000020013ff4 RCX: 0000000000000001
RDX: 0000000000000000 RSI: 0000000020013ff4 RDI: ffff88809b437a28
RBP: 0000000000000008 R08: 0000000000000000 R09: ffffed1013686f46
R10: ffffed1013686f45 R11: ffff88809b437a2f R12: ffff88809b437a28
R13: 00007ffffffff000 R14: 0000000020013ffc R15: ffff88809f2a3000
 copy_user_generic arch/x86/include/asm/uaccess_64.h:37 [inline]
 raw_copy_from_user arch/x86/include/asm/uaccess_64.h:55 [inline]
 _copy_from_user+0xbc/0x100 lib/usercopy.c:13
 copy_from_user include/linux/uaccess.h:147 [inline]
 sctp_getsockopt_assoc_stats+0xab/0x530 net/sctp/socket.c:6498
 sctp_getsockopt net/sctp/socket.c:7012 [inline]
 sctp_getsockopt+0x2269/0x4d76 net/sctp/socket.c:6861
 SYSC_getsockopt net/socket.c:1896 [inline]
 SyS_getsockopt+0x102/0x1c0 net/socket.c:1878
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x45ca59
RSP: 002b:00007fde13eabc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000037
RAX: ffffffffffffffda RBX: 00000000004df4a0 RCX: 000000000045ca59
RDX: 0000000000000070 RSI: 0000000000000084 RDI: 0000000000000004
RBP: 000000000078bf00 R08: 0000000020002000 R09: 0000000000000000
R10: 0000000020013ff4 R11: 0000000000000246 R12: 00000000ffffffff
R13: 000000000000018b R14: 00000000004d2688 R15: 00007fde13eac6d4
BTRFS error (device loop3): open_ctree failed
print_req_error: I/O error, dev loop3, sector 128
BTRFS error (device loop1): unsupported checksum algorithm 658
FAULT_FLAG_ALLOW_RETRY missing 30
BTRFS error (device loop1): superblock checksum mismatch
CPU: 1 PID: 18790 Comm: syz-executor.2 Not tainted 4.14.184-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x283 lib/dump_stack.c:58
 handle_userfault.cold+0x3b/0x4b fs/userfaultfd.c:429
 do_anonymous_page+0x1074/0x17d0 mm/memory.c:3125
 handle_pte_fault mm/memory.c:3987 [inline]
 __handle_mm_fault+0x1bf1/0x3670 mm/memory.c:4113
 handle_mm_fault+0x306/0x794 mm/memory.c:4150
 __do_page_fault+0x578/0xb50 arch/x86/mm/fault.c:1442
 page_fault+0x25/0x50 arch/x86/entry/entry_64.S:1123
RIP: 0010:copy_user_generic_unrolled+0x86/0xc0 arch/x86/lib/copy_user_64.S:66
RSP: 0018:ffff8880523879c8 EFLAGS: 00010202
RAX: ffffed100a470f46 RBX: 0000000020013ff4 RCX: 0000000000000001
RDX: 0000000000000000 RSI: 0000000020013ff4 RDI: ffff888052387a28
RBP: 0000000000000008 R08: 0000000000000000 R09: ffffed100a470f46
R10: ffffed100a470f45 R11: ffff888052387a2f R12: ffff888052387a28
R13: 00007ffffffff000 R14: 0000000020013ffc R15: ffff888090d22000
 copy_user_generic arch/x86/include/asm/uaccess_64.h:37 [inline]
 raw_copy_from_user arch/x86/include/asm/uaccess_64.h:55 [inline]
 _copy_from_user+0xbc/0x100 lib/usercopy.c:13
 copy_from_user include/linux/uaccess.h:147 [inline]
 sctp_getsockopt_assoc_stats+0xab/0x530 net/sctp/socket.c:6498
 sctp_getsockopt net/sctp/socket.c:7012 [inline]
 sctp_getsockopt+0x2269/0x4d76 net/sctp/socket.c:6861
 SYSC_getsockopt net/socket.c:1896 [inline]
 SyS_getsockopt+0x102/0x1c0 net/socket.c:1878
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x45ca59
RSP: 002b:00007fde13eabc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000037
RAX: ffffffffffffffda RBX: 00000000004df4a0 RCX: 000000000045ca59
RDX: 0000000000000070 RSI: 0000000000000084 RDI: 0000000000000007
RBP: 000000000078bf00 R08: 0000000020002000 R09: 0000000000000000
R10: 0000000020013ff4 R11: 0000000000000246 R12: 00000000ffffffff
R13: 000000000000018b R14: 00000000004d2688 R15: 00007fde13eac6d4
BTRFS error (device loop1): open_ctree failed
BTRFS error (device loop3): unsupported checksum algorithm 658
BTRFS error (device loop3): superblock checksum mismatch
BTRFS error (device loop3): open_ctree failed
BTRFS error (device loop1): unsupported checksum algorithm 658
BTRFS error (device loop1): superblock checksum mismatch
BTRFS error (device loop1): open_ctree failed
BTRFS error (device loop3): unsupported checksum algorithm 658
BTRFS error (device loop3): superblock checksum mismatch
FAULT_FLAG_ALLOW_RETRY missing 30
CPU: 0 PID: 18857 Comm: syz-executor.2 Not tainted 4.14.184-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x283 lib/dump_stack.c:58
 handle_userfault.cold+0x3b/0x4b fs/userfaultfd.c:429
 do_anonymous_page+0x1074/0x17d0 mm/memory.c:3125
 handle_pte_fault mm/memory.c:3987 [inline]
 __handle_mm_fault+0x1bf1/0x3670 mm/memory.c:4113
 handle_mm_fault+0x306/0x794 mm/memory.c:4150
 __do_page_fault+0x578/0xb50 arch/x86/mm/fault.c:1442
 page_fault+0x25/0x50 arch/x86/entry/entry_64.S:1123
RIP: 0010:copy_user_generic_unrolled+0x86/0xc0 arch/x86/lib/copy_user_64.S:66
RSP: 0018:ffff88804c3cf9c8 EFLAGS: 00010202
RAX: ffffed1009879f46 RBX: 0000000020013ff4 RCX: 0000000000000001
RDX: 0000000000000000 RSI: 0000000020013ff4 RDI: ffff88804c3cfa28
RBP: 0000000000000008 R08: 0000000000000000 R09: ffffed1009879f46
R10: ffffed1009879f45 R11: ffff88804c3cfa2f R12: ffff88804c3cfa28
R13: 00007ffffffff000 R14: 0000000020013ffc R15: ffff88808de55800
 copy_user_generic arch/x86/include/asm/uaccess_64.h:37 [inline]
 raw_copy_from_user arch/x86/include/asm/uaccess_64.h:55 [inline]
 _copy_from_user+0xbc/0x100 lib/usercopy.c:13
 copy_from_user include/linux/uaccess.h:147 [inline]
 sctp_getsockopt_assoc_stats+0xab/0x530 net/sctp/socket.c:6498
 sctp_getsockopt net/sctp/socket.c:7012 [inline]
 sctp_getsockopt+0x2269/0x4d76 net/sctp/socket.c:6861
 SYSC_getsockopt net/socket.c:1896 [inline]
 SyS_getsockopt+0x102/0x1c0 net/socket.c:1878
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x45ca59
RSP: 002b:00007fde13eabc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000037
RAX: ffffffffffffffda RBX: 00000000004df4a0 RCX: 000000000045ca59
RDX: 0000000000000070 RSI: 0000000000000084 RDI: 0000000000000004
RBP: 000000000078bf00 R08: 0000000020002000 R09: 0000000000000000
R10: 0000000020013ff4 R11: 0000000000000246 R12: 00000000ffffffff
R13: 000000000000018b R14: 00000000004d2688 R15: 00007fde13eac6d4
BTRFS error (device loop3): open_ctree failed
BTRFS error (device loop1): unsupported checksum algorithm 658
BTRFS error (device loop1): superblock checksum mismatch
BTRFS error (device loop1): open_ctree failed
BTRFS error (device loop3): unsupported checksum algorithm 658
BTRFS error (device loop3): superblock checksum mismatch
BTRFS error (device loop3): open_ctree failed
BTRFS error (device loop3): unsupported checksum algorithm 658
BTRFS error (device loop3): superblock checksum mismatch
BTRFS error (device loop3): open_ctree failed
BTRFS error (device loop3): unsupported checksum algorithm 658
BTRFS error (device loop3): superblock checksum mismatch
BTRFS error (device loop3): open_ctree failed
BTRFS error (device loop1): unsupported checksum algorithm 658
print_req_error: I/O error, dev loop3, sector 0
BTRFS error (device loop1): superblock checksum mismatch
BTRFS error (device loop1): open_ctree failed
BTRFS error (device loop3): unsupported checksum algorithm 658
BTRFS error (device loop3): superblock checksum mismatch
print_req_error: I/O error, dev loop1, sector 0
BTRFS error (device loop3): open_ctree failed
BTRFS error (device loop3): unsupported checksum algorithm 658
BTRFS error (device loop3): superblock checksum mismatch
BTRFS error (device loop3): open_ctree failed
BTRFS error (device loop1): unsupported checksum algorithm 658
FAULT_FLAG_ALLOW_RETRY missing 30
CPU: 0 PID: 18977 Comm: syz-executor.2 Not tainted 4.14.184-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x283 lib/dump_stack.c:58
 handle_userfault.cold+0x3b/0x4b fs/userfaultfd.c:429
 do_anonymous_page+0x1074/0x17d0 mm/memory.c:3125
 handle_pte_fault mm/memory.c:3987 [inline]
 __handle_mm_fault+0x1bf1/0x3670 mm/memory.c:4113
 handle_mm_fault+0x306/0x794 mm/memory.c:4150
BTRFS error (device loop1): superblock checksum mismatch
 __do_page_fault+0x578/0xb50 arch/x86/mm/fault.c:1442
 page_fault+0x25/0x50 arch/x86/entry/entry_64.S:1123
RIP: 0010:copy_user_generic_unrolled+0x86/0xc0 arch/x86/lib/copy_user_64.S:66
RSP: 0018:ffff8880593b79c8 EFLAGS: 00010202
RAX: ffffed100b276f46 RBX: 0000000020013ff4 RCX: 0000000000000001
RDX: 0000000000000000 RSI: 0000000020013ff4 RDI: ffff8880593b7a28
RBP: 0000000000000008 R08: 0000000000000000 R09: ffffed100b276f46
R10: ffffed100b276f45 R11: ffff8880593b7a2f R12: ffff8880593b7a28
R13: 00007ffffffff000 R14: 0000000020013ffc R15: ffff8880a55ef800
 copy_user_generic arch/x86/include/asm/uaccess_64.h:37 [inline]
 raw_copy_from_user arch/x86/include/asm/uaccess_64.h:55 [inline]
 _copy_from_user+0xbc/0x100 lib/usercopy.c:13
 copy_from_user include/linux/uaccess.h:147 [inline]
 sctp_getsockopt_assoc_stats+0xab/0x530 net/sctp/socket.c:6498
 sctp_getsockopt net/sctp/socket.c:7012 [inline]
 sctp_getsockopt+0x2269/0x4d76 net/sctp/socket.c:6861
 SYSC_getsockopt net/socket.c:1896 [inline]
 SyS_getsockopt+0x102/0x1c0 net/socket.c:1878
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x45ca59
RSP: 002b:00007fde13eabc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000037
RAX: ffffffffffffffda RBX: 00000000004df4a0 RCX: 000000000045ca59
RDX: 0000000000000070 RSI: 0000000000000084 RDI: 0000000000000004
RBP: 000000000078bf00 R08: 0000000020002000 R09: 0000000000000000
R10: 0000000020013ff4 R11: 0000000000000246 R12: 00000000ffffffff
R13: 000000000000018b R14: 00000000004d2688 R15: 00007fde13eac6d4

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/06/15 18:28 linux-4.14.y b850307b279c 8e3ab941 .config console log report ci2-linux-4-14
* Struck through repros no longer work on HEAD.