./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor2960151380
<...>
Warning: Permanently added '10.128.1.45' (ED25519) to the list of known hosts.
execve("./syz-executor2960151380", ["./syz-executor2960151380"], 0x7ffc245eb650 /* 10 vars */) = 0
brk(NULL) = 0x555555e67000
brk(0x555555e67d00) = 0x555555e67d00
arch_prctl(ARCH_SET_FS, 0x555555e67380) = 0
set_tid_address(0x555555e67650) = 5061
set_robust_list(0x555555e67660, 24) = 0
rseq(0x555555e67ca0, 0x20, 0, 0x53053053) = 0
prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
readlink("/proc/self/exe", "/root/syz-executor2960151380", 4096) = 28
getrandom("\xb7\x71\xdb\x21\xf3\xfb\x29\x10", 8, GRND_NONBLOCK) = 8
brk(NULL) = 0x555555e67d00
brk(0x555555e88d00) = 0x555555e88d00
brk(0x555555e89000) = 0x555555e89000
mprotect(0x7f3f9951d000, 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
mkdir("./syzkaller.1z6KoM", 0700) = 0
chmod("./syzkaller.1z6KoM", 0777) = 0
chdir("./syzkaller.1z6KoM") = 0
mkdir("./0", 0777) = 0
[ 77.013983][ T27] audit: type=1400 audit(1702588263.935:83): avc: denied { execmem } for pid=5061 comm="syz-executor296" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1
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=0x555555e67650) = 5062
./strace-static-x86_64: Process 5062 attached
[ 77.070792][ T27] audit: type=1400 audit(1702588263.985:84): avc: denied { read write } for pid=5061 comm="syz-executor296" name="loop0" dev="devtmpfs" ino=648 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:fixed_disk_device_t tclass=blk_file permissive=1
[ 77.095132][ T27] audit: type=1400 audit(1702588263.985:85): avc: denied { open } for pid=5061 comm="syz-executor296" path="/dev/loop0" dev="devtmpfs" ino=648 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:fixed_disk_device_t tclass=blk_file permissive=1
[pid 5062] set_robust_list(0x555555e67660, 24) = 0
[pid 5062] chdir("./0") = 0
[pid 5062] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0
[pid 5062] setpgid(0, 0) = 0
[pid 5062] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3
[pid 5062] write(3, "1000", 4) = 4
[pid 5062] close(3) = 0
[pid 5062] symlink("/dev/binderfs", "./binderfs") = 0
[pid 5062] memfd_create("syzkaller", 0) = 3
[pid 5062] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3f9104a000
[ 77.119391][ T27] audit: type=1400 audit(1702588264.005:86): avc: denied { ioctl } for pid=5061 comm="syz-executor296" path="/dev/loop0" dev="devtmpfs" ino=648 ioctlcmd=0x4c01 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:fixed_disk_device_t tclass=blk_file permissive=1
[ 77.147267][ T27] audit: type=1400 audit(1702588264.065:87): avc: denied { append } for pid=4494 comm="syslogd" name="messages" dev="tmpfs" ino=3 scontext=system_u:system_r:syslogd_t tcontext=system_u:object_r:tmpfs_t tclass=file permissive=1
[pid 5062] 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 5062] munmap(0x7f3f9104a000, 138412032) = 0
[pid 5062] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4
[ 77.169838][ T27] audit: type=1400 audit(1702588264.065:88): avc: denied { open } for pid=4494 comm="syslogd" path="/tmp/messages" dev="tmpfs" ino=3 scontext=system_u:system_r:syslogd_t tcontext=system_u:object_r:tmpfs_t tclass=file permissive=1
[ 77.194423][ T27] audit: type=1400 audit(1702588264.065:89): avc: denied { getattr } for pid=4494 comm="syslogd" path="/tmp/messages" dev="tmpfs" ino=3 scontext=system_u:system_r:syslogd_t tcontext=system_u:object_r:tmpfs_t tclass=file permissive=1
[pid 5062] ioctl(4, LOOP_SET_FD, 3) = 0
[pid 5062] close(3) = 0
[pid 5062] mkdir("./file0", 0777) = 0
[ 77.209462][ T5062] loop0: detected capacity change from 0 to 2048
[ 77.235421][ T27] audit: type=1400 audit(1702588264.155:90): avc: denied { mounton } for pid=5062 comm="syz-executor296" path="/root/syzkaller.1z6KoM/0/file0" dev="sda1" ino=1930 scontext=root:sysadm_r:sysadm_t tcontext=root:object_r:user_home_t tclass=dir permissive=1
[ 77.241300][ T5062] UDF-fs: error (device loop0): udf_read_tagged: tag checksum failed, block 99: 0x27 != 0x4d
[pid 5062] mount("/dev/loop0", "./file0", "udf", MS_NODEV|MS_I_VERSION, "uid=ignore,noadinicb,umask=00000000000000000000002,iocharset=cp857,gid=ignore,") = 0
[pid 5062] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3
[pid 5062] chdir("./file0") = 0
[pid 5062] ioctl(4, LOOP_CLR_FD) = 0
[pid 5062] close(4) = 0
[pid 5062] creat("./bus", 000) = 4
[pid 5062] mount("/dev/loop0", "./bus", NULL, MS_BIND, NULL) = 0
[ 77.273379][ T5062] UDF-fs: INFO Mounting volume 'LinuxUDF', timestamp 2022/11/22 14:59 (1000)
[ 77.284714][ T27] audit: type=1400 audit(1702588264.205:91): avc: denied { mount } for pid=5062 comm="syz-executor296" name="/" dev="loop0" ino=1376 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:iso9660_t tclass=filesystem permissive=1
[pid 5062] open("./bus", O_RDWR|O_SYNC|O_NOATIME|0x3c) = 5
[pid 5062] mmap(0x20000000, 6291456, PROT_WRITE|PROT_GROWSUP, MAP_SHARED|MAP_FIXED, 5, 0) = 0x20000000
[pid 5062] memfd_create("syzkaller", 0) = 6
[pid 5062] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3f9104a000
[ 77.339865][ T27] audit: type=1400 audit(1702588264.255:92): avc: denied { mounton } for pid=5062 comm="syz-executor296" path="/root/syzkaller.1z6KoM/0/file0/bus" dev="loop0" ino=1367 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:iso9660_t tclass=file permissive=1
[pid 5062] 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\x07\x00\x00\x00\x00\x00\x00\x00\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 5062] munmap(0x7f3f9104a000, 138412032) = 0
[pid 5062] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 7
[pid 5062] ioctl(7, LOOP_SET_FD, 6) = -1 EBUSY (Device or resource busy)
[pid 5062] ioctl(7, LOOP_CLR_FD) = 0
[pid 5062] ioctl(7, LOOP_SET_FD, 6) = -1 EBUSY (Device or resource busy)
[pid 5062] close(7) = 0
[pid 5062] close(6) = 0
[pid 5062] exit_group(0) = ?
[pid 5062] +++ exited with 0 +++
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5062, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=12 /* 0.12 s */} ---
umount2("./0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument)
openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3
newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0
getdents64(3, 0x555555e686f0 /* 4 entries */, 32768) = 112
umount2("./0/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument)
newfstatat(AT_FDCWD, "./0/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0
unlink("./0/binderfs") = 0
[ 77.565282][ T5061] ==================================================================
[ 77.573377][ T5061] BUG: KASAN: use-after-free in udf_close_lvid+0x508/0x5c0
[ 77.580603][ T5061] Write of size 1 at addr ffff8880a8885980 by task syz-executor296/5061
[ 77.588905][ T5061]
[ 77.591209][ T5061] CPU: 1 PID: 5061 Comm: syz-executor296 Not tainted 6.7.0-rc5-syzkaller-00047-g5bd7ef53ffe5 #0
[ 77.601595][ T5061] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023
[ 77.611626][ T5061] Call Trace:
[ 77.614885][ T5061]
[ 77.617801][ T5061] dump_stack_lvl+0xd9/0x1b0
[ 77.622377][ T5061] print_report+0xc4/0x620
[ 77.626782][ T5061] ? __virt_addr_valid+0x5e/0x2d0
[ 77.631793][ T5061] ? __phys_addr+0xc6/0x140
[ 77.636282][ T5061] kasan_report+0xda/0x110
[ 77.640677][ T5061] ? udf_close_lvid+0x508/0x5c0
[ 77.645510][ T5061] ? udf_close_lvid+0x508/0x5c0
[ 77.650344][ T5061] udf_close_lvid+0x508/0x5c0
[ 77.655005][ T5061] ? fscrypt_destroy_keyring+0x1e/0x3d0
[ 77.660554][ T5061] udf_put_super+0x19c/0x200
[ 77.665142][ T5061] ? udf_close_lvid+0x5c0/0x5c0
[ 77.669979][ T5061] generic_shutdown_super+0x161/0x3d0
[ 77.675341][ T5061] kill_block_super+0x3b/0x90
[ 77.680012][ T5061] deactivate_locked_super+0xbc/0x1a0
[ 77.685372][ T5061] deactivate_super+0xde/0x100
[ 77.690131][ T5061] cleanup_mnt+0x222/0x450
[ 77.694537][ T5061] task_work_run+0x14d/0x240
[ 77.699119][ T5061] ? task_work_cancel+0x30/0x30
[ 77.703963][ T5061] ptrace_notify+0x10d/0x130
[ 77.708536][ T5061] syscall_exit_to_user_mode_prepare+0x126/0x230
[ 77.714849][ T5061] syscall_exit_to_user_mode+0xe/0x60
[ 77.720210][ T5061] do_syscall_64+0x4d/0x110
[ 77.724699][ T5061] entry_SYSCALL_64_after_hwframe+0x63/0x6b
[ 77.730580][ T5061] RIP: 0033:0x7f3f9948a547
[ 77.734977][ T5061] 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 00 f0 ff ff 77 01 c3 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 b8
[ 77.754574][ T5061] RSP: 002b:00007ffdc8237978 EFLAGS: 00000206 ORIG_RAX: 00000000000000a6
[ 77.762969][ T5061] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f3f9948a547
[ 77.770922][ T5061] RDX: 0000000000000000 RSI: 000000000000000a RDI: 00007ffdc8237a30
[ 77.778876][ T5061] RBP: 00007ffdc8237a30 R08: 0000000000000000 R09: 0000000000000000
[ 77.786845][ T5061] R10: 00000000ffffffff R11: 0000000000000206 R12: 00007ffdc8238aa0
[ 77.794796][ T5061] R13: 0000555555e686c0 R14: 431bde82d7b634db R15: 00007ffdc8238ac0
[ 77.802754][ T5061]
[ 77.805754][ T5061]
[ 77.808058][ T5061] The buggy address belongs to the physical page:
[ 77.814459][ T5061] page:ffffea0002a22140 refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0xa8885
[ 77.824585][ T5061] flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
[ 77.831670][ T5061] page_type: 0xffffffff()
[ 77.835980][ T5061] raw: 00fff00000000000 ffffea0002a22148 ffffea0002a22148 0000000000000000
[ 77.844544][ T5061] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000
[ 77.853099][ T5061] page dumped because: kasan: bad access detected
[ 77.859513][ T5061] page_owner info is not present (never set?)
[ 77.865552][ T5061]
[ 77.867854][ T5061] Memory state around the buggy address:
[ 77.873476][ T5061] ffff8880a8885880: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 77.881517][ T5061] ffff8880a8885900: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 77.889556][ T5061] >ffff8880a8885980: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 77.897594][ T5061] ^
[ 77.901637][ T5061] ffff8880a8885a00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 77.909687][ T5061] ffff8880a8885a80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 77.917725][ T5061] ==================================================================
[ 77.925972][ T5061] Kernel panic - not syncing: KASAN: panic_on_warn set ...
[ 77.933176][ T5061] CPU: 1 PID: 5061 Comm: syz-executor296 Not tainted 6.7.0-rc5-syzkaller-00047-g5bd7ef53ffe5 #0
[ 77.943587][ T5061] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023
[ 77.953643][ T5061] Call Trace:
[ 77.956921][ T5061]
[ 77.959850][ T5061] dump_stack_lvl+0xd9/0x1b0
[ 77.964452][ T5061] panic+0x6dc/0x790
[ 77.968350][ T5061] ? panic_smp_self_stop+0xa0/0xa0
[ 77.973466][ T5061] ? irqentry_exit+0x3b/0x80
[ 77.978062][ T5061] ? lockdep_hardirqs_on+0x7d/0x110
[ 77.983276][ T5061] ? preempt_schedule_thunk+0x1a/0x30
[ 77.988657][ T5061] ? preempt_schedule_common+0x45/0xc0
[ 77.994121][ T5061] ? check_panic_on_warn+0x1f/0xb0
[ 77.999238][ T5061] check_panic_on_warn+0xab/0xb0
[ 78.004180][ T5061] end_report+0x108/0x150
[ 78.008512][ T5061] kasan_report+0xea/0x110
[ 78.012927][ T5061] ? udf_close_lvid+0x508/0x5c0
[ 78.017784][ T5061] ? udf_close_lvid+0x508/0x5c0
[ 78.022638][ T5061] udf_close_lvid+0x508/0x5c0
[ 78.027320][ T5061] ? fscrypt_destroy_keyring+0x1e/0x3d0
[ 78.032876][ T5061] udf_put_super+0x19c/0x200
[ 78.037471][ T5061] ? udf_close_lvid+0x5c0/0x5c0
[ 78.042336][ T5061] generic_shutdown_super+0x161/0x3d0
[ 78.047717][ T5061] kill_block_super+0x3b/0x90
[ 78.052403][ T5061] deactivate_locked_super+0xbc/0x1a0
[ 78.057782][ T5061] deactivate_super+0xde/0x100
[ 78.062556][ T5061] cleanup_mnt+0x222/0x450
[ 78.066990][ T5061] task_work_run+0x14d/0x240
[ 78.071596][ T5061] ? task_work_cancel+0x30/0x30
[ 78.076459][ T5061] ptrace_notify+0x10d/0x130
[ 78.081049][ T5061] syscall_exit_to_user_mode_prepare+0x126/0x230
[ 78.087384][ T5061] syscall_exit_to_user_mode+0xe/0x60
[ 78.092767][ T5061] do_syscall_64+0x4d/0x110
[ 78.097273][ T5061] entry_SYSCALL_64_after_hwframe+0x63/0x6b
[ 78.103177][ T5061] RIP: 0033:0x7f3f9948a547
[ 78.107590][ T5061] 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 00 f0 ff ff 77 01 c3 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 b8
[ 78.127206][ T5061] RSP: 002b:00007ffdc8237978 EFLAGS: 00000206 ORIG_RAX: 00000000000000a6
[ 78.135631][ T5061] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f3f9948a547
[ 78.143605][ T5061] RDX: 0000000000000000 RSI: 000000000000000a RDI: 00007ffdc8237a30
[ 78.151586][ T5061] RBP: 00007ffdc8237a30 R08: 0000000000000000 R09: 0000000000000000
[ 78.159556][ T5061] R10: 00000000ffffffff R11: 0000000000000206 R12: 00007ffdc8238aa0
[ 78.167521][ T5061] R13: 0000555555e686c0 R14: 431bde82d7b634db R15: 00007ffdc8238ac0
[ 78.175493][ T5061]
[ 78.178680][ T5061] Kernel Offset: disabled
[ 78.182985][ T5061] Rebooting in 86400 seconds..