xt_CT: You must specify a L4 protocol and not use inversions on it netlink: 4 bytes leftover after parsing attributes in process `syz-executor.0'. ================================================================================ UBSAN: Undefined behaviour in ./include/net/red.h:272:18 shift exponent 234 is too large for 64-bit type 'long unsigned int' CPU: 0 PID: 17226 Comm: syz-executor.4 Not tainted 4.19.148-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x22c/0x33e lib/dump_stack.c:118 ubsan_epilogue+0xe/0x3a lib/ubsan.c:161 __ubsan_handle_shift_out_of_bounds.cold+0x1c4/0x250 lib/ubsan.c:422 red_calc_qavg_from_idle_time include/net/red.h:272 [inline] red_adaptative_algo include/net/red.h:404 [inline] red_adaptative_timer+0x7ed/0x870 net/sched/sch_red.c:266 call_timer_fn+0x177/0x760 kernel/time/timer.c:1338 expire_timers+0x243/0x500 kernel/time/timer.c:1375 __run_timers kernel/time/timer.c:1703 [inline] run_timer_softirq+0x259/0x730 kernel/time/timer.c:1716 __do_softirq+0x27d/0xad2 kernel/softirq.c:292 invoke_softirq kernel/softirq.c:372 [inline] irq_exit+0x22d/0x270 kernel/softirq.c:412 exiting_irq arch/x86/include/asm/apic.h:544 [inline] smp_apic_timer_interrupt+0x15f/0x5d0 arch/x86/kernel/apic/apic.c:1094 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894 RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:169 [inline] RIP: 0010:_raw_spin_unlock_irq+0x50/0x90 kernel/locking/spinlock.c:192 Code: c0 b8 89 63 89 48 ba 00 00 00 00 00 fc ff df 48 c1 e8 03 80 3c 10 00 75 3d 48 83 3d 61 ca b2 01 00 74 25 fb 66 0f 1f 44 00 00 01 00 00 00 e8 86 35 9c f9 65 8b 05 5f 2e 51 78 85 c0 74 02 5d RSP: 0018:ffff88804961f490 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13 RAX: 1ffffffff12c7137 RBX: 0000000076d330a8 RCX: 1ffff110111cf942 RDX: dffffc0000000000 RSI: ffff888088e7c9f0 RDI: ffff888088e7c9c4 RBP: ffff8880ae22c2c0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880ae22c2c0 R13: ffff888049d34200 R14: 0000000000000000 R15: 0000000000000001 finish_lock_switch kernel/sched/core.c:2578 [inline] finish_task_switch+0x174/0x8b0 kernel/sched/core.c:2678 context_switch kernel/sched/core.c:2831 [inline] __schedule+0x8ed/0x22e0 kernel/sched/core.c:3517 preempt_schedule_irq+0xb4/0x180 kernel/sched/core.c:3744 retint_kernel+0x1b/0x2d RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:789 [inline] RIP: 0010:lock_acquire+0x1ec/0x3f0 kernel/locking/lockdep.c:3910 Code: 08 00 00 00 00 00 00 48 c1 e8 03 80 3c 10 00 0f 85 dd 01 00 00 48 83 3d c9 9d 0b 08 00 0f 84 4e 01 00 00 48 8b 7c 24 08 57 9d <0f> 1f 44 00 00 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e 41 5f c3 65 8b RSP: 0018:ffff88804961f6b8 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13 RAX: 1ffffffff12c7135 RBX: ffff888088e7c140 RCX: ffffffff8157b85e RDX: dffffc0000000000 RSI: 0000000000000004 RDI: 0000000000000286 RBP: ffff88808757f628 R08: 0000000000000000 R09: fffffbfff1a54108 R10: 0000000000000003 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000001 kernfs_drain fs/kernfs/dir.c:468 [inline] __kernfs_remove+0x827/0xa20 fs/kernfs/dir.c:1316 kernfs_remove_by_name_ns+0x51/0xb0 fs/kernfs/dir.c:1510 kernfs_remove_by_name include/linux/kernfs.h:539 [inline] sysfs_unmerge_group+0xe3/0x160 fs/sysfs/group.c:343 rpm_sysfs_remove drivers/base/power/sysfs.c:725 [inline] dpm_sysfs_remove+0x36/0x60 drivers/base/power/sysfs.c:732 device_del+0x129/0xa30 drivers/base/core.c:2303 delete_partition+0x1b1/0x250 block/partition-generic.c:290 drop_partitions block/partition-generic.c:460 [inline] drop_partitions+0x19a/0x1f0 block/partition-generic.c:446 rescan_partitions+0x4e/0x910 block/partition-generic.c:527 __blkdev_reread_part+0x189/0x220 block/ioctl.c:173 blkdev_reread_part+0x23/0x40 block/ioctl.c:193 __loop_clr_fd+0xaff/0xda0 drivers/block/loop.c:1147 loop_clr_fd drivers/block/loop.c:1211 [inline] lo_ioctl+0x363/0x2200 drivers/block/loop.c:1580 __blkdev_driver_ioctl block/ioctl.c:303 [inline] blkdev_ioctl+0x5cb/0x1a7e block/ioctl.c:601 block_ioctl+0xe9/0x130 fs/block_dev.c:1896 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:501 [inline] do_vfs_ioctl+0xcdb/0x12e0 fs/ioctl.c:688 ksys_ioctl+0x9b/0xc0 fs/ioctl.c:705 __do_sys_ioctl fs/ioctl.c:712 [inline] __se_sys_ioctl fs/ioctl.c:710 [inline] __x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:710 do_syscall_64+0xf9/0x670 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45dfe7 Code: 48 83 c4 08 48 89 d8 5b 5d c3 66 0f 1f 84 00 00 00 00 00 48 89 e8 48 f7 d8 48 39 c3 0f 92 c0 eb 92 66 90 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 9d b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fdc436319f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000045dfe7 RDX: 0000000000000000 RSI: 0000000000004c01 RDI: 0000000000000006 RBP: 00007fdc436326d4 R08: 0000000000000440 R09: 000000000000000c R10: 0000000000000064 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000002 R14: 00007fdc436329c0 R15: 000000000118cf4c ================================================================================ netlink: 4 bytes leftover after parsing attributes in process `syz-executor.0'. netlink: 4 bytes leftover after parsing attributes in process `syz-executor.0'. netlink: 'syz-executor.0': attribute type 1 has an invalid length. bond32 (uninitialized): Released all slaves netlink: 48 bytes leftover after parsing attributes in process `syz-executor.4'. netlink: 'syz-executor.0': attribute type 1 has an invalid length. bond32 (uninitialized): Released all slaves audit: type=1800 audit(1601259192.938:36): pid=17402 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="syz-executor.5" name="file0" dev="loop5" ino=130 res=0 attempt to access beyond end of device QAT: Invalid ioctl loop5: rw=2049, want=359, limit=270 netlink: 'syz-executor.0': attribute type 1 has an invalid length. bond32 (uninitialized): Released all slaves netlink: 'syz-executor.2': attribute type 1 has an invalid length. netlink: 48 bytes leftover after parsing attributes in process `syz-executor.2'. device team1 entered promiscuous mode netlink: 'syz-executor.2': attribute type 1 has an invalid length. netlink: 48 bytes leftover after parsing attributes in process `syz-executor.2'. xt_CT: You must specify a L4 protocol and not use inversions on it audit: type=1804 audit(1601259194.999:37): pid=17607 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=open_writers comm="syz-executor.5" name="/root/syzkaller-testdir907649444/syzkaller.UaPsdB/294/bus" dev="sda1" ino=16623 res=1 audit: type=1804 audit(1601259195.029:38): pid=17607 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=ToMToU comm="syz-executor.5" name="/root/syzkaller-testdir907649444/syzkaller.UaPsdB/294/bus" dev="sda1" ino=16623 res=1 audit: type=1804 audit(1601259195.029:39): pid=17607 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=ToMToU comm="syz-executor.5" name="/root/syzkaller-testdir907649444/syzkaller.UaPsdB/294/bus" dev="sda1" ino=16623 res=1 netlink: 24 bytes leftover after parsing attributes in process `syz-executor.1'. audit: type=1804 audit(1601259195.029:40): pid=17607 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=ToMToU comm="syz-executor.5" name="/root/syzkaller-testdir907649444/syzkaller.UaPsdB/294/bus" dev="sda1" ino=16623 res=1 netlink: 24 bytes leftover after parsing attributes in process `syz-executor.1'. netlink: 24 bytes leftover after parsing attributes in process `syz-executor.1'. netlink: 28 bytes leftover after parsing attributes in process `syz-executor.0'. netlink: 24 bytes leftover after parsing attributes in process `syz-executor.1'. netlink: 28 bytes leftover after parsing attributes in process `syz-executor.0'. new mount options do not match the existing superblock, will be ignored new mount options do not match the existing superblock, will be ignored loop5: p1 < > p2 p3 < p5 p6 > p4 loop5: p2 size 1073741824 extends beyond EOD, truncated loop5: p4 size 32768 extends beyond EOD, truncated netlink: 28 bytes leftover after parsing attributes in process `syz-executor.0'. loop5: p5 size 1073741824 extends beyond EOD, truncated loop5: p6 size 32768 extends beyond EOD, truncated loop5: p1 < > p2 p3 < p5 p6 > p4 loop5: p2 size 1073741824 extends beyond EOD, truncated loop5: p4 size 32768 extends beyond EOD, truncated loop5: p5 size 1073741824 extends beyond EOD, truncated loop5: p6 size 32768 extends beyond EOD, truncated loop5: p1 < > p2 p3 < p5 p6 > p4 loop5: p2 size 1073741824 extends beyond EOD, truncated loop5: p4 size 32768 extends beyond EOD, truncated loop5: p5 size 1073741824 extends beyond EOD, truncated loop5: p6 size 32768 extends beyond EOD, truncated netlink: 28 bytes leftover after parsing attributes in process `syz-executor.0'. kvm [17813]: vcpu0, guest rIP: 0xcc ignored wrmsr: 0x11e data 0xbe702111 ldm_validate_privheads(): Disk read failed. loop4: p2 < > p4 kvm [17813]: vcpu0, guest rIP: 0xcc disabled perfctr wrmsr: 0xc1 data 0x0 loop4: partition table partially beyond EOD, truncated loop4: p2 size 2 extends beyond EOD, truncated kvm [17813]: vcpu0, guest rIP: 0xcc disabled perfctr wrmsr: 0xc2 data 0x0 loop4: p4 size 2097152 extends beyond EOD, truncated kvm [17813]: vcpu0, guest rIP: 0xcc disabled perfctr wrmsr: 0xc2 data 0x0 netlink: 28 bytes leftover after parsing attributes in process `syz-executor.0'. kvm [17813]: vcpu0, guest rIP: 0xcc disabled perfctr wrmsr: 0xc2 data 0x0 kvm [17813]: vcpu0, guest rIP: 0xcc disabled perfctr wrmsr: 0xc2 data 0x0 kvm [17813]: vcpu0, guest rIP: 0xcc disabled perfctr wrmsr: 0xc2 data 0x0 kvm [17813]: vcpu0, guest rIP: 0xcc disabled perfctr wrmsr: 0xc2 data 0x0 netlink: 28 bytes leftover after parsing attributes in process `syz-executor.0'. netlink: 64 bytes leftover after parsing attributes in process `syz-executor.1'. netlink: 8 bytes leftover after parsing attributes in process `syz-executor.0'. netlink: 8 bytes leftover after parsing attributes in process `syz-executor.0'.