./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor390424006 <...> forked to background, child pid 3183 no interfa[ 18.458474][ T3184] 8021q: adding VLAN 0 to HW filter on device bond0 ces have a carrier [ 18.470259][ T3184] eql: remember to turn off Van-Jacobson compression on your slave devices Starting sshd: OK syzkaller Warning: Permanently added '10.128.0.25' (ECDSA) to the list of known hosts. execve("./syz-executor390424006", ["./syz-executor390424006"], 0x7ffd3475e860 /* 10 vars */) = 0 brk(NULL) = 0x555556703000 brk(0x555556703c40) = 0x555556703c40 arch_prctl(ARCH_SET_FS, 0x555556703300) = 0 uname({sysname="Linux", nodename="syzkaller", ...}) = 0 readlink("/proc/self/exe", "/root/syz-executor390424006", 4096) = 27 brk(0x555556724c40) = 0x555556724c40 brk(0x555556725000) = 0x555556725000 mprotect(0x7f8850e30000, 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 openat(AT_FDCWD, "/sys/kernel/debug/failslab/ignore-gfp-wait", O_WRONLY|O_CLOEXEC) = 3 write(3, "N", 1) = 1 close(3) = 0 openat(AT_FDCWD, "/sys/kernel/debug/fail_futex/ignore-private", O_WRONLY|O_CLOEXEC) = 3 write(3, "N", 1) = 1 close(3) = 0 openat(AT_FDCWD, "/sys/kernel/debug/fail_page_alloc/ignore-gfp-highmem", O_WRONLY|O_CLOEXEC) = 3 write(3, "N", 1) = 1 close(3) = 0 openat(AT_FDCWD, "/sys/kernel/debug/fail_page_alloc/ignore-gfp-wait", O_WRONLY|O_CLOEXEC) = 3 write(3, "N", 1) = 1 close(3) = 0 openat(AT_FDCWD, "/sys/kernel/debug/fail_page_alloc/min-order", O_WRONLY|O_CLOEXEC) = 3 write(3, "0", 1) = 1 close(3) = 0 unshare(CLONE_NEWPID) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 3612 attached , child_tidptr=0x5555567035d0) = 3612 [pid 3612] mount(NULL, "/sys/fs/fuse/connections", "fusectl", 0, NULL) = -1 EBUSY (Device or resource busy) [pid 3612] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 3612] setsid() = 1 [pid 3612] prlimit64(0, RLIMIT_AS, {rlim_cur=204800*1024, rlim_max=204800*1024}, NULL) = 0 [pid 3612] prlimit64(0, RLIMIT_MEMLOCK, {rlim_cur=32768*1024, rlim_max=32768*1024}, NULL) = 0 [pid 3612] prlimit64(0, RLIMIT_FSIZE, {rlim_cur=139264*1024, rlim_max=139264*1024}, NULL) = 0 [pid 3612] prlimit64(0, RLIMIT_STACK, {rlim_cur=1024*1024, rlim_max=1024*1024}, NULL) = 0 [pid 3612] prlimit64(0, RLIMIT_CORE, {rlim_cur=131072*1024, rlim_max=131072*1024}, NULL) = 0 [pid 3612] prlimit64(0, RLIMIT_NOFILE, {rlim_cur=256, rlim_max=256}, NULL) = 0 [pid 3612] unshare(CLONE_NEWNS) = 0 [pid 3612] mount(NULL, "/", NULL, MS_REC|MS_PRIVATE, NULL) = 0 [pid 3612] unshare(CLONE_NEWIPC) = 0 [pid 3612] unshare(CLONE_NEWCGROUP) = 0 [pid 3612] unshare(CLONE_NEWUTS) = 0 [pid 3612] unshare(CLONE_SYSVSEM) = 0 [pid 3612] openat(AT_FDCWD, "/proc/sys/kernel/shmmax", O_WRONLY|O_CLOEXEC) = 3 [pid 3612] write(3, "16777216", 8) = 8 [pid 3612] close(3) = 0 [pid 3612] openat(AT_FDCWD, "/proc/sys/kernel/shmall", O_WRONLY|O_CLOEXEC) = 3 [pid 3612] write(3, "536870912", 9) = 9 [pid 3612] close(3) = 0 [pid 3612] openat(AT_FDCWD, "/proc/sys/kernel/shmmni", O_WRONLY|O_CLOEXEC) = 3 [pid 3612] write(3, "1024", 4) = 4 [pid 3612] close(3) = 0 [pid 3612] openat(AT_FDCWD, "/proc/sys/kernel/msgmax", O_WRONLY|O_CLOEXEC) = 3 [pid 3612] write(3, "8192", 4) = 4 [pid 3612] close(3) = 0 [pid 3612] openat(AT_FDCWD, "/proc/sys/kernel/msgmni", O_WRONLY|O_CLOEXEC) = 3 [pid 3612] write(3, "1024", 4) = 4 [pid 3612] close(3) = 0 [pid 3612] openat(AT_FDCWD, "/proc/sys/kernel/msgmnb", O_WRONLY|O_CLOEXEC) = 3 [pid 3612] write(3, "1024", 4) = 4 [pid 3612] close(3) = 0 [pid 3612] openat(AT_FDCWD, "/proc/sys/kernel/sem", O_WRONLY|O_CLOEXEC) = 3 [pid 3612] write(3, "1024 1048576 500 1024", 21) = 21 [pid 3612] close(3) = 0 [pid 3612] getpid() = 1 [pid 3612] capget({version=_LINUX_CAPABILITY_VERSION_3, pid=1}, {effective=1< [ 34.863042][ T3612] dump_stack_lvl+0xcd/0x134 [ 34.868448][ T3612] print_report.cold+0x2ba/0x719 [ 34.873366][ T3612] ? drm_gem_object_release_handle+0xa1/0xb0 [ 34.879427][ T3612] kasan_report+0xb1/0x1e0 [ 34.883932][ T3612] ? drm_gem_object_release_handle+0xa1/0xb0 [ 34.889989][ T3612] drm_gem_object_release_handle+0xa1/0xb0 [ 34.896156][ T3612] ? drm_gem_object_handle_put_unlocked+0x390/0x390 [ 34.903084][ T3612] idr_for_each+0x113/0x220 [ 34.907585][ T3612] ? idr_find+0x50/0x50 [ 34.911736][ T3612] ? rwlock_bug.part.0+0x90/0x90 [ 34.916669][ T3612] ? wait_for_completion_io_timeout+0x20/0x20 [ 34.922737][ T3612] drm_gem_release+0x22/0x30 [ 34.927319][ T3612] drm_file_free+0x7bb/0xb90 [ 34.932709][ T3612] ? drm_close_helper.isra.0+0x16b/0x1e0 [ 34.938336][ T3612] drm_release+0x1a6/0x4d0 [ 34.943101][ T3612] __fput+0x27c/0xa90 [ 34.947110][ T3612] ? drm_lastclose+0xe0/0xe0 [ 34.951707][ T3612] task_work_run+0xdd/0x1a0 [ 34.956217][ T3612] do_exit+0xb2f/0x2a20 [ 34.960365][ T3612] ? lock_downgrade+0x6e0/0x6e0 [ 34.965215][ T3612] ? do_raw_spin_lock+0x120/0x2a0 [ 34.970231][ T3612] ? mm_update_next_owner+0x7a0/0x7a0 [ 34.975592][ T3612] ? rwlock_bug.part.0+0x90/0x90 [ 34.980524][ T3612] do_group_exit+0xd0/0x2a0 [ 34.985104][ T3612] __x64_sys_exit_group+0x3a/0x50 [ 34.990119][ T3612] do_syscall_64+0x35/0xb0 [ 34.994533][ T3612] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 35.000418][ T3612] RIP: 0033:0x7f8850dc1eb9 [ 35.004841][ T3612] Code: Unable to access opcode bytes at 0x7f8850dc1e8f. [ 35.011842][ T3612] RSP: 002b:00007ffc4f7393c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 35.020245][ T3612] RAX: ffffffffffffffda RBX: 00007f8850e363f0 RCX: 00007f8850dc1eb9 [ 35.028208][ T3612] RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001 [ 35.036169][ T3612] RBP: 0000000000000001 R08: ffffffffffffffc0 R09: 0000000100000000 [ 35.044337][ T3612] R10: 0000000000000012 R11: 0000000000000246 R12: 00007f8850e363f0 [ 35.052296][ T3612] R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000001 [ 35.060259][ T3612] [ 35.063263][ T3612] [ 35.065657][ T3612] Allocated by task 3612: [ 35.070139][ T3612] kasan_save_stack+0x1e/0x40 [ 35.074811][ T3612] __kasan_kmalloc+0xa9/0xd0 [ 35.079390][ T3612] vgem_gem_create_object+0x38/0xb0 [ 35.084664][ T3612] __drm_gem_shmem_create+0x80/0x480 [ 35.089948][ T3612] drm_gem_shmem_dumb_create+0x13c/0x380 [ 35.095593][ T3612] drm_mode_create_dumb+0x26c/0x2f0 [ 35.101391][ T3612] drm_ioctl_kernel+0x27d/0x4e0 [ 35.106232][ T3612] drm_ioctl+0x3e2/0xa30 [ 35.110463][ T3612] __x64_sys_ioctl+0x193/0x200 [ 35.115219][ T3612] do_syscall_64+0x35/0xb0 [ 35.119630][ T3612] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 35.125516][ T3612] [ 35.127823][ T3612] Freed by task 3612: [ 35.131786][ T3612] kasan_save_stack+0x1e/0x40 [ 35.136458][ T3612] kasan_set_track+0x21/0x30 [ 35.141044][ T3612] kasan_set_free_info+0x20/0x30 [ 35.145983][ T3612] ____kasan_slab_free+0x166/0x1c0 [ 35.151085][ T3612] slab_free_freelist_hook+0x8b/0x1c0 [ 35.156445][ T3612] kfree+0xe2/0x580 [ 35.160242][ T3612] drm_gem_mmap+0x4fc/0x770 [ 35.164733][ T3612] mmap_region+0xbff/0x1460 [ 35.169234][ T3612] do_mmap+0x863/0xfa0 [ 35.173294][ T3612] vm_mmap_pgoff+0x1ab/0x270 [ 35.177872][ T3612] ksys_mmap_pgoff+0x41b/0x5a0 [ 35.182625][ T3612] do_syscall_64+0x35/0xb0 [ 35.187383][ T3612] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 35.193265][ T3612] [ 35.195573][ T3612] The buggy address belongs to the object at ffff888021ad0000 [ 35.195573][ T3612] which belongs to the cache kmalloc-1k of size 1024 [ 35.209612][ T3612] The buggy address is located 488 bytes inside of [ 35.209612][ T3612] 1024-byte region [ffff888021ad0000, ffff888021ad0400) [ 35.222973][ T3612] [ 35.225293][ T3612] The buggy address belongs to the physical page: [ 35.231701][ T3612] page:ffffea000086b400 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x21ad0 [ 35.241847][ T3612] head:ffffea000086b400 order:3 compound_mapcount:0 compound_pincount:0 [ 35.250262][ T3612] flags: 0xfff00000010200(slab|head|node=0|zone=1|lastcpupid=0x7ff) [ 35.258242][ T3612] raw: 00fff00000010200 0000000000000000 dead000000000122 ffff888011841dc0 [ 35.266857][ T3612] raw: 0000000000000000 0000000080100010 00000001ffffffff 0000000000000000 [ 35.275438][ T3612] page dumped because: kasan: bad access detected [ 35.281930][ T3612] page_owner tracks the page as allocated [ 35.287715][ T3612] page last allocated via order 3, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 3612, tgid 3612 (syz-executor390), ts 34805813259, free_ts 34795031165 [ 35.309600][ T3612] get_page_from_freelist+0x109b/0x2ce0 [ 35.315155][ T3612] __alloc_pages+0x1c7/0x510 [ 35.319748][ T3612] alloc_pages+0x1a6/0x270 [ 35.324161][ T3612] allocate_slab+0x27e/0x3d0 [ 35.328774][ T3612] ___slab_alloc+0x84f/0xe80 [ 35.333362][ T3612] __slab_alloc.constprop.0+0x4d/0xa0 [ 35.338909][ T3612] kmem_cache_alloc_trace+0x323/0x3e0 [ 35.344290][ T3612] vgem_gem_create_object+0x38/0xb0 [ 35.349488][ T3612] __drm_gem_shmem_create+0x80/0x480 [ 35.354772][ T3612] drm_gem_shmem_dumb_create+0x13c/0x380 [ 35.360406][ T3612] drm_mode_create_dumb+0x26c/0x2f0 [ 35.365601][ T3612] drm_ioctl_kernel+0x27d/0x4e0 [ 35.370447][ T3612] drm_ioctl+0x3e2/0xa30 [ 35.374683][ T3612] __x64_sys_ioctl+0x193/0x200 [ 35.379529][ T3612] do_syscall_64+0x35/0xb0 [ 35.383948][ T3612] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 35.389837][ T3612] page last free stack trace: [ 35.394497][ T3612] free_pcp_prepare+0x5e4/0xd20 [ 35.399347][ T3612] free_unref_page+0x19/0x4d0 [ 35.404028][ T3612] __unfreeze_partials+0x17c/0x1a0 [ 35.409404][ T3612] qlist_free_all+0x6a/0x170 [ 35.413988][ T3612] kasan_quarantine_reduce+0x180/0x200 [ 35.419611][ T3612] __kasan_slab_alloc+0xa2/0xc0 [ 35.424458][ T3612] kmem_cache_alloc_trace+0x2c0/0x3e0 [ 35.429828][ T3612] kset_create_and_add+0x4b/0x1a0 [ 35.434970][ T3612] netdev_register_kobject+0x1c6/0x400 [ 35.440426][ T3612] register_netdevice+0xd95/0x1670 [ 35.445619][ T3612] __ip_tunnel_create+0x398/0x570 [ 35.450644][ T3612] ip_tunnel_init_net+0x2e8/0x9f0 [ 35.455667][ T3612] ops_init+0xaf/0x470 [ 35.459738][ T3612] setup_net+0x5d1/0xc50 [ 35.463982][ T3612] copy_net_ns+0x318/0x760 [ 35.468392][ T3612] create_new_namespaces+0x3f6/0xb20 [ 35.473679][ T3612] [ 35.475996][ T3612] Memory state around the buggy address: [ 35.481613][ T3612] ffff888021ad0080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 35.489668][ T3612] ffff888021ad0100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 35.497717][ T3612] >ffff888021ad0180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 35.505779][ T3612] ^ [ 35.513234][ T3612] ffff888021ad0200: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 35.521289][ T3612] ffff888021ad0280: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 35.529338][ T3612] ================================================================== [ 35.537640][ T3612] Kernel panic - not syncing: panic_on_warn set ... [ 35.544497][ T3612] CPU: 0 PID: 3612 Comm: syz-executor390 Not tainted 6.0.0-syzkaller-09589-g55be6084c8e0 #0 [ 35.554567][ T3612] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 [ 35.564623][ T3612] Call Trace: [ 35.567898][ T3612] [ 35.570821][ T3612] dump_stack_lvl+0xcd/0x134 [ 35.575408][ T3612] panic+0x2c8/0x622 [ 35.579304][ T3612] ? panic_print_sys_info.part.0+0x10b/0x10b [ 35.585471][ T3612] ? preempt_schedule_common+0x59/0xc0 [ 35.590936][ T3612] ? preempt_schedule_thunk+0x16/0x18 [ 35.596314][ T3612] ? drm_gem_object_release_handle+0xa1/0xb0 [ 35.602300][ T3612] end_report.part.0+0x3f/0x7c [ 35.607077][ T3612] kasan_report.cold+0xa/0xf [ 35.611660][ T3612] ? drm_gem_object_release_handle+0xa1/0xb0 [ 35.617638][ T3612] drm_gem_object_release_handle+0xa1/0xb0 [ 35.623450][ T3612] ? drm_gem_object_handle_put_unlocked+0x390/0x390 [ 35.630036][ T3612] idr_for_each+0x113/0x220 [ 35.634713][ T3612] ? idr_find+0x50/0x50 [ 35.638862][ T3612] ? rwlock_bug.part.0+0x90/0x90 [ 35.643800][ T3612] ? wait_for_completion_io_timeout+0x20/0x20 [ 35.649962][ T3612] drm_gem_release+0x22/0x30 [ 35.654633][ T3612] drm_file_free+0x7bb/0xb90 [ 35.659214][ T3612] ? drm_close_helper.isra.0+0x16b/0x1e0 [ 35.664840][ T3612] drm_release+0x1a6/0x4d0 [ 35.669251][ T3612] __fput+0x27c/0xa90 [ 35.673232][ T3612] ? drm_lastclose+0xe0/0xe0 [ 35.677813][ T3612] task_work_run+0xdd/0x1a0 [ 35.682783][ T3612] do_exit+0xb2f/0x2a20 [ 35.687020][ T3612] ? lock_downgrade+0x6e0/0x6e0 [ 35.691951][ T3612] ? do_raw_spin_lock+0x120/0x2a0 [ 35.696972][ T3612] ? mm_update_next_owner+0x7a0/0x7a0 [ 35.702337][ T3612] ? rwlock_bug.part.0+0x90/0x90 [ 35.707274][ T3612] do_group_exit+0xd0/0x2a0 [ 35.711769][ T3612] __x64_sys_exit_group+0x3a/0x50 [ 35.716786][ T3612] do_syscall_64+0x35/0xb0 [ 35.721200][ T3612] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 35.727094][ T3612] RIP: 0033:0x7f8850dc1eb9 [ 35.731500][ T3612] Code: Unable to access opcode bytes at 0x7f8850dc1e8f. [ 35.738505][ T3612] RSP: 002b:00007ffc4f7393c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 35.746914][ T3612] RAX: ffffffffffffffda RBX: 00007f8850e363f0 RCX: 00007f8850dc1eb9 [ 35.754878][ T3612] RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001 [ 35.762853][ T3612] RBP: 0000000000000001 R08: ffffffffffffffc0 R09: 0000000100000000 [ 35.770818][ T3612] R10: 0000000000000012 R11: 0000000000000246 R12: 00007f8850e363f0 [ 35.778781][ T3612] R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000001 [ 35.786750][ T3612] [ 35.790447][ T3612] Kernel Offset: disabled [ 35.794767][ T3612] Rebooting in 86400 seconds..