netlink: 4 bytes leftover after parsing attributes in process `syz-executor.2'. erofs: read_super, device -> /dev/loop1 erofs: options -> ================================================================================ UBSAN: Undefined behaviour in drivers/staging/erofs/super.c:122:3 shift exponent 34 is too large for 32-bit type 'int' CPU: 0 PID: 8754 Comm: syz-executor.1 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 superblock_read drivers/staging/erofs/super.c:122 [inline] erofs_read_super drivers/staging/erofs/super.c:356 [inline] erofs_fill_super+0x397/0x12fc drivers/staging/erofs/super.c:499 mount_bdev+0x2fc/0x3b0 fs/super.c:1158 erofs_mount+0x8c/0xc0 drivers/staging/erofs/super.c:512 mount_fs+0xa3/0x318 fs/super.c:1261 vfs_kern_mount.part.0+0x68/0x470 fs/namespace.c:961 vfs_kern_mount fs/namespace.c:951 [inline] do_new_mount fs/namespace.c:2469 [inline] do_mount+0x51c/0x2f10 fs/namespace.c:2799 ksys_mount+0xcf/0x130 fs/namespace.c:3015 __do_sys_mount fs/namespace.c:3029 [inline] __se_sys_mount fs/namespace.c:3026 [inline] __x64_sys_mount+0xba/0x150 fs/namespace.c:3026 do_syscall_64+0xf9/0x670 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x46087a Code: b8 a6 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 ad 89 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 8a 89 fb ff c3 66 0f 1f 84 00 00 00 00 00 RSP: 002b:00007f2c32655a88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f2c32655b20 RCX: 000000000046087a RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f2c32655ae0 RBP: 00007f2c32655ae0 R08: 00007f2c32655b20 R09: 0000000020000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020000000 R13: 0000000020000100 R14: 0000000020000200 R15: 0000000020010a00 ================================================================================ erofs: blksize 4 isn't supported on this platform erofs: read_super, device -> /dev/loop1 erofs: options -> erofs: blksize 4 isn't supported on this platform netlink: 4 bytes leftover after parsing attributes in process `syz-executor.2'. erofs: read_super, device -> /dev/loop1 erofs: options -> erofs: blksize 1024 isn't supported on this platform erofs: read_super, device -> /dev/loop1 erofs: options -> erofs: blksize 8388608 isn't supported on this platform erofs: read_super, device -> /dev/loop1 erofs: options -> erofs: blksize 8388608 isn't supported on this platform erofs: read_super, device -> /dev/loop1 erofs: options -> erofs: blksize 33554432 isn't supported on this platform erofs: read_super, device -> /dev/loop1 erofs: options -> erofs: blksize 33554432 isn't supported on this platform erofs: read_super, device -> /dev/loop1 erofs: options -> erofs: blksize 2147483648 isn't supported on this platform netlink: 'syz-executor.5': attribute type 5 has an invalid length. erofs: read_super, device -> /dev/loop1 erofs: options -> SELinux: security_context_str_to_sid(system_u) failed for (dev bpf, type bpf) errno=-22 erofs: blksize 2147483648 isn't supported on this platform SELinux: security_context_str_to_sid(system_u) failed for (dev bpf, type bpf) errno=-22 netlink: 'syz-executor.5': attribute type 5 has an invalid length. erofs: read_super, device -> /dev/loop1 erofs: options -> SELinux: security_context_str_to_sid(system_u) failed for (dev bpf, type bpf) errno=-22 erofs: blksize 4 isn't supported on this platform erofs: read_super, device -> /dev/loop1 erofs: options -> netlink: 'syz-executor.5': attribute type 5 has an invalid length. erofs: blksize 4 isn't supported on this platform erofs: read_super, device -> /dev/loop1 erofs: options -> erofs: blksize 1073741824 isn't supported on this platform SELinux: security_context_str_to_sid(system_u) failed for (dev bpf, type bpf) errno=-22 erofs: read_super, device -> /dev/loop1 erofs: options -> erofs: blksize 1073741824 isn't supported on this platform netlink: 'syz-executor.5': attribute type 5 has an invalid length. __ntfs_error: 44 callbacks suppressed ntfs: (device loop0): read_ntfs_boot_sector(): Primary boot sector is invalid. netlink: 'syz-executor.3': attribute type 5 has an invalid length. ntfs: (device loop0): read_ntfs_boot_sector(): Mount option errors=recover not used. Aborting without trying to recover. ntfs: (device loop0): ntfs_fill_super(): Not an NTFS volume. ntfs: (device loop0): read_ntfs_boot_sector(): Primary boot sector is invalid. erofs: read_super, device -> /dev/loop1 ntfs: (device loop0): read_ntfs_boot_sector(): Mount option errors=recover not used. Aborting without trying to recover. erofs: options -> erofs: root inode @ nid 36 erofs: mounted on /dev/loop1 with opts: . ntfs: (device loop0): ntfs_fill_super(): Not an NTFS volume. netlink: 'syz-executor.5': attribute type 5 has an invalid length. erofs: unmounted for /dev/loop1 erofs: read_super, device -> /dev/loop1 erofs: options -> erofs: root inode @ nid 36 netlink: 'syz-executor.3': attribute type 5 has an invalid length. erofs: mounted on /dev/loop1 with opts: . ntfs: (device loop0): read_ntfs_boot_sector(): Primary boot sector is invalid. erofs: unmounted for /dev/loop1 ntfs: (device loop0): read_ntfs_boot_sector(): Mount option errors=recover not used. Aborting without trying to recover. netlink: 'syz-executor.5': attribute type 5 has an invalid length. ntfs: (device loop0): ntfs_fill_super(): Not an NTFS volume. erofs: read_super, device -> /dev/loop1 ntfs: (device loop0): read_ntfs_boot_sector(): Primary boot sector is invalid. erofs: options -> erofs: root inode @ nid 36 netlink: 'syz-executor.3': attribute type 5 has an invalid length. erofs: mounted on /dev/loop1 with opts: . erofs: unmounted for /dev/loop1 netlink: 'syz-executor.5': attribute type 5 has an invalid length. erofs: read_super, device -> /dev/loop1 erofs: options -> erofs: root inode @ nid 36 erofs: mounted on /dev/loop1 with opts: . erofs: unmounted for /dev/loop1 erofs: read_super, device -> /dev/loop1 erofs: options -> erofs: root inode @ nid 36 erofs: mounted on /dev/loop1 with opts: . erofs: unmounted for /dev/loop1 erofs: read_super, device -> /dev/loop1 erofs: options -> erofs: root inode @ nid 36 erofs: mounted on /dev/loop1 with opts: . erofs: unmounted for /dev/loop1 erofs: read_super, device -> /dev/loop1 erofs: options -> erofs: root inode @ nid 36 erofs: mounted on /dev/loop1 with opts: . erofs: unmounted for /dev/loop1 erofs: read_super, device -> /dev/loop1 erofs: options -> erofs: root inode @ nid 36 erofs: mounted on /dev/loop1 with opts: . erofs: unmounted for /dev/loop1 erofs: read_super, device -> /dev/loop1 erofs: options -> erofs: root inode @ nid 36 erofs: mounted on /dev/loop1 with opts: . erofs: unmounted for /dev/loop1 erofs: read_super, device -> /dev/loop1 erofs: options -> erofs: root inode @ nid 36 erofs: mounted on /dev/loop1 with opts: . Enabling of bearer rejected, failed to enable media erofs: unmounted for /dev/loop1 erofs: read_super, device -> /dev/loop1 erofs: options -> erofs: root inode @ nid 36 erofs: mounted on /dev/loop1 with opts: . Enabling of bearer rejected, failed to enable media Enabling of bearer rejected, failed to enable media erofs: unmounted for /dev/loop1 netlink: 36 bytes leftover after parsing attributes in process `syz-executor.5'. erofs: read_super, device -> /dev/loop1 Enabling of bearer rejected, failed to enable media erofs: options -> erofs: root inode @ nid 36 __ntfs_error: 38 callbacks suppressed ntfs: (device loop0): read_ntfs_boot_sector(): Primary boot sector is invalid. erofs: mounted on /dev/loop1 with opts: . Enabling of bearer rejected, failed to enable media ntfs: (device loop0): read_ntfs_boot_sector(): Mount option errors=recover not used. Aborting without trying to recover. erofs: unmounted for /dev/loop1 ntfs: (device loop0): ntfs_fill_super(): Not an NTFS volume. netlink: 36 bytes leftover after parsing attributes in process `syz-executor.5'. ntfs: (device loop0): read_ntfs_boot_sector(): Primary boot sector is invalid. ntfs: (device loop0): read_ntfs_boot_sector(): Mount option errors=recover not used. Aborting without trying to recover. ntfs: (device loop0): ntfs_fill_super(): Not an NTFS volume. Enabling of bearer rejected, failed to enable media erofs: read_super, device -> /dev/loop1 erofs: options -> erofs: root inode @ nid 36