netlink: 24 bytes leftover after parsing attributes in process `syz-executor.5'. ================================================================================ UBSAN: Undefined behaviour in ./include/net/red.h:272:18 shift exponent 71 is too large for 64-bit type 'long unsigned int' CPU: 1 PID: 23 Comm: kworker/u4:1 Not tainted 4.19.148-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: netns cleanup_net 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:__sanitizer_cov_trace_pc+0x22/0x50 kernel/kcov.c:101 Code: 00 00 e9 39 ec ff ff 90 48 8b 34 24 65 48 8b 04 25 40 ee 01 00 65 8b 15 dc 2a 90 7e 81 e2 00 01 1f 00 75 2b 8b 90 e0 12 00 00 <83> fa 02 75 20 48 8b 88 e8 12 00 00 8b 80 e4 12 00 00 48 8b 11 48 RSP: 0018:ffff8880a9be7b40 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: ffff8880a9bd8600 RBX: 0000000000000000 RCX: ffffffff867f6976 RDX: 0000000000000000 RSI: ffffffff867f6984 RDI: 0000000000000001 RBP: 00000000000241f7 R08: 0000000000000000 R09: 0000000000000001 R10: 0000000000000001 R11: 0000000000000003 R12: 00000000000483ef R13: 000000000000000a R14: 000000000000000a R15: dffffc0000000000 rcu_read_unlock include/linux/rcupdate.h:677 [inline] inet_twsk_purge+0x574/0x80b net/ipv4/inet_timewait_sock.c:298 ops_exit_list+0xf9/0x150 net/core/net_namespace.c:156 cleanup_net+0x3b4/0x8b0 net/core/net_namespace.c:553 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 ================================================================================ netlink: 12 bytes leftover after parsing attributes in process `syz-executor.4'. bridge1: port 1(macvlan0) entered blocking state bridge1: port 1(macvlan0) entered disabled state device macvlan0 entered promiscuous mode bridge1: port 1(macvlan0) entered blocking state bridge1: port 1(macvlan0) entered forwarding state netlink: 12 bytes leftover after parsing attributes in process `syz-executor.4'. netlink: 12 bytes leftover after parsing attributes in process `syz-executor.4'. device macvlan0 left promiscuous mode bridge1: port 1(macvlan0) entered disabled state bridge2: port 1(macvlan0) entered blocking state bridge2: port 1(macvlan0) entered disabled state device macvlan0 entered promiscuous mode bridge2: port 1(macvlan0) entered blocking state bridge2: port 1(macvlan0) entered forwarding state kvm [16116]: vcpu0, guest rIP: 0xcc disabled perfctr wrmsr: 0xc2 data 0x0 kvm [16116]: vcpu0, guest rIP: 0xcc ignored wrmsr: 0x11e data 0xbe702111 kvm: pic: single mode not supported kvm: pic: single mode not supported kvm: pic: single mode not supported kvm: pic: single mode not supported kvm: pic: single mode not supported kvm: pic: single mode not supported kvm: pic: single mode not supported kvm: pic: single mode not supported kvm: pic: single mode not supported kvm: pic: single mode not supported raw_sendmsg: syz-executor.5 forgot to set AF_INET. Fix it! xt_TCPMSS: Only works on TCP SYN packets netlink: 12 bytes leftover after parsing attributes in process `syz-executor.4'. xt_TCPMSS: Only works on TCP SYN packets device macvlan0 left promiscuous mode bridge2: port 1(macvlan0) entered disabled state bridge3: port 1(macvlan0) entered blocking state bridge3: port 1(macvlan0) entered disabled state device macvlan0 entered promiscuous mode bridge3: port 1(macvlan0) entered blocking state bridge3: port 1(macvlan0) entered forwarding state netlink: 12 bytes leftover after parsing attributes in process `syz-executor.4'. netlink: 12 bytes leftover after parsing attributes in process `syz-executor.4'. device macvlan0 left promiscuous mode bridge3: port 1(macvlan0) entered disabled state bridge4: port 1(macvlan0) entered blocking state bridge4: port 1(macvlan0) entered disabled state device macvlan0 entered promiscuous mode bridge4: port 1(macvlan0) entered blocking state bridge4: port 1(macvlan0) entered forwarding state netlink: 12 bytes leftover after parsing attributes in process `syz-executor.4'. device macvlan0 left promiscuous mode bridge4: port 1(macvlan0) entered disabled state bridge5: port 1(macvlan0) entered blocking state bridge5: port 1(macvlan0) entered disabled state device macvlan0 entered promiscuous mode bridge5: port 1(macvlan0) entered blocking state bridge5: port 1(macvlan0) entered forwarding state netlink: 24 bytes leftover after parsing attributes in process `syz-executor.5'. policy can only be matched on NF_INET_PRE_ROUTING unable to load match netlink: 24 bytes leftover after parsing attributes in process `syz-executor.5'. netlink: 12 bytes leftover after parsing attributes in process `syz-executor.4'. device macvlan0 left promiscuous mode bridge5: port 1(macvlan0) entered disabled state bridge6: port 1(macvlan0) entered blocking state bridge6: port 1(macvlan0) entered disabled state device macvlan0 entered promiscuous mode bridge6: port 1(macvlan0) entered blocking state bridge6: port 1(macvlan0) entered forwarding state netlink: 12 bytes leftover after parsing attributes in process `syz-executor.4'. device macvlan0 left promiscuous mode bridge6: port 1(macvlan0) entered disabled state bridge7: port 1(macvlan0) entered blocking state bridge7: port 1(macvlan0) entered disabled state device macvlan0 entered promiscuous mode bridge7: port 1(macvlan0) entered blocking state bridge7: port 1(macvlan0) entered forwarding state netlink: 12 bytes leftover after parsing attributes in process `syz-executor.4'. device macvlan0 left promiscuous mode bridge7: port 1(macvlan0) entered disabled state bridge8: port 1(macvlan0) entered blocking state bridge8: port 1(macvlan0) entered disabled state device macvlan0 entered promiscuous mode bridge8: port 1(macvlan0) entered blocking state bridge8: port 1(macvlan0) entered forwarding state audit: type=1400 audit(1601479783.224:62): avc: denied { set_context_mgr } for pid=16477 comm="syz-executor.5" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=binder permissive=1 netlink: 12 bytes leftover after parsing attributes in process `syz-executor.4'.