================================================================================ UBSAN: Undefined behaviour in ./include/net/red.h:272:18 shift exponent 189 is too large for 64-bit type 'long unsigned int' CPU: 0 PID: 11336 Comm: systemd-udevd 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] 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 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:arch_local_irq_restore arch/x86/include/asm/paravirt.h:789 [inline] RIP: 0010:kfree+0x123/0x250 mm/slab.c:3823 Code: 89 ea 48 89 ee 4c 89 e7 e8 ea ec ff ff f6 c7 02 74 ca e8 50 5e cc ff 48 83 3d f0 9a b8 07 00 0f 84 1b 01 00 00 48 89 df 57 9d <0f> 1f 44 00 00 5b 5d 41 5c 41 5d c3 65 8b 05 1a 92 56 7e 83 f8 3f RSP: 0018:ffff888048a8f778 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13 RAX: 0000000000000007 RBX: 0000000000000286 RCX: 1ffff11009515d85 RDX: 0000000000000000 RSI: ffff88804a8aec08 RDI: 0000000000000286 RBP: ffff8880948f3d00 R08: 0000000000400000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff88812c3f61c0 R13: ffffffff835aaeed R14: 0000000000000000 R15: ffffffff8d404840 security_context_to_sid_core+0x2ed/0x610 security/selinux/ss/services.c:1504 security_context_to_sid+0x35/0x40 security/selinux/ss/services.c:1525 selinux_inode_setsecurity+0x197/0x3d0 security/selinux/hooks.c:3513 selinux_inode_notifysecctx+0x2b/0x60 security/selinux/hooks.c:6679 security_inode_notifysecctx+0x50/0xb0 security/security.c:1343 kernfs_refresh_inode+0x328/0x4b0 fs/kernfs/inode.c:195 kernfs_iop_permission+0x6a/0xb0 fs/kernfs/inode.c:302 do_inode_permission fs/namei.c:386 [inline] inode_permission+0x34e/0x540 fs/namei.c:451 may_lookup fs/namei.c:1703 [inline] link_path_walk.part.0+0x952/0x1230 fs/namei.c:2085 link_path_walk fs/namei.c:2073 [inline] path_openat+0x21d/0x2e90 fs/namei.c:3536 do_filp_open+0x18c/0x3f0 fs/namei.c:3567 do_sys_open+0x3b3/0x520 fs/open.c:1085 do_syscall_64+0xf9/0x670 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7fdd9aefe840 Code: 73 01 c3 48 8b 0d 68 77 20 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 83 3d 89 bb 20 00 00 75 10 b8 02 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 1e f6 ff ff 48 89 04 24 RSP: 002b:00007fffb00eea48 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000000000705 RCX: 00007fdd9aefe840 RDX: 0000000000000005 RSI: 0000000000080000 RDI: 00007fffb00eea50 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000012 R10: 0000000000000064 R11: 0000000000000246 R12: 00007fffb00efa90 R13: 0000000000000000 R14: 0000000000000000 R15: 000000000000000f ================================================================================ netlink: 'syz-executor.1': attribute type 1 has an invalid length. bond1 (unregistering): Released all slaves netlink: 'syz-executor.1': attribute type 1 has an invalid length. bond1 (unregistering): Released all slaves netlink: 'syz-executor.1': attribute type 1 has an invalid length. bond1 (unregistering): Released all slaves