================================================================================ UBSAN: Undefined behaviour in ./include/net/red.h:272:18 shift exponent 167 is too large for 64-bit type 'long unsigned int' CPU: 0 PID: 6504 Comm: syz-executor.4 Not tainted 4.19.150-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_calc_qavg include/net/red.h:313 [inline] choke_enqueue+0x2a7e/0x2cc0 net/sched/sch_choke.c:231 __dev_xmit_skb net/core/dev.c:3494 [inline] __dev_queue_xmit+0x14e1/0x2ec0 net/core/dev.c:3807 br_dev_queue_push_xmit+0x25a/0x6c0 net/bridge/br_forward.c:56 NF_HOOK include/linux/netfilter.h:289 [inline] br_forward_finish+0xb5/0x430 net/bridge/br_forward.c:69 NF_HOOK include/linux/netfilter.h:289 [inline] __br_forward+0x693/0xbb0 net/bridge/br_forward.c:113 br_flood+0x43d/0x4f0 net/bridge/br_forward.c:240 br_dev_xmit+0xdd0/0x1510 net/bridge/br_device.c:103 __netdev_start_xmit include/linux/netdevice.h:4333 [inline] netdev_start_xmit include/linux/netdevice.h:4347 [inline] xmit_one net/core/dev.c:3256 [inline] dev_hard_start_xmit+0x1a8/0x960 net/core/dev.c:3272 __dev_queue_xmit+0x276a/0x2ec0 net/core/dev.c:3838 neigh_hh_output include/net/neighbour.h:491 [inline] neigh_output include/net/neighbour.h:499 [inline] ip6_finish_output2+0xe78/0x2370 net/ipv6/ip6_output.c:120 ip6_finish_output+0x610/0xcc0 net/ipv6/ip6_output.c:154 NF_HOOK_COND include/linux/netfilter.h:278 [inline] ip6_output+0x205/0x7c0 net/ipv6/ip6_output.c:171 dst_output include/net/dst.h:455 [inline] NF_HOOK include/linux/netfilter.h:289 [inline] ndisc_send_skb+0xa6b/0x1860 net/ipv6/ndisc.c:491 ndisc_send_rs+0x131/0x6a0 net/ipv6/ndisc.c:685 addrconf_rs_timer+0x2d9/0x640 net/ipv6/addrconf.c:3834 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 f8 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 c1 6c b2 01 00 74 25 fb 66 0f 1f 44 00 00 01 00 00 00 e8 a6 e7 9b f9 65 8b 05 7f d0 50 78 85 c0 74 02 5d RSP: 0018:ffff8880526cfb40 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13 RAX: 1ffffffff12c713f RBX: 0000000076d320a8 RCX: 0000000000000000 RDX: dffffc0000000000 RSI: 0000000000000001 RDI: ffff8880526c4b44 RBP: ffff8880ae22c2c0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880ae22c2c0 R13: ffff88804962c440 R14: 0000000000000000 R15: 0000000000000000 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 schedule+0x8d/0x1b0 kernel/sched/core.c:3561 freezable_schedule include/linux/freezer.h:172 [inline] do_nanosleep+0x264/0x6c0 kernel/time/hrtimer.c:1691 hrtimer_nanosleep+0x24d/0x500 kernel/time/hrtimer.c:1745 __do_sys_nanosleep kernel/time/hrtimer.c:1779 [inline] __se_sys_nanosleep kernel/time/hrtimer.c:1766 [inline] __x64_sys_nanosleep+0x19d/0x220 kernel/time/hrtimer.c:1766 do_syscall_64+0xf9/0x670 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45c321 Code: 75 14 b8 23 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 34 cf fb ff c3 48 83 ec 08 e8 0a 47 00 00 48 89 04 24 b8 23 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 53 47 00 00 48 89 d0 48 83 c4 08 48 3d 01 RSP: 002b:00007ffd702ecd60 EFLAGS: 00000293 ORIG_RAX: 0000000000000023 RAX: ffffffffffffffda RBX: 000000000002a2d8 RCX: 000000000045c321 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00007ffd702ecd70 RBP: 0000000000000040 R08: 0000000000000000 R09: 0000000001e7c940 R10: 0000000000000000 R11: 0000000000000293 R12: 000000000000000d R13: 00007ffd702ecdc0 R14: 000000000002a1ce R15: 00007ffd702ecdd0 ================================================================================ SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pid=8714 comm=syz-executor.0 netlink: 24 bytes leftover after parsing attributes in process `syz-executor.5'. netlink: 24 bytes leftover after parsing attributes in process `syz-executor.5'. audit: type=1804 audit(1602870920.850:14): pid=8767 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-testdir537443333/syzkaller.HTrhBc/17/file1/file0" dev="loop5" ino=3 res=1 EXT4-fs (loop4): mounted filesystem without journal. Opts: ,errors=continue audit: type=1804 audit(1602870921.450:15): pid=8795 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-testdir537443333/syzkaller.HTrhBc/18/file1/file0" dev="sda1" ino=15753 res=1 nf_conntrack: default automatic helper assignment has been turned off for security reasons and CT-based firewall rule not found. Use the iptables CT target to attach helpers instead. audit: type=1804 audit(1602870921.480:16): pid=8798 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=open_writers comm="syz-executor.0" name="/root/syzkaller-testdir755917423/syzkaller.Om6FYm/26/file1/file0" dev="sda1" ino=15804 res=1 IPVS: set_ctl: invalid protocol: 92 0.0.0.0:20000 tmpfs: Bad value 'Advise' for mount option 'huge' audit: type=1800 audit(1602870922.080:17): pid=8766 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed comm="syz-executor.1" name="bus" dev="sda1" ino=15834 res=0 audit: type=1800 audit(1602870922.100:18): pid=8847 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="syz-executor.1" name="bus" dev="sda1" ino=15834 res=0 netlink: 36 bytes leftover after parsing attributes in process `syz-executor.3'. netlink: 36 bytes leftover after parsing attributes in process `syz-executor.3'. raw_sendmsg: syz-executor.5 forgot to set AF_INET. Fix it! input: syz1 as /devices/virtual/input/input5 UDF-fs: bad mount option "@" or missing value UDF-fs: bad mount option "@" or missing value sctp: [Deprecated]: syz-executor.1 (pid 8922) Use of int in maxseg socket option. Use struct sctp_assoc_value instead SQUASHFS error: zstd decompression error: 2 SQUASHFS error: zstd decompression failed, data probably corrupt sctp: [Deprecated]: syz-executor.1 (pid 8922) Use of int in maxseg socket option. Use struct sctp_assoc_value instead SQUASHFS error: squashfs_read_data failed to read block 0x99 SQUASHFS error: Unable to read metadata cache entry [99] SQUASHFS error: Unable to read inode 0x126 audit: type=1800 audit(1602870923.670:19): pid=8982 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="sda1" ino=15860 res=0 audit: type=1804 audit(1602870923.880:20): pid=8982 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-testdir537443333/syzkaller.HTrhBc/24/file0" dev="sda1" ino=15860 res=1 affs: Unrecognized mount option "func=FILE_MMAP" or missing value affs: Error parsing options affs: Unrecognized mount option "func=FILE_MMAP" or missing value affs: Error parsing options audit: type=1804 audit(1602870924.410:21): pid=9089 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=ToMToU comm="syz-executor.3" name="/root/syzkaller-testdir860499178/syzkaller.g6kPzO/26/file0/file0" dev="ramfs" ino=33913 res=1 audit: type=1804 audit(1602870925.020:22): pid=9117 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-testdir537443333/syzkaller.HTrhBc/24/file0" dev="sda1" ino=15860 res=1 autofs4:pid:9286:autofs_fill_super: called with bogus options EXT4-fs (loop2): Unrecognized mount option "nolazĒ´" or missing value