syzbot


WARNING in get_unlocked_entry

Status: auto-closed as invalid on 2019/05/13 19:14
Reported-by: syzbot+4fd0c066d82852499145@syzkaller.appspotmail.com
First crash: 1335d, last: 1319d

Sample crash report:
EXT4-fs (sda1): re-mounted. Opts: dax,
EXT4-fs (sda1): DAX enabled. Warning: EXPERIMENTAL, use at your own risk
EXT4-fs (sda1): warning: refusing change of dax flag with busy inodes while remounting
WARNING: CPU: 0 PID: 21408 at fs/dax.c:227 get_unlocked_entry+0x3ac/0x4d0 fs/dax.c:227
Kernel panic - not syncing: panic_on_warn set ...
CPU: 0 PID: 21408 Comm: syz-executor4 Not tainted 4.20.0-rc2+ #333
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x244/0x39d lib/dump_stack.c:113
 panic+0x2ad/0x55c kernel/panic.c:188
 __warn.cold.8+0x20/0x45 kernel/panic.c:540
 report_bug+0x254/0x2d0 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:178 [inline]
 do_error_trap+0x11b/0x200 arch/x86/kernel/traps.c:271
 do_invalid_op+0x36/0x40 arch/x86/kernel/traps.c:290
kobject: 'hwsim13' (000000004c40667a): kobject_add_internal: parent: 'mac80211_hwsim', set: 'devices'
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:969
RIP: 0010:get_unlocked_entry+0x3ac/0x4d0 fs/dax.c:227
Code: e8 31 ff 83 e0 01 48 89 c6 48 89 85 10 ff ff ff e8 29 00 96 ff 48 8b 85 10 ff ff ff 48 85 c0 0f 85 34 fe ff ff e8 e4 fe 95 ff <0f> 0b e8 dd fe 95 ff 48 b8 00 00 00 00 00 fc ff df 48 03 85 f8 fe
RSP: 0018:ffff8881be26ebb8 EFLAGS: 00010012
kobject: 'hwsim13' (000000004c40667a): kobject_uevent_env
RAX: 0000000000040000 RBX: ffff8881be26eed8 RCX: ffffc9000e03e000
RDX: 000000000000013c RSI: ffffffff81e988fc RDI: 0000000000000007
RBP: ffff8881be26ecc8 R08: ffff888181324580 R09: ffffed1037c4dd88
R10: ffffed1037c4dd88 R11: 0000000000000003 R12: dffffc0000000000
R13: ffffea000656b600 R14: ffff8881be26ec00 R15: ffff8881be26eca0
 grab_mapping_entry fs/dax.c:447 [inline]
 dax_iomap_pte_fault.isra.36+0x8a5/0x37c0 fs/dax.c:1239
kobject: 'hwsim13' (000000004c40667a): fill_kobj_path: path = '/devices/virtual/mac80211_hwsim/hwsim13'
kobject: 'hwsim13' (000000004c40667a): kobject_uevent_env
kobject: 'hwsim13' (000000004c40667a): fill_kobj_path: path = '/devices/virtual/mac80211_hwsim/hwsim13'
 dax_iomap_fault+0x51/0x70 fs/dax.c:1600
 ext4_dax_huge_fault+0x565/0x730 fs/ext4/file.c:320
kobject: 'ieee80211' (000000005a6ee206): kobject_add_internal: parent: 'hwsim13', set: '(null)'
 ext4_dax_fault+0x17/0x20 fs/ext4/file.c:341
 __do_fault+0x100/0x6b0 mm/memory.c:2996
kobject: 'phy13' (000000007719cce4): kobject_add_internal: parent: 'ieee80211', set: 'devices'
 do_read_fault mm/memory.c:3408 [inline]
 do_fault mm/memory.c:3534 [inline]
 handle_pte_fault mm/memory.c:3765 [inline]
 __handle_mm_fault+0x3ea0/0x5be0 mm/memory.c:3889
