================================================================================ UBSAN: Undefined behaviour in net/sched/sch_api.c:375:22 shift exponent 255 is too large for 32-bit type 'int' CPU: 0 PID: 17190 Comm: syz-executor.3 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 __detect_linklayer net/sched/sch_api.c:375 [inline] qdisc_get_rtab.cold+0x1d/0x8e net/sched/sch_api.c:421 tbf_change+0x99d/0x1230 net/sched/sch_tbf.c:325 tbf_init+0x91/0xc4 net/sched/sch_tbf.c:433 qdisc_create+0x534/0x1080 net/sched/sch_api.c:1155 tc_modify_qdisc+0x4c0/0x195b net/sched/sch_api.c:1571 rtnetlink_rcv_msg+0x498/0xc10 net/core/rtnetlink.c:4778 netlink_rcv_skb+0x160/0x440 net/netlink/af_netlink.c:2455 netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline] netlink_unicast+0x4d5/0x690 net/netlink/af_netlink.c:1344 netlink_sendmsg+0x717/0xcc0 net/netlink/af_netlink.c:1909 sock_sendmsg_nosec net/socket.c:622 [inline] sock_sendmsg+0xc7/0x130 net/socket.c:632 ___sys_sendmsg+0x7bb/0x8f0 net/socket.c:2115 __sys_sendmsg net/socket.c:2153 [inline] __do_sys_sendmsg net/socket.c:2162 [inline] __se_sys_sendmsg net/socket.c:2160 [inline] __x64_sys_sendmsg+0x132/0x220 net/socket.c:2160 do_syscall_64+0xf9/0x670 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45de59 Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f6ac4677c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 000000000002e600 RCX: 000000000045de59 RDX: 0000000000000000 RSI: 0000000020000800 RDI: 0000000000000004 RBP: 000000000118bf60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bf2c R13: 00007fff2b05449f R14: 00007f6ac46789c0 R15: 000000000118bf2c ================================================================================ ================================================================================ UBSAN: Undefined behaviour in net/sched/sch_api.c:376:24 shift exponent 255 is too large for 32-bit type 'int' CPU: 1 PID: 17190 Comm: syz-executor.3 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 __detect_linklayer net/sched/sch_api.c:376 [inline] qdisc_get_rtab.cold+0x7f/0x8e net/sched/sch_api.c:421 tbf_change+0x99d/0x1230 net/sched/sch_tbf.c:325 tbf_init+0x91/0xc4 net/sched/sch_tbf.c:433 qdisc_create+0x534/0x1080 net/sched/sch_api.c:1155 tc_modify_qdisc+0x4c0/0x195b net/sched/sch_api.c:1571 rtnetlink_rcv_msg+0x498/0xc10 net/core/rtnetlink.c:4778 netlink_rcv_skb+0x160/0x440 net/netlink/af_netlink.c:2455 netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline] netlink_unicast+0x4d5/0x690 net/netlink/af_netlink.c:1344 netlink_sendmsg+0x717/0xcc0 net/netlink/af_netlink.c:1909 sock_sendmsg_nosec net/socket.c:622 [inline] sock_sendmsg+0xc7/0x130 net/socket.c:632 ___sys_sendmsg+0x7bb/0x8f0 net/socket.c:2115 __sys_sendmsg net/socket.c:2153 [inline] __do_sys_sendmsg net/socket.c:2162 [inline] __se_sys_sendmsg net/socket.c:2160 [inline] __x64_sys_sendmsg+0x132/0x220 net/socket.c:2160 do_syscall_64+0xf9/0x670 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45de59 Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f6ac4677c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 000000000002e600 RCX: 000000000045de59 RDX: 0000000000000000 RSI: 0000000020000800 RDI: 0000000000000004 RBP: 000000000118bf60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bf2c R13: 00007fff2b05449f R14: 00007f6ac46789c0 R15: 000000000118bf2c ================================================================================ sch_tbf: burst 0 is lower than device lo mtu (65550) ! ================================================================================ UBSAN: Undefined behaviour in drivers/vhost/vhost.c:116:62 load of value 164 is not a valid value for type '_Bool' CPU: 0 PID: 17218 Comm: syz-executor.5 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_load_invalid_value.cold+0x63/0x6f lib/ubsan.c:454 vhost_init_is_le drivers/vhost/vhost.c:116 [inline] vhost_reset_is_le drivers/vhost/vhost.c:143 [inline] vhost_vq_reset.constprop.0.cold+0x15/0x1a drivers/vhost/vhost.c:325 vhost_dev_init+0x442/0x780 drivers/vhost/vhost.c:463 vhost_net_open+0x54c/0x730 drivers/vhost/net.c:1103 misc_open+0x372/0x4a0 drivers/char/misc.c:141 chrdev_open+0x266/0x770 fs/char_dev.c:423 do_dentry_open+0x4aa/0x1160 fs/open.c:796 sch_tbf: burst 0 is lower than device lo mtu (65550) ! do_last fs/namei.c:3421 [inline] path_openat+0x7d5/0x2e90 fs/namei.c:3537 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:0x45de59 Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f9dbd321c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000024a80 RCX: 000000000045de59 RDX: 0000000000000002 RSI: 00000000200000c0 RDI: ffffffffffffff9c RBP: 000000000118bf68 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bf2c R13: 00007ffcd1eab8ff R14: 00007f9dbd3229c0 R15: 000000000118bf2c ================================================================================ sch_tbf: burst 0 is lower than device lo mtu (65550) ! sch_tbf: burst 0 is lower than device lo mtu (65550) ! audit: type=1800 audit(1602365866.201:59): pid=17249 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="syz-executor.2" name="bus" dev="sda1" ino=16702 res=0 audit: type=1800 audit(1602365866.231:60): pid=17249 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="syz-executor.2" name="bus" dev="sda1" ino=16702 res=0 audit: type=1804 audit(1602365866.241:61): pid=17249 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-testdir431237564/syzkaller.prXW9U/261/bus" dev="sda1" ino=16702 res=1 audit: type=1800 audit(1602365866.301:62): pid=17249 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed comm="syz-executor.2" name="bus" dev="sda1" ino=16702 res=0 audit: type=1800 audit(1602365866.671:63): pid=17280 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="syz-executor.2" name="bus" dev="sda1" ino=16674 res=0 audit: type=1800 audit(1602365867.351:64): pid=17309 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=16733 res=0 audit: type=1800 audit(1602365867.401:65): pid=17311 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="syz-executor.2" name="bus" dev="sda1" ino=16678 res=0 audit: type=1800 audit(1602365867.751:66): pid=17338 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=16730 res=0 syz-executor.5[17354] is installing a program with bpf_probe_write_user helper that may corrupt user memory! syz-executor.5[17354] is installing a program with bpf_probe_write_user helper that may corrupt user memory! audit: type=1800 audit(1602365867.881:67): pid=17343 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="syz-executor.2" name="bus" dev="sda1" ino=16736 res=0 syz-executor.5[17364] is installing a program with bpf_probe_write_user helper that may corrupt user memory! audit: type=1800 audit(1602365868.271:68): pid=17371 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=16708 res=0 syz-executor.5[17381] is installing a program with bpf_probe_write_user helper that may corrupt user memory! syz-executor.5[17396] is installing a program with bpf_probe_write_user helper that may corrupt user memory! xt_l2tp: v2 doesn't support IP mode xt_l2tp: v2 doesn't support IP mode xt_l2tp: v2 doesn't support IP mode xt_l2tp: v2 doesn't support IP mode netlink: 96 bytes leftover after parsing attributes in process `syz-executor.1'. netlink: 96 bytes leftover after parsing attributes in process `syz-executor.1'. netlink: 96 bytes leftover after parsing attributes in process `syz-executor.5'. netlink: 96 bytes leftover after parsing attributes in process `syz-executor.5'. netlink: 96 bytes leftover after parsing attributes in process `syz-executor.1'. netlink: 96 bytes leftover after parsing attributes in process `syz-executor.1'. netlink: 96 bytes leftover after parsing attributes in process `syz-executor.5'. overlayfs: './bus' not a directory overlayfs: './bus' not a directory netlink: 12 bytes leftover after parsing attributes in process `syz-executor.2'. bond1 (unregistering): Released all slaves kvm [17525]: vcpu0, guest rIP: 0xcc ignored wrmsr: 0x11e data 0xbe702110 kvm [17525]: vcpu0, guest rIP: 0xcc ignored wrmsr: 0x11e data 0xbe702110 netlink: 12 bytes leftover after parsing attributes in process `syz-executor.2'. kvm [17525]: vcpu0, guest rIP: 0xcc ignored wrmsr: 0x11e data 0xbe702110 kvm [17525]: vcpu0, guest rIP: 0xcc ignored wrmsr: 0x11e data 0xbe702110 kvm [17525]: vcpu0, guest rIP: 0xcc ignored wrmsr: 0x11e data 0xbe702110 kvm [17525]: vcpu0, guest rIP: 0xcc ignored wrmsr: 0x11e data 0xbe702110 kvm [17525]: vcpu0, guest rIP: 0xcc ignored wrmsr: 0x11e data 0xbe702110 bond1 (unregistering): Released all slaves netlink: 12 bytes leftover after parsing attributes in process `syz-executor.2'. bond1 (unregistering): Released all slaves kvm [17744]: vcpu0, guest rIP: 0xcc ignored wrmsr: 0x11e data 0xbe702110 kvm [17744]: vcpu0, guest rIP: 0xcc ignored wrmsr: 0x11e data 0xbe702110 kvm [17744]: vcpu0, guest rIP: 0xcc ignored wrmsr: 0x11e data 0xbe702110