================================================================================ UBSAN: Undefined behaviour in ./include/net/red.h:272:18 shift exponent 103 is too large for 64-bit type 'long unsigned int' CPU: 1 PID: 7963 Comm: kworker/u4:6 Not tainted 4.19.148-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker 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:arch_local_irq_restore arch/x86/include/asm/paravirt.h:789 [inline] RIP: 0010:lock_release+0x429/0x8e0 kernel/locking/lockdep.c:3929 Code: 84 08 00 00 00 00 00 00 48 c1 e8 03 80 3c 10 00 0f 85 c5 03 00 00 48 83 3d 6b a4 0b 08 00 0f 84 f0 01 00 00 48 8b 3c 24 57 9d <0f> 1f 44 00 00 48 b8 00 00 00 00 00 fc ff df 49 c7 04 04 00 00 00 RSP: 0018:ffff88804b7d7c08 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13 RAX: 1ffffffff12c7135 RBX: ffff88804b7c8600 RCX: 1ffff110096f91db RDX: dffffc0000000000 RSI: 0000000000000003 RDI: 0000000000000286 RBP: 0000000000000002 R08: 0000000000000000 R09: 0000000000000002 R10: 0000000000000000 R11: 0000000000000002 R12: 1ffff110096faf84 R13: 23655e1ade3c1a41 R14: ffff88804b7c8600 R15: 0000000000000003 rcu_lock_release include/linux/rcupdate.h:247 [inline] rcu_read_unlock include/linux/rcupdate.h:681 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:423 [inline] batadv_nc_worker+0x6a6/0xd90 net/batman-adv/network-coding.c:730 process_one_work+0x796/0x14e0 kernel/workqueue.c:2155 worker_thread+0x64c/0x1130 kernel/workqueue.c:2298 kthread+0x33f/0x460 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 ================================================================================ overlayfs: './file0' not a directory netlink: 24 bytes leftover after parsing attributes in process `syz-executor.4'. kvm: pic: single mode not supported kvm: pic: level sensitive irq not supported netlink: 24 bytes leftover after parsing attributes in process `syz-executor.5'. SQUASHFS error: lzo decompression failed, data probably corrupt IPVS: ftp: loaded support on port[0] = 21 netlink: 24 bytes leftover after parsing attributes in process `syz-executor.5'. SQUASHFS error: squashfs_read_data failed to read block 0x8f SQUASHFS error: Unable to read metadata cache entry [8f] SQUASHFS error: Unable to read inode 0x11e IPVS: ftp: loaded support on port[0] = 21 SQUASHFS error: lzo decompression failed, data probably corrupt SQUASHFS error: squashfs_read_data failed to read block 0x8f SQUASHFS error: Unable to read metadata cache entry [8f] netlink: 24 bytes leftover after parsing attributes in process `syz-executor.4'. SQUASHFS error: Unable to read inode 0x11e netlink: 24 bytes leftover after parsing attributes in process `syz-executor.4'. SQUASHFS error: lzo decompression failed, data probably corrupt SQUASHFS error: squashfs_read_data failed to read block 0x8f SQUASHFS error: Unable to read metadata cache entry [8f] SQUASHFS error: Unable to read inode 0x11e netlink: 24 bytes leftover after parsing attributes in process `syz-executor.4'. PF_BRIDGE: br_mdb_parse() with invalid attr PF_BRIDGE: br_mdb_parse() with invalid attr SQUASHFS error: lzo decompression failed, data probably corrupt SQUASHFS error: squashfs_read_data failed to read block 0x8f SQUASHFS error: Unable to read metadata cache entry [8f] SQUASHFS error: Unable to read inode 0x11e netlink: 24 bytes leftover after parsing attributes in process `syz-executor.4'. SQUASHFS error: lzo decompression failed, data probably corrupt SQUASHFS error: squashfs_read_data failed to read block 0x8f SQUASHFS error: Unable to read metadata cache entry [8f] SQUASHFS error: Unable to read inode 0x11e overlayfs: './file0' not a directory netlink: 24 bytes leftover after parsing attributes in process `syz-executor.4'. IPVS: ftp: loaded support on port[0] = 21 overlayfs: fs on './file0' does not support file handles, falling back to index=off,nfs_export=off. overlayfs: filesystem on './file0' not supported as upperdir netlink: 24 bytes leftover after parsing attributes in process `syz-executor.4'. netlink: 'syz-executor.5': attribute type 4 has an invalid length. netlink: 24 bytes leftover after parsing attributes in process `syz-executor.4'. squashfs: SQUASHFS error: Can't find a SQUASHFS superblock on loop0 squashfs: SQUASHFS error: Can't find a SQUASHFS superblock on loop0 netlink: 24 bytes leftover after parsing attributes in process `syz-executor.4'. squashfs: SQUASHFS error: Can't find a SQUASHFS superblock on loop0 netlink: 24 bytes leftover after parsing attributes in process `syz-executor.4'. audit: type=1804 audit(1601437762.543:25): pid=9320 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=open_writers comm="syz-executor.2" name="/root/syzkaller-testdir713086756/syzkaller.cdYAzm/39/bus" dev="sda1" ino=15929 res=1 audit: type=1804 audit(1601437762.623:26): pid=9332 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=ToMToU comm="syz-executor.2" name="/root/syzkaller-testdir713086756/syzkaller.cdYAzm/39/bus" dev="sda1" ino=15929 res=1 audit: type=1804 audit(1601437762.643:27): pid=9338 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=open_writers comm="syz-executor.2" name="/root/syzkaller-testdir713086756/syzkaller.cdYAzm/39/bus" dev="sda1" ino=15929 res=1 squashfs: SQUASHFS error: Can't find a SQUASHFS superblock on loop0 netlink: 24 bytes leftover after parsing attributes in process `syz-executor.2'. netlink: 32 bytes leftover after parsing attributes in process `syz-executor.2'. netlink: 32 bytes leftover after parsing attributes in process `syz-executor.2'. netlink: 24 bytes leftover after parsing attributes in process `syz-executor.2'. squashfs: SQUASHFS error: Can't find a SQUASHFS superblock on loop0 netlink: 32 bytes leftover after parsing attributes in process `syz-executor.2'. netlink: 32 bytes leftover after parsing attributes in process `syz-executor.2'. squashfs: SQUASHFS error: Can't find a SQUASHFS superblock on loop0 squashfs: SQUASHFS error: Can't find a SQUASHFS superblock on loop0 squashfs: SQUASHFS error: Can't find a SQUASHFS superblock on loop0 squashfs: SQUASHFS error: Can't find a SQUASHFS superblock on loop0 netlink: 24 bytes leftover after parsing attributes in process `syz-executor.4'. squashfs: SQUASHFS error: Can't find a SQUASHFS superblock on loop0 squashfs: SQUASHFS error: Can't find a SQUASHFS superblock on loop0