kobject: 'phy13' (000000007719cce4): kobject_uevent_env
kobject: 'phy13' (000000007719cce4): fill_kobj_path: path = '/devices/virtual/mac80211_hwsim/hwsim13/ieee80211/phy13'
kobject: 'rfkill21' (0000000090f6d939): kobject_add_internal: parent: 'phy13', set: 'devices'
 handle_mm_fault+0x54f/0xc70 mm/memory.c:3926
 do_user_addr_fault arch/x86/mm/fault.c:1423 [inline]
 __do_page_fault+0x5e8/0xe60 arch/x86/mm/fault.c:1489
kobject: 'rfkill21' (0000000090f6d939): kobject_uevent_env
 do_page_fault+0xf2/0x7e0 arch/x86/mm/fault.c:1520
kobject: 'rfkill21' (0000000090f6d939): fill_kobj_path: path = '/devices/virtual/mac80211_hwsim/hwsim13/ieee80211/phy13/rfkill21'
 page_fault+0x1e/0x30 arch/x86/entry/entry_64.S:1139
RIP: 0010:copy_user_generic_unrolled+0x86/0xc0 arch/x86/lib/copy_user_64.S:65
Code: 4c 8b 5e 38 4c 89 47 20 4c 89 4f 28 4c 89 57 30 4c 89 5f 38 48 8d 76 40 48 8d 7f 40 ff c9 75 b6 89 d1 83 e2 07 c1 e9 03 74 12 <4c> 8b 06 4c 89 07 48 8d 76 08 48 8d 7f 08 ff c9 75 ee 21 d2 74 10
RSP: 0018:ffff8881be26fbd0 EFLAGS: 00010202
ieee80211 phy13: Selected rate control algorithm 'minstrel_ht'
RAX: ffffed1037c4dfaa RBX: 0000000000000020 RCX: 0000000000000004
RDX: 0000000000000000 RSI: 0000000020000000 RDI: ffff8881be26fd30
RBP: ffff8881be26fc08 R08: ffffed1037c4dfaa R09: ffffed1037c4dfa6
R10: ffffed1037c4dfa9 R11: ffff8881be26fd4f R12: 0000000020000020
R13: 0000000020000000 R14: ffff8881be26fd30 R15: 00007ffffffff000
 copy_from_user include/linux/uaccess.h:147 [inline]
 ioctl_fiemap fs/ioctl.c:190 [inline]
 do_vfs_ioctl+0x76c/0x1790 fs/ioctl.c:677
kobject: 'net' (00000000993c02a0): kobject_add_internal: parent: 'hwsim13', set: '(null)'
kobject: 'wlan1' (00000000dbbee03a): kobject_add_internal: parent: 'net', set: 'devices'
 ksys_ioctl+0xa9/0xd0 fs/ioctl.c:713
 __do_sys_ioctl fs/ioctl.c:720 [inline]
 __se_sys_ioctl fs/ioctl.c:718 [inline]
 __x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:718
 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290
kobject: 'wlan1' (00000000dbbee03a): kobject_uevent_env
kobject: 'wlan1' (00000000dbbee03a): fill_kobj_path: path = '/devices/virtual/mac80211_hwsim/hwsim13/net/wlan1'
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x457569
Code: fd b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 cb b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f07bc374c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457569
RDX: 0000000020000000 RSI: 00000000c020660b RDI: 0000000000000004
RBP: 000000000072bfa0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f07bc3756d4
kobject: 'queues' (00000000f71991bc): kobject_add_internal: parent: 'wlan1', set: '<NULL>'
R13: 00000000004bf929 R14: 00000000004cfb80 R15: 00000000ffffffff
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (2):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-root 2018/11/14 19:13 upstream ccda4af0f4b9 5f5f6d14 .config log report
ci-upstream-kasan-gce-smack-root 2018/10/30 07:23 upstream 4b42745211af 2f1090da .config log report