./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor1854609611 <...> Warning: Permanently added '10.128.0.147' (ECDSA) to the list of known hosts. execve("./syz-executor1854609611", ["./syz-executor1854609611"], 0x7fffb34bd200 /* 10 vars */) = 0 brk(NULL) = 0x5555556bb000 brk(0x5555556bbc40) = 0x5555556bbc40 arch_prctl(ARCH_SET_FS, 0x5555556bb300) = 0 uname({sysname="Linux", nodename="syzkaller", ...}) = 0 readlink("/proc/self/exe", "/root/syz-executor1854609611", 4096) = 28 brk(0x5555556dcc40) = 0x5555556dcc40 brk(0x5555556dd000) = 0x5555556dd000 mprotect(0x7f37be96e000, 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 bpf(BPF_MAP_CREATE, {map_type=BPF_MAP_TYPE_UNSPEC, key_size=0, value_size=1, max_entries=257, map_flags=0, inner_map_fd=-1, map_name="", map_ifindex=0, btf_fd=-1, btf_key_type_id=0, btf_value_type_id=0, btf_vmlinux_value_type_id=0, map_extra=0}, 72) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "/dev/raw-gadget", O_RDWR) = 3 ioctl(3, USB_RAW_IOCTL_INIT, 0x7ffe5b452f00) = 0 ioctl(3, UI_DEV_CREATE or USB_RAW_IOCTL_RUN, 0) = 0 ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7ffe5b452f00) = 0 [ 44.996206][ T27] audit: type=1400 audit(1657328486.227:75): avc: denied { execmem } for pid=3608 comm="syz-executor185" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 [ 45.015851][ T27] audit: type=1400 audit(1657328486.227:76): avc: denied { bpf } for pid=3608 comm="syz-executor185" capability=39 scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=capability2 permissive=1 [ 45.038631][ T27] audit: type=1400 audit(1657328486.227:77): avc: denied { map_create } for pid=3608 comm="syz-executor185" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=bpf permissive=1 [ 45.058599][ T27] audit: type=1400 audit(1657328486.227:78): avc: denied { read write } for pid=3608 comm="syz-executor185" name="raw-gadget" dev="devtmpfs" ino=730 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:device_t tclass=chr_file permissive=1 [ 45.082920][ T27] audit: type=1400 audit(1657328486.227:79): avc: denied { open } for pid=3608 comm="syz-executor185" path="/dev/raw-gadget" dev="devtmpfs" ino=730 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:device_t tclass=chr_file permissive=1 [ 45.106859][ T27] audit: type=1400 audit(1657328486.227:80): avc: denied { ioctl } for pid=3608 comm="syz-executor185" path="/dev/raw-gadget" dev="devtmpfs" ino=730 ioctlcmd=0x5500 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:device_t tclass=chr_file permissive=1 ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7ffe5b452f00) = 0 ioctl(3, USB_RAW_IOCTL_EP0_WRITE, 0x7ffe5b451ef0) = 18 [ 45.286024][ T6] usb 1-1: new high-speed USB device number 2 using dummy_hcd ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7ffe5b452f00) = 0 ioctl(3, USB_RAW_IOCTL_EP0_WRITE, 0x7ffe5b451ef0) = 18 [ 45.526030][ T6] usb 1-1: Using ep0 maxpacket: 8 ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7ffe5b452f00) = 0 ioctl(3, USB_RAW_IOCTL_EP0_WRITE, 0x7ffe5b451ef0) = 9 ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7ffe5b452f00) = 0 ioctl(3, USB_RAW_IOCTL_EP0_WRITE, 0x7ffe5b451ef0) = 70 ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7ffe5b452f00) = 0 ioctl(3, USB_RAW_IOCTL_EP0_WRITE, 0x7ffe5b451ef0) = 4 [ 45.646159][ T6] usb 1-1: config 0 has an invalid descriptor of length 0, skipping remainder of the config ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7ffe5b452f00) = 0 ioctl(3, USB_RAW_IOCTL_EP0_WRITE, 0x7ffe5b451ef0) = 8 ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7ffe5b452f00) = 0 ioctl(3, USB_RAW_IOCTL_VBUS_DRAW, 0) = 0 ioctl(3, USB_RAW_IOCTL_CONFIGURE, 0) = 0 ioctl(3, USB_RAW_IOCTL_EP0_READ, 0x7ffe5b451ef0) = 0 [ 45.736499][ T6] usb 1-1: New USB device found, idVendor=0bd3, idProduct=0d55, bcdDevice=69.6a [ 45.745849][ T6] usb 1-1: New USB device strings: Mfr=64, Product=0, SerialNumber=0 [ 45.754052][ T6] usb 1-1: Manufacturer: syz [ 45.762000][ T6] usb 1-1: config 0 descriptor?? ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7ffe5b452f30) = 0 ioctl(3, USB_RAW_IOCTL_EP0_WRITE, 0x7ffe5b451f20) = 4 [ 46.026513][ T6] usb 1-1: Found UVC 0.00 device (0bd3:0d55) [ 46.033710][ T6] uvcvideo 1-1:0.0: Entity type for entity ΣΏ was not initialized! [ 46.042479][ T6] ------------[ cut here ]------------ [ 46.048003][ T6] WARNING: CPU: 0 PID: 6 at drivers/media/mc/mc-entity.c:663 media_create_pad_link+0x4de/0x650 [ 46.058449][ T6] Modules linked in: [ 46.062355][ T6] CPU: 0 PID: 6 Comm: kworker/0:0 Not tainted 5.19.0-rc5-syzkaller-00200-ga471da3100ef #0 [ 46.072344][ T6] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022 [ 46.082554][ T6] Workqueue: usb_hub_wq hub_event [ 46.087677][ T6] RIP: 0010:media_create_pad_link+0x4de/0x650 [ 46.093821][ T6] Code: a8 c1 6d fb 44 89 e0 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e 41 5f c3 e8 91 c1 6d fb 0f 0b 41 bc ea ff ff ff eb da e8 82 c1 6d fb <0f> 0b 41 bc ea ff ff ff eb cb e8 73 c1 6d fb 0f 0b 41 bc ea ff ff [ 46.113628][ T6] RSP: 0018:ffffc900002ceee0 EFLAGS: 00010293 [ 46.119760][ T6] RAX: 0000000000000000 RBX: ffff8880202a1880 RCX: 0000000000000000 [ 46.127824][ T6] RDX: ffff888012194180 RSI: ffffffff860bd5de RDI: 0000000000000002 [ 46.135978][ T6] RBP: ffff8880212d5880 R08: 0000000000000002 R09: 0000000000000000 [ 46.143952][ T6] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 [ 46.152059][ T6] R13: 0000000000000000 R14: 0000000000000000 R15: ffff8880212d5880 [ 46.160090][ T6] FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 [ 46.169198][ T6] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 exit_group(0) = ? +++ exited with 0 +++ [ 46.175797][