./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor1680282524
<...>
Warning: Permanently added '10.128.10.27' (ECDSA) to the list of known hosts.
execve("./syz-executor1680282524", ["./syz-executor1680282524"], 0x7ffdafb591a0 /* 10 vars */) = 0
brk(NULL) = 0x555555612000
brk(0x555555612c40) = 0x555555612c40
arch_prctl(ARCH_SET_FS, 0x555555612300) = 0
uname({sysname="Linux", nodename="syzkaller", ...}) = 0
readlink("/proc/self/exe", "/root/syz-executor1680282524", 4096) = 28
brk(0x555555633c40) = 0x555555633c40
brk(0x555555634000) = 0x555555634000
mprotect(0x7fc892a70000, 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
getpid() = 5004
mkdir("./syzkaller.smgHdy", 0700) = 0
chmod("./syzkaller.smgHdy", 0777) = 0
chdir("./syzkaller.smgHdy") = 0
mkdir("./0", 0777) = 0
openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3
ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address)
close(3) = 0
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x5555556125d0) = 5005
./strace-static-x86_64: Process 5005 attached
[pid 5005] chdir("./0") = 0
[pid 5005] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0
[pid 5005] setpgid(0, 0) = 0
[pid 5005] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3
[pid 5005] write(3, "1000", 4) = 4
[pid 5005] close(3) = 0
[pid 5005] symlink("/dev/binderfs", "./binderfs") = 0
[pid 5005] memfd_create("syzkaller", 0) = 3
[pid 5005] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc88a594000
[pid 5005] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 1048576) = 1048576
[pid 5005] munmap(0x7fc88a594000, 1048576) = 0
[pid 5005] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4
[pid 5005] ioctl(4, LOOP_SET_FD, 3) = 0
[pid 5005] close(3) = 0
[pid 5005] mkdir("./bus", 0777) = 0
[ 39.538114][ T5005] memfd_create() without MFD_EXEC nor MFD_NOEXEC_SEAL, pid=5005 'syz-executor168'
[ 39.557594][ T5005] loop0: detected capacity change from 0 to 2048
[ 39.565894][ T5005] =======================================================
[ 39.565894][ T5005] WARNING: The mand mount option has been deprecated and
[ 39.565894][ T5005] and is ignored by this kernel. Remove the mand
[pid 5005] mount("/dev/loop0", "./bus", "udf", MS_NOEXEC|MS_MANDLOCK|MS_SILENT|MS_POSIXACL|MS_LAZYTIME, "lastblock=00000000000000000257,uid=00000000000000000000") = 0
[pid 5005] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY) = 3
[pid 5005] chdir("./bus") = 0
[pid 5005] ioctl(4, LOOP_CLR_FD) = 0
[pid 5005] close(4) = 0
[pid 5005] open("./bus", O_RDWR|O_CREAT|O_TRUNC|O_NONBLOCK|O_SYNC|O_NOATIME, 000) = 4
[pid 5005] mount("/dev/loop0", "./bus", NULL, MS_BIND, NULL) = 0
[pid 5005] open("./bus", O_RDWR|O_NOCTTY|O_SYNC|O_NOATIME|0x3c) = 5
[pid 5005] memfd_create("syzkaller", 0) = 6
[pid 5005] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc882294000
[pid 5005] write(6, "\xeb\x52\x90\x4e\x54\x46\x53\x20\x20\x20\x20\x00\x10\x01\x00\x00\x00\x00\x00\x00\x00\xf8\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80\x00\x80\x00\xff\x01\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x00\x00\x00\x00\xff\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x01\x00\x00\x00\x78\x5f\xaa\x3b\xd7\x0e\xce\x68\x00\x00\x00\x00\x0e\x1f\xbe\x71\x7c\xac\x22\xc0\x74\x0b\x56\xb4\x0e\xbb\x07\x00"..., 2097152) = 2097152
[pid 5005] munmap(0x7fc882294000, 2097152) = 0
[pid 5005] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 7
[pid 5005] ioctl(7, LOOP_SET_FD, 6) = -1 EBUSY (Device or resource busy)
[pid 5005] ioctl(7, LOOP_CLR_FD) = 0
[pid 5005] ioctl(7, LOOP_SET_FD, 6) = -1 EBUSY (Device or resource busy)
[pid 5005] close(7) = 0
[pid 5005] close(6) = 0
[ 39.565894][ T5005] option from the mount to silence this warning.
[ 39.565894][ T5005] =======================================================
[pid 5005] write(5, "\x6e\x74\x66\x73\x33\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 34136651) = 1048576
[pid 5005] exit_group(0) = ?
[pid 5005] +++ exited with 0 +++
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5005, si_uid=0, si_status=0, si_utime=0, si_stime=11 /* 0.11 s */} ---
umount2("./0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument)
openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3
fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
getdents64(3, 0x555555613620 /* 4 entries */, 32768) = 104
[ 39.752397][ T5004] ==================================================================
[ 39.760485][ T5004] BUG: KASAN: use-after-free in udf_close_lvid.isra.0+0x4a7/0x550
[ 39.768278][ T5004] Write of size 1 at addr ffff88816dae30c0 by task syz-executor168/5004
[ 39.776581][ T5004]
[ 39.778883][ T5004] CPU: 0 PID: 5004 Comm: syz-executor168 Not tainted 6.4.0-syzkaller-01406-ge8f75c0270d9 #0
[ 39.788923][ T5004] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023
[ 39.798957][ T5004] Call Trace:
[ 39.802215][ T5004]
[ 39.805124][ T5004] dump_stack_lvl+0xd9/0x150
[ 39.809706][ T5004] print_address_description.constprop.0+0x2c/0x3c0
[ 39.816306][ T5004] ? udf_close_lvid.isra.0+0x4a7/0x550
[ 39.821746][ T5004] kasan_report+0x11c/0x130
[ 39.826241][ T5004] ? udf_close_lvid.isra.0+0x4a7/0x550
[ 39.831689][ T5004] udf_close_lvid.isra.0+0x4a7/0x550
[ 39.836962][ T5004] ? sync_blockdev+0x79/0x90
[ 39.841550][ T5004] udf_put_super+0x1bb/0x230
[ 39.846123][ T5004] ? udf_close_lvid.isra.0+0x550/0x550
[ 39.851564][ T5004] generic_shutdown_super+0x158/0x480
[ 39.856920][ T5004] kill_block_super+0x64/0xb0
[ 39.861581][ T5004] deactivate_locked_super+0x98/0x160
[ 39.866936][ T5004] deactivate_super+0xb1/0xd0
[ 39.871597][ T5004] cleanup_mnt+0x2ae/0x3d0
[ 39.875992][ T5004] task_work_run+0x16f/0x270
[ 39.880565][ T5004] ? task_work_cancel+0x30/0x30
[ 39.885394][ T5004] ? __x64_sys_umount+0x118/0x190
[ 39.890402][ T5004] ptrace_notify+0x118/0x140
[ 39.894972][ T5004] syscall_exit_to_user_mode_prepare+0x129/0x220
[ 39.901290][ T5004] syscall_exit_to_user_mode+0xd/0x50
[ 39.906645][ T5004] do_syscall_64+0x46/0xb0
[ 39.911049][ T5004] entry_SYSCALL_64_after_hwframe+0x63/0xcd
[ 39.916926][ T5004] RIP: 0033:0x7fc8929e2fb7
[ 39.921337][ T5004] Code: 09 00 48 83 c4 08 5b 5d c3 66 2e 0f 1f 84 00 00 00 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 a6 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48
[ 39.940941][ T5004] RSP: 002b:00007ffefea92908 EFLAGS: 00000202 ORIG_RAX: 00000000000000a6
[ 39.949335][ T5004] RAX: 0000000000000000 RBX: 0000000000009a4f RCX: 00007fc8929e2fb7
[ 39.957288][ T5004] RDX: 00007ffefea929c7 RSI: 000000000000000a RDI: 00007ffefea929c0
[ 39.965236][ T5004] RBP: 00007ffefea929c0 R08: 00000000ffffffff R09: 00007ffefea927a0
[ 39.973185][ T5004] R10: 0000555555613633 R11: 0000000000000202 R12: 00007ffefea93a30
[ 39.981137][ T5004] R13: 00005555556135f0 R14: 00007ffefea92930 R15: 0000000000000001
[ 39.989092][ T5004]
[ 39.992088][ T5004]
[ 39.994385][ T5004] The buggy address belongs to the physical page:
[ 40.000768][ T5004] page:ffffea0005b6b8c0 refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x16dae3
[ 40.010981][ T5004] flags: 0x57ff00000000000(node=1|zone=2|lastcpupid=0x7ff)
[ 40.018158][ T5004] page_type: 0xffffffff()
[ 40.022462][ T5004] raw: 057ff00000000000 ffffea0005b6b8c8 ffffea0005b6b8c8 0000000000000000
[ 40.031028][ T5004] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000
[ 40.039587][ T5004] page dumped because: kasan: bad access detected
[ 40.045984][ T5004] page_owner info is not present (never set?)
[ 40.052021][ T5004]
[ 40.054320][ T5004] Memory state around the buggy address:
[ 40.059927][ T5004] ffff88816dae2f80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 40.067969][ T5004] ffff88816dae3000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 40.076006][ T5004] >ffff88816dae3080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 40.084044][ T5004] ^
[ 40.090167][ T5004] ffff88816dae3100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 40.098202][ T5004] ffff88816dae3180: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 40.106239][ T5004] ==================================================================
[ 40.114489][ T5004] Kernel panic - not syncing: KASAN: panic_on_warn set ...
[ 40.121668][ T5004] CPU: 0 PID: 5004 Comm: syz-executor168 Not tainted 6.4.0-syzkaller-01406-ge8f75c0270d9 #0
[ 40.131712][ T5004] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023
[ 40.141747][ T5004] Call Trace:
[ 40.145011][ T5004]
[ 40.147955][ T5004] dump_stack_lvl+0xd9/0x150
[ 40.152538][ T5004] panic+0x686/0x730
[ 40.156428][ T5004] ? panic_smp_self_stop+0xa0/0xa0
[ 40.161533][ T5004] ? preempt_schedule_thunk+0x1a/0x20
[ 40.166894][ T5004] ? preempt_schedule_common+0x45/0xb0
[ 40.172370][ T5004] check_panic_on_warn+0xb1/0xc0
[ 40.177312][ T5004] end_report+0xe9/0x120
[ 40.181545][ T5004] ? udf_close_lvid.isra.0+0x4a7/0x550
[ 40.186989][ T5004] kasan_report+0xf9/0x130
[ 40.191401][ T5004] ? udf_close_lvid.isra.0+0x4a7/0x550
[ 40.196849][ T5004] udf_close_lvid.isra.0+0x4a7/0x550
[ 40.202122][ T5004] ? sync_blockdev+0x79/0x90
[ 40.206698][ T5004] udf_put_super+0x1bb/0x230
[ 40.211274][ T5004] ? udf_close_lvid.isra.0+0x550/0x550
[ 40.216722][ T5004] generic_shutdown_super+0x158/0x480
[ 40.222078][ T5004] kill_block_super+0x64/0xb0
[ 40.226743][ T5004] deactivate_locked_super+0x98/0x160
[ 40.232102][ T5004] deactivate_super+0xb1/0xd0
[ 40.236765][ T5004] cleanup_mnt+0x2ae/0x3d0
[ 40.241166][ T5004] task_work_run+0x16f/0x270
[ 40.245741][ T5004] ? task_work_cancel+0x30/0x30
[ 40.250576][ T5004] ? __x64_sys_umount+0x118/0x190
[ 40.255592][ T5004] ptrace_notify+0x118/0x140
[ 40.260171][ T5004] syscall_exit_to_user_mode_prepare+0x129/0x220
[ 40.266493][ T5004] syscall_exit_to_user_mode+0xd/0x50
[ 40.271851][ T5004] do_syscall_64+0x46/0xb0
[ 40.276257][ T5004] entry_SYSCALL_64_after_hwframe+0x63/0xcd
[ 40.282138][ T5004] RIP: 0033:0x7fc8929e2fb7
[ 40.286537][ T5004] Code: 09 00 48 83 c4 08 5b 5d c3 66 2e 0f 1f 84 00 00 00 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 a6 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48
[ 40.306142][ T5004] RSP: 002b:00007ffefea92908 EFLAGS: 00000202 ORIG_RAX: 00000000000000a6
[ 40.314564][ T5004] RAX: 0000000000000000 RBX: 0000000000009a4f RCX: 00007fc8929e2fb7
[ 40.322571][ T5004] RDX: 00007ffefea929c7 RSI: 000000000000000a RDI: 00007ffefea929c0
[ 40.330550][ T5004] RBP: 00007ffefea929c0 R08: 00000000ffffffff R09: 00007ffefea927a0
[ 40.338518][ T5004] R10: 0000555555613633 R11: 0000000000000202 R12: 00007ffefea93a30
[ 40.346477][ T5004] R13: 00005555556135f0 R14: 00007ffefea92930 R15: 0000000000000001
[ 40.354441][ T5004]
[ 40.358985][ T5004] Kernel Offset: disabled
[ 40.363317][ T5004] Rebooting in 86400 seconds..