================================================================================
UBSAN: Undefined behaviour in ./include/net/red.h:272:18
shift exponent 222 is too large for 64-bit type 'long unsigned int'
CPU: 0 PID: 32330 Comm: syz-executor.0 Not tainted 4.19.152-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]
red_enqueue+0x2064/0x2200 net/sched/sch_red.c:68
__dev_xmit_skb net/core/dev.c:3494 [inline]
__dev_queue_xmit+0x14df/0x2ec0 net/core/dev.c:3807
neigh_hh_output include/net/neighbour.h:491 [inline]
neigh_output include/net/neighbour.h:499 [inline]
ip_finish_output2+0xc04/0x16b0 net/ipv4/ip_output.c:230
ip_finish_output+0x88e/0xd80 net/ipv4/ip_output.c:318
NF_HOOK_COND include/linux/netfilter.h:278 [inline]
ip_output+0x203/0x650 net/ipv4/ip_output.c:406
dst_output include/net/dst.h:455 [inline]
ip_local_out+0xaf/0x170 net/ipv4/ip_output.c:125
__ip_queue_xmit+0x8a0/0x1bd0 net/ipv4/ip_output.c:506
__tcp_transmit_skb+0x1c72/0x36c0 net/ipv4/tcp_output.c:1148
tcp_transmit_skb net/ipv4/tcp_output.c:1164 [inline]
tcp_xmit_probe_skb+0x2e8/0x390 net/ipv4/tcp_output.c:3679
tcp_write_wakeup+0x1bd/0x610 net/ipv4/tcp_output.c:3732
tcp_send_probe0+0x46/0x40e net/ipv4/tcp_output.c:3747
tcp_probe_timer net/ipv4/tcp_timer.c:385 [inline]
tcp_write_timer_handler+0x8b8/0xb50 net/ipv4/tcp_timer.c:602
tcp_write_timer+0x103/0x1b0 net/ipv4/tcp_timer.c:618
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+0x257/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+0x15d/0x5d0 arch/x86/kernel/apic/apic.c:1094
apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894
RIP: 0010:recently_deleted fs/ext4/ialloc.c:702 [inline]
RIP: 0010:find_inode_bit+0x379/0x5b0 fs/ext4/ialloc.c:725
Code: 28 48 8d 7b 14 48 89 f8 48 c1 e8 03 42 0f b6 14 38 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 ff 01 00 00 44 8b 63 14 c2 0c 70 ff 48 89 c3 48 89 e8 48 c1 e8 03 42 80 3c 38 00 0f 85
RSP: 0018:ffff888050377b28 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000007 RBX: ffff8880780bd100 RCX: ffffffff81ed7ba8
RDX: 0000000000000000 RSI: ffffffff81ed7bb6 RDI: ffff8880780bd114
RBP: ffff8880564a0738 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: 000000005f9040e8
R13: ffff888235618340 R14: 0000000000000010 R15: dffffc0000000000
__ext4_new_inode+0x174c/0x5e40 fs/ext4/ialloc.c:917
ext4_symlink+0x3f5/0xc00 fs/ext4/namei.c:3146
vfs_symlink+0x3ac/0x630 fs/namei.c:4129
do_symlinkat+0x258/0x2c0 fs/namei.c:4156
do_syscall_64+0xf9/0x670 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45db87
Code: 0f 1f 00 b8 5c 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 cd b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 b8 58 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 ad b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007ffc5fdbadc8 EFLAGS: 00000202 ORIG_RAX: 0000000000000058
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000045db87
RDX: 00007ffc5fdbae63 RSI: 00000000004c3889 RDI: 00007ffc5fdbae50
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000013
R10: 0000000000000075 R11: 0000000000000202 R12: 0000000000000001
R13: 00007ffc5fdbae00 R14: 0000000000000000 R15: 00007ffc5fdbae10
================================================================================
audit: type=1804 audit(1603289328.033:40206): pid=32561 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-testdir721412833/syzkaller.QUrYbA/1331/file0" dev="sda1" ino=15791 res=1
audit: type=1804 audit(1603289329.383:40207): pid=32682 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-testdir505384615/syzkaller.lFeWrr/1363/file0" dev="sda1" ino=15806 res=1