================================================================================ UBSAN: Undefined behaviour in ./include/net/red.h:272:18 shift exponent 189 is too large for 64-bit type 'long unsigned int' CPU: 1 PID: 15326 Comm: syz-executor.3 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+0x14df/0x2ec0 net/core/dev.c:3807 neigh_resolve_output+0x55a/0x950 net/core/neighbour.c:1374 neigh_output include/net/neighbour.h:501 [inline] ip6_finish_output2+0x1184/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+0x384/0x6a0 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+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:arch_local_irq_restore arch/x86/include/asm/paravirt.h:789 [inline] RIP: 0010:lock_acquire+0x1ec/0x3f0 kernel/locking/lockdep.c:3910 Code: 08 00 00 00 00 00 00 48 c1 e8 03 80 3c 10 00 0f 85 dd 01 00 00 48 83 3d 09 b2 2d 09 00 0f 84 4e 01 00 00 48 8b 7c 24 08 57 9d <0f> 1f 44 00 00 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e 41 5f c3 65 8b RSP: 0018:ffff88802a8ef8a8 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13 RAX: 1ffffffff1500211 RBX: ffff888029a5c400 RCX: 030ebc366fb9fae1 RDX: dffffc0000000000 RSI: ffff888029a5cc88 RDI: 0000000000000286 RBP: ffff88809eda3018 R08: 0000000089651b26 R09: 0000000000000000 R10: 0000000000000028 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000001 __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:144 spin_lock include/linux/spinlock.h:329 [inline] pte_alloc_one_map mm/memory.c:3438 [inline] alloc_set_pte+0xf94/0x1a50 mm/memory.c:3567 finish_fault+0x170/0x2c0 mm/memory.c:3632 do_read_fault mm/memory.c:3778 [inline] do_fault mm/memory.c:3903 [inline] handle_pte_fault mm/memory.c:4134 [inline] __handle_mm_fault+0x27c5/0x4370 mm/memory.c:4258 handle_mm_fault+0x489/0xb90 mm/memory.c:4295 faultin_page mm/gup.c:530 [inline] __get_user_pages+0x58d/0x16b0 mm/gup.c:730 populate_vma_page_range+0x200/0x2d0 mm/gup.c:1234 __mm_populate+0x1ea/0x350 mm/gup.c:1282 mm_populate include/linux/mm.h:2335 [inline] vm_mmap_pgoff+0x1e2/0x200 mm/util.c:362 ksys_mmap_pgoff+0x4aa/0x660 mm/mmap.c:1580 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:00007efea7fa0c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 0000000000021200 RCX: 000000000045de59 RDX: 0000000002000007 RSI: 0000000000600000 RDI: 00000000209fd000 RBP: 000000000118bf78 R08: ffffffffffffffff R09: 0000000000000000 R10: 0000000000006031 R11: 0000000000000246 R12: 000000000118bf2c R13: 00007ffc37f81e4f R14: 00007efea7fa19c0 R15: 000000000118bf2c ================================================================================ Bluetooth: hci0: command 0x0406 tx timeout Bluetooth: hci1: command 0x0406 tx timeout ntfs: (device loop3): parse_ntfs_boot_sector(): Sector size (256) is smaller than the device block size (512). This is not supported. Sorry. Bluetooth: hci2: command 0x0406 tx timeout Bluetooth: hci3: command 0x0406 tx timeout Bluetooth: hci4: command 0x0406 tx timeout Bluetooth: hci5: command 0x0406 tx timeout ntfs: (device loop3): ntfs_fill_super(): Unsupported NTFS filesystem. nf_conntrack: default automatic helper assignment has been turned off for security reasons and CT-based firewall rule not found. Use the iptables CT target to attach helpers instead. ntfs: (device loop3): parse_ntfs_boot_sector(): Sector size (256) is smaller than the device block size (512). This is not supported. Sorry. ntfs: (device loop3): ntfs_fill_super(): Unsupported NTFS filesystem. ntfs: (device loop3): parse_ntfs_boot_sector(): Sector size (256) is smaller than the device block size (512). This is not supported. Sorry. ntfs: (device loop3): ntfs_fill_super(): Unsupported NTFS filesystem. ntfs: (device loop3): parse_ntfs_boot_sector(): Sector size (256) is smaller than the device block size (512). This is not supported. Sorry. ntfs: (device loop3): ntfs_fill_super(): Unsupported NTFS filesystem. xt_socket: unknown flags 0x80 md: invalid raid superblock magic on ram96 md: ram96 does not have a valid v0.0 superblock, not importing! xt_socket: unknown flags 0x80 md: md_import_device returned -22 md: invalid raid superblock magic on ram96 md: ram96 does not have a valid v0.0 superblock, not importing! md: md_import_device returned -22 xt_socket: unknown flags 0x80 xt_socket: unknown flags 0x80 md: invalid raid superblock magic on ram96 md: ram96 does not have a valid v0.0 superblock, not importing! md: md_import_device returned -22 md: invalid raid superblock magic on ram96 md: ram96 does not have a valid v0.0 superblock, not importing! md: md_import_device returned -22