new mount options do not match the existing superblock, will be ignored new mount options do not match the existing superblock, will be ignored EXT4-fs (sda1): Remounting file system with no journal so ignoring journalled data option ================================================================== BUG: KASAN: use-after-free in ext4_inode_block_valid+0x33b/0x3b0 fs/ext4/block_validity.c:255 Read of size 8 at addr ffff8880a46b6d38 by task systemd-rfkill/9527 CPU: 1 PID: 9527 Comm: systemd-rfkill Not tainted 4.14.232-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x1b2/0x281 lib/dump_stack.c:58 print_address_description.cold+0x54/0x1d3 mm/kasan/report.c:252 kasan_report_error.cold+0x8a/0x191 mm/kasan/report.c:351 kasan_report mm/kasan/report.c:409 [inline] __asan_report_load8_noabort+0x68/0x70 mm/kasan/report.c:430 ext4_inode_block_valid+0x33b/0x3b0 fs/ext4/block_validity.c:255 __check_block_validity.constprop.0+0x17a/0x2c0 fs/ext4/inode.c:423 ext4_map_blocks+0xc40/0x1730 fs/ext4/inode.c:612 ext4_getblk+0x314/0x3f0 fs/ext4/inode.c:992 ext4_bread_batch+0x7a/0x330 fs/ext4/inode.c:1062 ext4_find_entry+0x419/0xc80 fs/ext4/namei.c:1442 ext4_lookup fs/ext4/namei.c:1584 [inline] ext4_lookup+0x10c/0x580 fs/ext4/namei.c:1560 lookup_slow+0x20a/0x400 fs/namei.c:1696 walk_component+0x6a1/0xbc0 fs/namei.c:1825 link_path_walk+0x823/0x10a0 fs/namei.c:2154 path_openat+0x15e/0x2970 fs/namei.c:3568 do_filp_open+0x179/0x3c0 fs/namei.c:3603 do_sys_open+0x296/0x410 fs/open.c:1081 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x7f1682a006f0 RSP: 002b:00007ffd417b6b58 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 000055d5a895d060 RCX: 00007f1682a006f0 RDX: 00000000000001b6 RSI: 0000000000080000 RDI: 00007f16830187b7 RBP: 0000000000000008 R08: 0000000000000008 R09: 0000000000000001 R10: 0000000000080000 R11: 0000000000000246 R12: 00007f16830187b4 R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000000 Allocated by task 1: save_stack mm/kasan/kasan.c:447 [inline] set_track mm/kasan/kasan.c:459 [inline] kasan_kmalloc+0xeb/0x160 mm/kasan/kasan.c:551 kmem_cache_alloc+0x124/0x3c0 mm/slab.c:3552 add_system_zone+0x108/0x650 fs/ext4/block_validity.c:78 ext4_setup_system_zone+0x231/0x8c0 fs/ext4/block_validity.c:206 ext4_fill_super+0x62cc/0xb280 fs/ext4/super.c:4389 mount_bdev+0x2b3/0x360 fs/super.c:1134 mount_fs+0x92/0x2a0 fs/super.c:1237 vfs_kern_mount.part.0+0x5b/0x470 fs/namespace.c:1046 vfs_kern_mount fs/namespace.c:1036 [inline] do_new_mount fs/namespace.c:2549 [inline] do_mount+0xe53/0x2a00 fs/namespace.c:2879 SYSC_mount fs/namespace.c:3095 [inline] SyS_mount+0xa8/0x120 fs/namespace.c:3072 do_mount_root+0x30/0x1b0 init/do_mounts.c:366 mount_block_root+0x2bc/0x5a3 init/do_mounts.c:395 mount_root+0x1c4/0x1f3 init/do_mounts.c:540 prepare_namespace+0x1d6/0x212 init/do_mounts.c:599 kernel_init_freeable+0x5f7/0x614 init/main.c:1093 kernel_init+0xd/0x165 init/main.c:1000 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404 Freed by task 9531: save_stack mm/kasan/kasan.c:447 [inline] set_track mm/kasan/kasan.c:459 [inline] kasan_slab_free+0xc3/0x1a0 mm/kasan/kasan.c:524 __cache_free mm/slab.c:3496 [inline] kmem_cache_free+0x7c/0x2b0 mm/slab.c:3758 ext4_release_system_zone+0x79/0x110 fs/ext4/block_validity.c:230 ext4_setup_system_zone+0x3a9/0x8c0 fs/ext4/block_validity.c:188 ext4_remount+0xfa2/0x1df0 fs/ext4/super.c:5367 do_remount_sb+0x150/0x530 fs/super.c:868 do_remount fs/namespace.c:2370 [inline] do_mount+0x1632/0x2a00 fs/namespace.c:2870 SYSC_mount fs/namespace.c:3095 [inline] SyS_mount+0xa8/0x120 fs/namespace.c:3072 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb The buggy address belongs to the object at ffff8880a46b6d20 which belongs to the cache ext4_system_zone of size 40 The buggy address is located 24 bytes inside of 40-byte region [ffff8880a46b6d20, ffff8880a46b6d48) The buggy address belongs to the page: page:ffffea000291ad80 count:1 mapcount:0 mapping:ffff8880a46b6000 index:0xffff8880a46b6fb9 flags: 0xfff00000000100(slab) raw: 00fff00000000100 ffff8880a46b6000 ffff8880a46b6fb9 0000000100000003 raw: ffff8880b1129938 ffff8880b1129938 ffff8880b112ae40 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8880a46b6c00: fc fb fb fb fb fb fc fc fb fb fb fb fb fc fc fb ffff8880a46b6c80: fb fb fb fb fc fc fb fb fb fb fb fc fc fb fb fb >ffff8880a46b6d00: fb fb fc fc fb fb fb fb fb fc fc fb fb fb fb fb ^ ffff8880a46b6d80: fc fc fb fb fb fb fb fc fc fb fb fb fb fb fc fc ffff8880a46b6e00: fb fb fb fb fb fc fc fb fb fb fb fb fc fc fb fb ==================================================================