================================================================================ UBSAN: Undefined behaviour in net/core/gen_estimator.c:87:38 shift exponent -3 is negative netlink: 24 bytes leftover after parsing attributes in process `syz-executor.4'. CPU: 0 PID: 3730 Comm: systemd-udevd 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 est_timer.cold+0x96/0x126 net/core/gen_estimator.c:87 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:write_comp_data+0x23/0x70 kernel/kcov.c:122 Code: 1f 84 00 00 00 00 00 49 89 f1 49 89 fa 65 48 8b 34 25 40 ee 01 00 65 8b 05 0a 1b 90 7e a9 00 01 1f 00 75 4f 8b 86 e0 12 00 00 <83> f8 03 75 44 48 8b 86 e8 12 00 00 8b b6 e4 12 00 00 48 8b 38 48 RSP: 0018:ffff88808fb47810 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: 0000000000000000 RBX: ffff88804f4f0a17 RCX: ffffffff87ac2cd9 RDX: 000000000000002f RSI: ffff88808fb3a4c0 RDI: 0000000000000001 RBP: ffff88808b5422dd R08: 0000000000000004 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffffffffffffffe8 R13: 000000000000002f R14: 0000000000000016 R15: dffffc0000000000 string+0x199/0x220 lib/vsprintf.c:605 vsnprintf+0x71b/0x14f0 lib/vsprintf.c:2293 sprintf+0xc0/0x100 lib/vsprintf.c:2495 alloc_uevent_skb+0xac/0x210 lib/kobject_uevent.c:294 uevent_net_broadcast_untagged lib/kobject_uevent.c:324 [inline] kobject_uevent_net_broadcast lib/kobject_uevent.c:406 [inline] kobject_uevent_env+0x94f/0x1390 lib/kobject_uevent.c:590 kobject_synth_uevent+0x74c/0x8c9 lib/kobject_uevent.c:208 uevent_store+0x21/0x70 drivers/base/core.c:1242 dev_attr_store+0x56/0x80 drivers/base/core.c:951 sysfs_kf_write+0x110/0x160 fs/sysfs/file.c:139 kernfs_fop_write+0x2b0/0x470 fs/kernfs/file.c:316 __vfs_write+0xf7/0x770 fs/read_write.c:485 vfs_write+0x1f3/0x540 fs/read_write.c:549 ksys_write+0x12b/0x2a0 fs/read_write.c:599 do_syscall_64+0xf9/0x670 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7efcb9436970 Code: 73 01 c3 48 8b 0d 28 d5 2b 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 83 3d 99 2d 2c 00 00 75 10 b8 01 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 7e 9b 01 00 48 89 04 24 RSP: 002b:00007ffc8870a2e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000007 RCX: 00007efcb9436970 RDX: 0000000000000007 RSI: 0000564513268c10 RDI: 000000000000000e RBP: 0000564513268c10 R08: 000056451326e6b0 R09: 00007efcba5c38c0 R10: 000056451325cc30 R11: 0000000000000246 R12: 0000000000000007 R13: 0000000000000001 R14: 000056451326e5d0 R15: 0000000000000007 ================================================================================ ================================================================================ UBSAN: Undefined behaviour in net/core/gen_estimator.c:90:46 shift exponent -3 is negative CPU: 0 PID: 3730 Comm: systemd-udevd 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 est_timer.cold+0x17/0x126 net/core/gen_estimator.c:90 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:write_comp_data+0x23/0x70 kernel/kcov.c:122 Code: 1f 84 00 00 00 00 00 49 89 f1 49 89 fa 65 48 8b 34 25 40 ee 01 00 65 8b 05 0a 1b 90 7e a9 00 01 1f 00 75 4f 8b 86 e0 12 00 00 <83> f8 03 75 44 48 8b 86 e8 12 00 00 8b b6 e4 12 00 00 48 8b 38 48 RSP: 0018:ffff88808fb47810 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: 0000000000000000 RBX: ffff88804f4f0a17 RCX: ffffffff87ac2cd9 RDX: 000000000000002f RSI: ffff88808fb3a4c0 RDI: 0000000000000001 RBP: ffff88808b5422dd R08: 0000000000000004 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffffffffffffffe8 R13: 000000000000002f R14: 0000000000000016 R15: dffffc0000000000 string+0x199/0x220 lib/vsprintf.c:605 vsnprintf+0x71b/0x14f0 lib/vsprintf.c:2293 sprintf+0xc0/0x100 lib/vsprintf.c:2495 alloc_uevent_skb+0xac/0x210 lib/kobject_uevent.c:294 uevent_net_broadcast_untagged lib/kobject_uevent.c:324 [inline] kobject_uevent_net_broadcast lib/kobject_uevent.c:406 [inline] kobject_uevent_env+0x94f/0x1390 lib/kobject_uevent.c:590 kobject_synth_uevent+0x74c/0x8c9 lib/kobject_uevent.c:208 uevent_store+0x21/0x70 drivers/base/core.c:1242 dev_attr_store+0x56/0x80 drivers/base/core.c:951 sysfs_kf_write+0x110/0x160 fs/sysfs/file.c:139 kernfs_fop_write+0x2b0/0x470 fs/kernfs/file.c:316 __vfs_write+0xf7/0x770 fs/read_write.c:485 vfs_write+0x1f3/0x540 fs/read_write.c:549 ksys_write+0x12b/0x2a0 fs/read_write.c:599 do_syscall_64+0xf9/0x670 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7efcb9436970 Code: 73 01 c3 48 8b 0d 28 d5 2b 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 83 3d 99 2d 2c 00 00 75 10 b8 01 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 7e 9b 01 00 48 89 04 24 RSP: 002b:00007ffc8870a2e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000007 RCX: 00007efcb9436970 RDX: 0000000000000007 RSI: 0000564513268c10 RDI: 000000000000000e RBP: 0000564513268c10 R08: 000056451326e6b0 R09: 00007efcba5c38c0 R10: 000056451325cc30 R11: 0000000000000246 R12: 0000000000000007 R13: 0000000000000001 R14: 000056451326e5d0 R15: 0000000000000007 ================================================================================ netlink: 24 bytes leftover after parsing attributes in process `syz-executor.4'. IPVS: ftp: loaded support on port[0] = 21 netlink: 24 bytes leftover after parsing attributes in process `syz-executor.4'. netlink: 40 bytes leftover after parsing attributes in process `syz-executor.4'. IPVS: ftp: loaded support on port[0] = 21 netlink: 24 bytes leftover after parsing attributes in process `syz-executor.4'. netlink: 24 bytes leftover after parsing attributes in process `syz-executor.4'. IPVS: ftp: loaded support on port[0] = 21 netlink: 24 bytes leftover after parsing attributes in process `syz-executor.4'. netlink: 24 bytes leftover after parsing attributes in process `syz-executor.4'. IPVS: ftp: loaded support on port[0] = 21 netlink: 24 bytes leftover after parsing attributes in process `syz-executor.4'. netlink: 24 bytes leftover after parsing attributes in process `syz-executor.4'. netlink: 40 bytes leftover after parsing attributes in process `syz-executor.4'. netlink: 40 bytes leftover after parsing attributes in process `syz-executor.4'. netlink: 24 bytes leftover after parsing attributes in process `syz-executor.4'. SELinux: unrecognized netlink message: protocol=0 nlmsg_type=106 sclass=netlink_route_socket pid=19174 comm=syz-executor.4 netlink: 24 bytes leftover after parsing attributes in process `syz-executor.4'. SELinux: unrecognized netlink message: protocol=0 nlmsg_type=106 sclass=netlink_route_socket pid=19171 comm=syz-executor.4 netlink: 24 bytes leftover after parsing attributes in process `syz-executor.4'. netlink: 24 bytes leftover after parsing attributes in process `syz-executor.4'. netlink: 24 bytes leftover after parsing attributes in process `syz-executor.4'. netlink: 24 bytes leftover after parsing attributes in process `syz-executor.4'. netlink: 24 bytes leftover after parsing attributes in process `syz-executor.4'.