loop0: detected capacity change from 0 to 128 ======================================================= WARNING: The mand mount option has been deprecated and and is ignored by this kernel. Remove the mand option from the mount to silence this warning. ======================================================= hpfs: filesystem error: invalid number of hotfixes: 2066844986, used: 2066844985; going on - but anything won't be destroyed because it's read-only hpfs: filesystem error: improperly stopped hpfs: filesystem error: warning: spare dnodes used, try chkdsk hpfs: Proceeding, but your filesystem could be corrupted if you delete files or directories hpfs: You really don't want any checks? You are crazy... hpfs: hpfs_map_sector(): read error hpfs: code page support is disabled ================================================================== BUG: KASAN: slab-out-of-bounds in strcmp+0x6b/0xc0 lib/string.c:265 Read of size 1 at addr ffff88801385f8a6 by task syz.0.0/5354 CPU: 0 UID: 0 PID: 5354 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 print_address_description+0x55/0x1e0 mm/kasan/report.c:378 print_report+0x58/0x70 mm/kasan/report.c:482 kasan_report+0x117/0x150 mm/kasan/report.c:595 strcmp+0x6b/0xc0 lib/string.c:265 hpfs_get_ea+0x137/0xeb0 fs/hpfs/ea.c:139 hpfs_read_inode+0x1a9/0x1060 fs/hpfs/inode.c:63 hpfs_fill_super+0x127b/0x1fb0 fs/hpfs/super.c:652 get_tree_bdev_flags+0x436/0x500 fs/super.c:1821 vfs_get_tree+0x92/0x2a0 fs/super.c:1881 fc_mount fs/namespace.c:1282 [inline] do_new_mount_fc fs/namespace.c:3910 [inline] do_new_mount+0x325/0xb00 fs/namespace.c:3986 do_mount fs/namespace.c:4350 [inline] __do_sys_mount fs/namespace.c:4563 [inline] __se_sys_mount+0x31d/0x420 fs/namespace.c:4540 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x171/0x540 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fbaecfaa7fa Code: 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fbaede9ee18 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fbaede9eea0 RCX: 00007fbaecfaa7fa RDX: 000020000000a000 RSI: 0000200000009ec0 RDI: 00007fbaede9ee60 RBP: 000020000000a000 R08: 00007fbaede9eea0 R09: 0000000003a00041 R10: 0000000003a00041 R11: 0000000000000246 R12: 0000200000009ec0 R13: 00007fbaede9ee60 R14: 0000000000009e22 R15: 0000200000000000 Allocated by task 4718: kasan_save_stack mm/kasan/common.c:57 [inline] kasan_save_track+0x3f/0x90 mm/kasan/common.c:79 unpoison_slab_object mm/kasan/common.c:354 [inline] __kasan_slab_alloc+0x6c/0x80 mm/kasan/common.c:380 kasan_slab_alloc include/linux/kasan.h:257 [inline] slab_post_alloc_hook mm/slub.c:4720 [inline] slab_alloc_node mm/slub.c:5033 [inline] kmem_cache_alloc_noprof+0x2b4/0x600 mm/slub.c:5047 lsm_inode_alloc security/security.c:255 [inline] security_inode_alloc+0x39/0x310 security/security.c:1229 inode_init_always_gfp+0x97e/0xd30 fs/inode.c:298 inode_init_always include/linux/fs.h:2977 [inline] alloc_inode+0x82/0x1b0 fs/inode.c:345 iget_locked+0x12c/0x690 fs/inode.c:1494 kernfs_get_inode+0x4f/0x770 fs/kernfs/inode.c:250 kernfs_iop_lookup+0x1fe/0x320 fs/kernfs/dir.c:1272 __lookup_slow+0x1fb/0x2f0 fs/namei.c:1925 lookup_slow+0x59/0x80 fs/namei.c:1942 walk_component fs/namei.c:2288 [inline] lookup_last fs/namei.c:2795 [inline] path_lookupat+0x3f5/0x8c0 fs/namei.c:2819 filename_lookup+0x265/0x5d0 fs/namei.c:2848 do_readlinkat+0xe3/0x510 fs/stat.c:575 __do_sys_readlink fs/stat.c:609 [inline] __se_sys_readlink fs/stat.c:606 [inline] __x64_sys_readlink+0x7f/0x90 fs/stat.c:606 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x171/0x540 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f The buggy address belongs to the object at ffff88801385f850 which belongs to the cache lsm_inode_cache of size 80 The buggy address is located 6 bytes to the right of allocated 80-byte region [ffff88801385f850, ffff88801385f8a0) The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1385f flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) page_type: f5(slab) raw: 00fff00000000000 ffff888030411c80 dead000000000100 dead000000000122 raw: 0000000000000000 0000000200240024 00000000f5000000 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0xd2c40(GFP_NOFS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 4718, tgid 4718 (udevadm), ts 29365785423 set_page_owner include/linux/page_owner.h:33 [inline] post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1873 prep_new_page+0x22/0xb0 mm/page_alloc.c:1881 get_page_from_freelist+0x22a1/0x22e0 mm/page_alloc.c:3963 __alloc_frozen_pages_noprof+0x211/0x450 mm/page_alloc.c:5505 alloc_slab_page mm/slub.c:3384 [inline] allocate_slab+0x7d/0x5e0 mm/slub.c:3499 new_slab mm/slub.c:3550 [inline] refill_objects+0x2d5/0x350 mm/slub.c:7546 refill_sheaf mm/slub.c:2917 [inline] __pcs_replace_empty_main+0x2c8/0x6c0 mm/slub.c:4811 alloc_from_pcs mm/slub.c:4887 [inline] slab_alloc_node mm/slub.c:5021 [inline] kmem_cache_alloc_noprof+0x394/0x600 mm/slub.c:5047 lsm_inode_alloc security/security.c:255 [inline] security_inode_alloc+0x39/0x310 security/security.c:1229 inode_init_always_gfp+0x97e/0xd30 fs/inode.c:298 inode_init_always include/linux/fs.h:2977 [inline] alloc_inode+0x82/0x1b0 fs/inode.c:345 iget_locked+0x12c/0x690 fs/inode.c:1494 kernfs_get_inode+0x4f/0x770 fs/kernfs/inode.c:250 kernfs_iop_lookup+0x1fe/0x320 fs/kernfs/dir.c:1272 __lookup_slow+0x1fb/0x2f0 fs/namei.c:1925 lookup_slow+0x59/0x80 fs/namei.c:1942 page last free pid 4718 tgid 4718 ts 29363799087 stack trace: reset_page_owner include/linux/page_owner.h:26 [inline] __free_pages_prepare mm/page_alloc.c:1415 [inline] __free_frozen_pages+0xd1a/0xe10 mm/page_alloc.c:2971 __slab_free+0x269/0x2c0 mm/slub.c:5926 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x99/0x100 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x148/0x160 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x22/0x80 mm/kasan/common.c:364 kasan_slab_alloc include/linux/kasan.h:257 [inline] slab_post_alloc_hook mm/slub.c:4720 [inline] slab_alloc_node mm/slub.c:5033 [inline] kmem_cache_alloc_noprof+0x2b4/0x600 mm/slub.c:5047 alloc_filename fs/namei.c:147 [inline] do_getname+0x2e/0x250 fs/namei.c:187 class_filename_flags_constructor include/linux/fs.h:2598 [inline] do_readlinkat+0xc8/0x510 fs/stat.c:573 __do_sys_readlink fs/stat.c:609 [inline] __se_sys_readlink fs/stat.c:606 [inline] __x64_sys_readlink+0x7f/0x90 fs/stat.c:606 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x171/0x540 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f Memory state around the buggy address: ffff88801385f780: 00 00 00 00 00 00 00 00 fc fc fc fc 00 00 00 00 ffff88801385f800: 00 00 00 00 00 00 fc fc fc fc 00 00 00 00 00 00 >ffff88801385f880: 00 00 00 00 fc fc fc fc 00 00 00 00 00 00 00 00 ^ ffff88801385f900: 00 00 fc fc fc fc 00 00 00 00 00 00 00 00 00 00 ffff88801385f980: fc fc fc fc 00 00 00 00 00 00 00 00 00 00 fc fc ==================================================================