================================================================================ UBSAN: Undefined behaviour in ./include/net/red.h:272:18 shift exponent 246 is too large for 64-bit type 'long unsigned int' CPU: 0 PID: 3726 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_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 EXT4-fs (loop1): ext4_check_descriptors: Checksum for group 0 failed (60935!=0) EXT4-fs (loop1): orphan cleanup on readonly fs 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 EXT4-fs error (device loop1): ext4_ext_check_inode:498: inode #3: comm syz-executor.1: pblk 0 bad header/extent: invalid extent entries - magic f30a, entries 2, max 4(4), depth 0(0) __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 EXT4-fs error (device loop1): ext4_quota_enable:5835: comm syz-executor.1: Bad quota inode # 3 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894 RIP: 0010:lock_acquire+0x1f6/0x3f0 kernel/locking/lockdep.c:3911 Code: 03 80 3c 10 00 0f 85 dd 01 00 00 48 83 3d 99 8d 0b 08 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 05 b9 84 a9 7e 83 f8 3f 0f 87 EXT4-fs warning (device loop1): ext4_enable_quotas:5872: Failed to enable quota tracking (type=0, err=-117). Please run e2fsck to fix. RSP: 0018:ffff88808ff4f720 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13 RAX: 1ffffffff12c713d RBX: ffff88808ff4fbd0 RCX: 000000009004fc4c RDX: dffffc0000000000 RSI: ffff88808ff46c48 RDI: 0000000000000286 RBP: ffffffff89735220 R08: 00000000594ea6fa R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000002 R15: 0000000000000000 rcu_lock_acquire include/linux/rcupdate.h:242 [inline] rcu_read_lock include/linux/rcupdate.h:627 [inline] __d_lookup+0xa8/0x790 fs/dcache.c:2287 EXT4-fs (loop1): Cannot turn on quotas: error -117 lookup_fast+0x3a4/0x10a0 fs/namei.c:1618 EXT4-fs (loop1): mounted filesystem without journal. Opts: ,errors=continue walk_component+0xde/0xda0 fs/namei.c:1807 link_path_walk.part.0+0x901/0x1230 fs/namei.c:2142 link_path_walk fs/namei.c:2270 [inline] path_lookupat+0xe4/0x8d0 fs/namei.c:2318 filename_lookup+0x1ac/0x5a0 fs/namei.c:2349 user_path_at include/linux/namei.h:57 [inline] vfs_statx+0x113/0x210 fs/stat.c:185 vfs_lstat include/linux/fs.h:3138 [inline] __do_sys_newlstat fs/stat.c:350 [inline] __se_sys_newlstat+0x96/0x120 fs/stat.c:344 do_syscall_64+0xf9/0x670 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7fe2faa52335 Code: 69 db 2b 00 64 c7 00 16 00 00 00 b8 ff ff ff ff c3 0f 1f 40 00 83 ff 01 48 89 f0 77 30 48 89 c7 48 89 d6 b8 06 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 03 f3 c3 90 48 8b 15 31 db 2b 00 f7 d8 64 89 RSP: 002b:00007ffe7d57bc28 EFLAGS: 00000246 ORIG_RAX: 0000000000000006 RAX: ffffffffffffffda RBX: 0000555e5dbc3180 RCX: 00007fe2faa52335 RDX: 00007ffe7d57bc60 RSI: 00007ffe7d57bc60 RDI: 0000555e5dbc2180 RBP: 00007ffe7d57bd20 R08: 00007fe2fad11258 R09: 0000000000001010 R10: 00007fe2fad10b58 R11: 0000000000000246 R12: 0000555e5dbc2180 R13: 0000555e5dbc21a0 R14: 0000555e5db894eb R15: 0000555e5db894f0 ================================================================================ EXT4-fs (loop1): ext4_check_descriptors: Checksum for group 0 failed (60935!=0) EXT4-fs (loop1): orphan cleanup on readonly fs EXT4-fs error (device loop1): ext4_ext_check_inode:498: inode #3: comm syz-executor.1: pblk 0 bad header/extent: invalid extent entries - magic f30a, entries 2, max 4(4), depth 0(0) EXT4-fs error (device loop1): ext4_quota_enable:5835: comm syz-executor.1: Bad quota inode # 3 EXT4-fs warning (device loop1): ext4_enable_quotas:5872: Failed to enable quota tracking (type=0, err=-117). Please run e2fsck to fix. EXT4-fs (loop1): Cannot turn on quotas: error -117 EXT4-fs (loop1): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop1): ext4_check_descriptors: Checksum for group 0 failed (60935!=0) EXT4-fs (loop1): orphan cleanup on readonly fs EXT4-fs error (device loop1): ext4_quota_enable:5835: comm syz-executor.1: Bad quota inode # 3 EXT4-fs warning (device loop1): ext4_enable_quotas:5872: Failed to enable quota tracking (type=0, err=-116). Please run e2fsck to fix. EXT4-fs (loop1): Cannot turn on quotas: error -116 EXT4-fs (loop1): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop1): ext4_check_descriptors: Checksum for group 0 failed (60935!=0) EXT4-fs (loop1): orphan cleanup on readonly fs EXT4-fs error (device loop1): ext4_quota_enable:5835: comm syz-executor.1: Bad quota inode # 3 EXT4-fs warning (device loop1): ext4_enable_quotas:5872: Failed to enable quota tracking (type=0, err=-116). Please run e2fsck to fix. EXT4-fs (loop1): Cannot turn on quotas: error -116 EXT4-fs (loop1): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop1): ext4_check_descriptors: Checksum for group 0 failed (60935!=0) EXT4-fs (loop1): orphan cleanup on readonly fs EXT4-fs error (device loop1): ext4_quota_enable:5835: comm syz-executor.1: Bad quota inode # 3 EXT4-fs warning (device loop1): ext4_enable_quotas:5872: Failed to enable quota tracking (type=0, err=-116). Please run e2fsck to fix. EXT4-fs (loop1): Cannot turn on quotas: error -116 IPVS: set_ctl: invalid protocol: 0 255.255.255.255:0 EXT4-fs (loop1): mounted filesystem without journal. Opts: ,errors=continue FAT-fs (loop2): invalid media value (0x00) FAT-fs (loop2): Can't find a valid FAT filesystem EXT4-fs (loop1): ext4_check_descriptors: Checksum for group 0 failed (60935!=0) EXT4-fs error (device loop1): ext4_fill_super:4448: inode #2: comm syz-executor.1: iget: root inode unallocated EXT4-fs (loop1): get root inode failed EXT4-fs (loop1): mount failed FAT-fs (loop2): invalid media value (0x00) FAT-fs (loop2): Can't find a valid FAT filesystem IPVS: set_ctl: invalid protocol: 0 255.255.255.255:0 EXT4-fs (loop1): ext4_check_descriptors: Checksum for group 0 failed (60935!=0) EXT4-fs error (device loop1): ext4_fill_super:4448: inode #2: comm syz-executor.1: iget: root inode unallocated EXT4-fs (loop1): get root inode failed EXT4-fs (loop1): mount failed FAT-fs (loop2): invalid media value (0x00) FAT-fs (loop2): Can't find a valid FAT filesystem EXT4-fs (loop1): ext4_check_descriptors: Checksum for group 0 failed (60935!=0) FAT-fs (loop2): bogus number of reserved sectors FAT-fs (loop2): Can't find a valid FAT filesystem EXT4-fs error (device loop1): ext4_fill_super:4448: inode #2: comm syz-executor.1: iget: root inode unallocated EXT4-fs (loop1): get root inode failed EXT4-fs (loop1): mount failed FAT-fs (loop2): bogus number of reserved sectors EXT4-fs (loop1): ext4_check_descriptors: Checksum for group 0 failed (60935!=0) FAT-fs (loop2): Can't find a valid FAT filesystem EXT4-fs error (device loop1): ext4_fill_super:4448: inode #2: comm syz-executor.1: iget: root inode unallocated EXT4-fs (loop1): get root inode failed EXT4-fs (loop1): mount failed FAT-fs (loop2): bogus number of reserved sectors FAT-fs (loop2): Can't find a valid FAT filesystem EXT4-fs (loop1): ext4_check_descriptors: Checksum for group 0 failed (60935!=0) EXT4-fs error (device loop1): ext4_fill_super:4448: inode #2: comm syz-executor.1: iget: root inode unallocated FAT-fs (loop2): bogus number of reserved sectors EXT4-fs (loop1): get root inode failed FAT-fs (loop2): Can't find a valid FAT filesystem EXT4-fs (loop1): mount failed FAT-fs (loop2): bogus number of reserved sectors EXT4-fs (loop1): ext4_check_descriptors: Checksum for group 0 failed (60935!=0) FAT-fs (loop2): Can't find a valid FAT filesystem EXT4-fs error (device loop1): ext4_fill_super:4448: inode #2: comm syz-executor.1: iget: root inode unallocated EXT4-fs (loop1): get root inode failed EXT4-fs (loop1): mount failed FAT-fs (loop2): bogus number of reserved sectors EXT4-fs (loop1): ext4_check_descriptors: Checksum for group 0 failed (60935!=0) FAT-fs (loop2): Can't find a valid FAT filesystem EXT4-fs error (device loop1): ext4_fill_super:4448: inode #2: comm syz-executor.1: iget: root inode unallocated EXT4-fs (loop1): get root inode failed EXT4-fs (loop1): mount failed FAT-fs (loop2): bogus number of reserved sectors FAT-fs (loop2): Can't find a valid FAT filesystem EXT4-fs (loop1): ext4_check_descriptors: Checksum for group 0 failed (60935!=0) EXT4-fs error (device loop1): ext4_fill_super:4448: inode #2: comm syz-executor.1: iget: root inode unallocated EXT4-fs (loop1): get root inode failed EXT4-fs (loop1): mount failed FAT-fs (loop2): bogus number of reserved sectors FAT-fs (loop2): Can't find a valid FAT filesystem EXT4-fs (loop1): ext4_check_descriptors: Checksum for group 0 failed (60935!=0) EXT4-fs error (device loop1): ext4_fill_super:4448: inode #2: comm syz-executor.1: iget: root inode unallocated EXT4-fs (loop1): get root inode failed FAT-fs (loop2): bogus number of reserved sectors EXT4-fs (loop1): mount failed FAT-fs (loop2): Can't find a valid FAT filesystem FAT-fs (loop2): bogus number of reserved sectors EXT4-fs (loop1): ext4_check_descriptors: Checksum for group 0 failed (60935!=0) FAT-fs (loop2): Can't find a valid FAT filesystem EXT4-fs error (device loop1): ext4_fill_super:4448: inode #2: comm syz-executor.1: iget: root inode unallocated EXT4-fs (loop1): get root inode failed EXT4-fs (loop1): mount failed FAT-fs (loop2): bogus number of reserved sectors FAT-fs (loop2): Can't find a valid FAT filesystem EXT4-fs (loop1): ext4_check_descriptors: Checksum for group 0 failed (60935!=0) EXT4-fs error (device loop1): ext4_fill_super:4448: inode #2: comm syz-executor.1: iget: root inode unallocated EXT4-fs (loop1): get root inode failed EXT4-fs (loop1): mount failed netlink: 24 bytes leftover after parsing attributes in process `syz-executor.4'. FAT-fs (loop2): bogus number of reserved sectors EXT4-fs (loop1): ext4_check_descriptors: Checksum for group 0 failed (60935!=0) FAT-fs (loop2): Can't find a valid FAT filesystem EXT4-fs error (device loop1): ext4_fill_super:4448: inode #2: comm syz-executor.1: iget: root inode unallocated netlink: 'syz-executor.4': attribute type 2 has an invalid length. netlink: 24 bytes leftover after parsing attributes in process `syz-executor.4'. EXT4-fs (loop1): get root inode failed EXT4-fs (loop1): mount failed FAT-fs (loop2): invalid media value (0x00) FAT-fs (loop2): Can't find a valid FAT filesystem EXT4-fs (loop1): ext4_check_descriptors: Checksum for group 0 failed (60935!=0) netlink: 4 bytes leftover after parsing attributes in process `syz-executor.4'. EXT4-fs error (device loop1): ext4_fill_super:4448: inode #2: comm syz-executor.1: iget: root inode unallocated FAT-fs (loop2): invalid media value (0x00) FAT-fs (loop2): Can't find a valid FAT filesystem EXT4-fs (loop1): get root inode failed EXT4-fs (loop1): mount failed FAT-fs (loop2): invalid media value (0x00) FAT-fs (loop2): Can't find a valid FAT filesystem EXT4-fs (loop1): ext4_check_descriptors: Checksum for group 0 failed (60935!=0) EXT4-fs error (device loop1): ext4_fill_super:4448: inode #2: comm syz-executor.1: iget: root inode unallocated EXT4-fs (loop1): get root inode failed FAT-fs (loop2): invalid media value (0x00) FAT-fs (loop2): Can't find a valid FAT filesystem EXT4-fs (loop1): mount failed FAT-fs (loop2): invalid media value (0x00) FAT-fs (loop2): Can't find a valid FAT filesystem EXT4-fs (loop1): ext4_check_descriptors: Checksum for group 0 failed (60935!=0) EXT4-fs error (device loop1): ext4_fill_super:4448: inode #2: comm syz-executor.1: iget: root inode unallocated EXT4-fs (loop1): get root inode failed FAT-fs (loop2): invalid media value (0x00) EXT4-fs (loop1): mount failed FAT-fs (loop2): Can't find a valid FAT filesystem