./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor822219710
<...>
DUID 00:04:03:2c:e5:fc:a2:19:b8:8b:c5:bf:62:63:19:3a:75:c6
forked to background, child pid 4654
[ 36.593917][ T4655] 8021q: adding VLAN 0 to HW filter on device bond0
[ 36.608008][ T4655] eql: remember to turn off Van-Jacobson compression on your slave devices
Starting sshd: OK
syzkaller
Warning: Permanently added '10.128.0.95' (ECDSA) to the list of known hosts.
execve("./syz-executor822219710", ["./syz-executor822219710"], 0x7ffee15fe4d0 /* 10 vars */) = 0
brk(NULL) = 0x55555603a000
brk(0x55555603ac40) = 0x55555603ac40
arch_prctl(ARCH_SET_FS, 0x55555603a300) = 0
uname({sysname="Linux", nodename="syzkaller", ...}) = 0
readlink("/proc/self/exe", "/root/syz-executor822219710", 4096) = 27
brk(0x55555605bc40) = 0x55555605bc40
brk(0x55555605c000) = 0x55555605c000
mprotect(0x7f40b7dd6000, 16384, PROT_READ) = 0
mmap(0x1ffff000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x1ffff000
mmap(0x20000000, 16777216, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x20000000
mmap(0x21000000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x21000000
memfd_create("\x59\xff\xff", MFD_ALLOW_SEALING|MFD_HUGETLB) = 3
mmap(0x20200000, 4194304, PROT_READ|PROT_WRITE|PROT_SEM, MAP_PRIVATE|MAP_FIXED|MAP_LOCKED, 3, 0) = 0x20200000
clone(child_stack=NULL, flags=0./strace-static-x86_64: Process 5080 attached
) = 5080
syzkaller login: [ 57.017888][ T5079] memfd_create() without MFD_EXEC nor MFD_NOEXEC_SEAL, pid=5079 'syz-executor822'
[ 57.031809][ T5079] ==================================================================
[ 57.040014][ T5079] BUG: KASAN: null-ptr-deref in hugetlb_fault+0x1423/0x23f0
[ 57.047313][ T5079] Read of size 4 at addr 0000000000000034 by task syz-executor822/5079
[ 57.055531][ T5079]
[ 57.057841][ T5079] CPU: 1 PID: 5079 Comm: syz-executor822 Not tainted 6.2.0-rc4-next-20230120-syzkaller #0
[ 57.067712][ T5079] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
[ 57.077753][ T5079] Call Trace:
[ 57.081021][ T5079]
[ 57.083939][ T5079] dump_stack_lvl+0xd1/0x138
[ 57.088531][ T5079] ? hugetlb_fault+0x1423/0x23f0
[ 57.094256][ T5079] kasan_report+0xc0/0xf0
[ 57.098580][ T5079] ? hugetlb_fault+0x1423/0x23f0
[ 57.103506][ T5079] kasan_check_range+0x141/0x190
[ 57.108450][ T5079] hugetlb_fault+0x1423/0x23f0
[ 57.113204][ T5079] ? hugetlb_wp+0x2540/0x2540
[ 57.117883][ T5079] ? follow_hugetlb_page+0x4b1/0x1e40
[ 57.123243][ T5079] ? lock_downgrade+0x6e0/0x6e0
[ 57.129124][ T5079] ? do_raw_spin_lock+0x124/0x2b0
[ 57.134152][ T5079] ? rwlock_bug.part.0+0x90/0x90
[ 57.139105][ T5079] ? lock_acquire+0x32/0xc0
[ 57.143628][ T5079] ? follow_hugetlb_page+0x443/0x1e40
[ 57.149016][ T5079] follow_hugetlb_page+0x6ab/0x1e40
[ 57.154245][ T5079] __get_user_pages+0x29b/0xfc0
[ 57.159115][ T5079] ? rcu_read_lock_sched_held+0x3e/0x70
[ 57.164671][ T5079] ? follow_page_mask+0x10a0/0x10a0
[ 57.169887][ T5079] populate_vma_page_range+0x241/0x320
[ 57.175389][ T5079] __mm_populate+0x105/0x3b0
[ 57.180002][ T5079] ? faultin_vma_page_range+0x300/0x300
[ 57.185561][ T5079] ? up_write+0x1b0/0x520
[ 57.189924][ T5079] ? find_held_lock+0x2d/0x110
[ 57.194734][ T5079] do_mlock+0x370/0x6d0
[ 57.198913][ T5079] ? folio_evictable+0x270/0x270
[ 57.203859][ T5079] ? _raw_spin_unlock_irq+0x23/0x50
[ 57.209069][ T5079] ? lockdep_hardirqs_on+0x7d/0x100
[ 57.214279][ T5079] ? _raw_spin_unlock_irq+0x2e/0x50
[ 57.219494][ T5079] __x64_sys_mlock+0x59/0x80
[ 57.224105][ T5079] do_syscall_64+0x39/0xb0
[ 57.228549][ T5079] entry_SYSCALL_64_after_hwframe+0x63/0xcd
[ 57.234461][ T5079] RIP: 0033:0x7f40b7d69bc9
[ 57.238916][ T5079] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 21 14 00 00 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 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48
[ 57.258552][ T5079] RSP: 002b:00007ffc568600b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000095
[pid 5079] mlock(0x20308000, 12288
[ 57.267069][ T5079] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f40b7d69bc9
[ 57.275073][ T5079] RDX: 0000000000000000 RSI: 0000000000003000 RDI: 0000000020308000
[ 57.283069][ T5079] RBP: 00007f40b7d2dd10 R08: 0000000000000000 R09: 0000000000000000
[ 57.291078][ T5079] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f40b7d2dda0
[ 57.299066][ T5079] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
[ 57.307062][ T5079]
[ 57.310079][ T5079] ==================================================================
[pid 5080] exit(0) = ?
[pid 5080] +++ exited with 0 +++
[ 57.318634][ T5079] Kernel panic - not syncing: KASAN: panic_on_warn set ...
[ 57.325844][ T5079] CPU: 1 PID: 5079 Comm: syz-executor822 Not tainted 6.2.0-rc4-next-20230120-syzkaller #0
[ 57.335772][ T5079] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
[ 57.345851][ T5079] Call Trace:
[ 57.349137][ T5079]
[ 57.352099][ T5079] dump_stack_lvl+0xd1/0x138
[ 57.356722][ T5079] panic+0x2cc/0x626
[ 57.360629][ T5079] ? panic_print_sys_info.part.0+0x110/0x110
[ 57.366631][ T5079] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20
[ 57.372805][ T5079] check_panic_on_warn.cold+0x19/0x35
[ 57.378210][ T5079] end_report.part.0+0x36/0x73
[ 57.382988][ T5079] ? hugetlb_fault+0x1423/0x23f0
[ 57.387935][ T5079] kasan_report.cold+0xa/0xf
[ 57.392541][ T5079] ? hugetlb_fault+0x1423/0x23f0
[ 57.397488][ T5079] kasan_check_range+0x141/0x190
[ 57.402445][ T5079] hugetlb_fault+0x1423/0x23f0
[ 57.407223][ T5079] ? hugetlb_wp+0x2540/0x2540
[ 57.411912][ T5079] ? follow_hugetlb_page+0x4b1/0x1e40
[ 57.417292][ T5079] ? lock_downgrade+0x6e0/0x6e0
[ 57.422171][ T5079] ? do_raw_spin_lock+0x124/0x2b0
[ 57.427216][ T5079] ? rwlock_bug.part.0+0x90/0x90
[ 57.432171][ T5079] ? lock_acquire+0x32/0xc0
[ 57.436683][ T5079] ? follow_hugetlb_page+0x443/0x1e40
[ 57.442069][ T5079] follow_hugetlb_page+0x6ab/0x1e40
[ 57.447291][ T5079] __get_user_pages+0x29b/0xfc0
[ 57.452161][ T5079] ? rcu_read_lock_sched_held+0x3e/0x70
[ 57.457718][ T5079] ? follow_page_mask+0x10a0/0x10a0
[ 57.462936][ T5079] populate_vma_page_range+0x241/0x320
[ 57.468412][ T5079] __mm_populate+0x105/0x3b0
[ 57.473026][ T5079] ? faultin_vma_page_range+0x300/0x300
[ 57.478606][ T5079] ? up_write+0x1b0/0x520
[ 57.482959][ T5079] ? find_held_lock+0x2d/0x110
[ 57.487746][ T5079] do_mlock+0x370/0x6d0
[ 57.491957][ T5079] ? folio_evictable+0x270/0x270
[ 57.497699][ T5079] ? _raw_spin_unlock_irq+0x23/0x50
[ 57.504230][ T5079] ? lockdep_hardirqs_on+0x7d/0x100
[ 57.509436][ T5079] ? _raw_spin_unlock_irq+0x2e/0x50
[ 57.514649][ T5079] __x64_sys_mlock+0x59/0x80
[ 57.519252][ T5079] do_syscall_64+0x39/0xb0
[ 57.523689][ T5079] entry_SYSCALL_64_after_hwframe+0x63/0xcd
[ 57.529596][ T5079] RIP: 0033:0x7f40b7d69bc9
[ 57.534016][ T5079] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 21 14 00 00 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 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48
[ 57.553635][ T5079] RSP: 002b:00007ffc568600b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000095
[ 57.562078][ T5079] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f40b7d69bc9
[ 57.570058][ T5079] RDX: 0000000000000000 RSI: 0000000000003000 RDI: 0000000020308000
[ 57.578035][ T5079] RBP: 00007f40b7d2dd10 R08: 0000000000000000 R09: 0000000000000000
[ 57.586010][ T5079] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f40b7d2dda0
[ 57.593985][ T5079] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
[ 57.601967][ T5079]
[ 57.605137][ T5079] Kernel Offset: disabled
[ 57.609458][ T5079] Rebooting in 86400 seconds..