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 ffff8880347268a6 by task syz.8.418/7859 CPU: 1 UID: 0 PID: 7859 Comm: syz.8.418 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 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+0x1275/0x1fa0 fs/hpfs/super.c:652 get_tree_bdev_flags+0x430/0x4f0 fs/super.c:1872 vfs_get_tree+0x92/0x2a0 fs/super.c:1932 fc_mount fs/namespace.c:1198 [inline] do_new_mount_fc fs/namespace.c:3772 [inline] do_new_mount+0x319/0xdc0 fs/namespace.c:3848 do_mount fs/namespace.c:4181 [inline] __do_sys_mount fs/namespace.c:4394 [inline] __se_sys_mount+0x31d/0x420 fs/namespace.c:4371 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f7fac19f3ca 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:00007f7fad09ee58 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f7fad09eee0 RCX: 00007f7fac19f3ca RDX: 000020000000a000 RSI: 0000200000009ec0 RDI: 00007f7fad09eea0 RBP: 000020000000a000 R08: 00007f7fad09eee0 R09: 0000000003a00041 R10: 0000000003a00041 R11: 0000000000000246 R12: 0000200000009ec0 R13: 00007f7fad09eea0 R14: 0000000000009e22 R15: 0000200000000080 Allocated by task 5610: kasan_save_stack mm/kasan/common.c:57 [inline] kasan_save_track+0x3e/0x80 mm/kasan/common.c:78 poison_kmalloc_redzone mm/kasan/common.c:409 [inline] __kasan_kmalloc+0x93/0xb0 mm/kasan/common.c:426 kasan_kmalloc include/linux/kasan.h:263 [inline] __kmalloc_cache_noprof+0x31c/0x600 mm/slub.c:5599 _kmalloc_noprof include/linux/slab.h:991 [inline] _kzalloc_noprof include/linux/slab.h:1312 [inline] ipv6_add_dev+0x245/0x1400 net/ipv6/addrconf.c:390 addrconf_notify+0x771/0x1050 net/ipv6/addrconf.c:3689 notifier_call_chain+0x1a5/0x3d0 kernel/notifier.c:86 call_netdevice_notifiers_extack net/core/dev.c:2313 [inline] call_netdevice_notifiers net/core/dev.c:2327 [inline] register_netdevice+0x189f/0x1eb0 net/core/dev.c:11541 vxcan_newlink+0x486/0x720 drivers/net/can/vxcan.c:263 rtnl_newlink_create+0x305/0x7b0 net/core/rtnetlink.c:3996 __rtnl_newlink net/core/rtnetlink.c:4125 [inline] rtnl_newlink+0x167a/0x1c30 net/core/rtnetlink.c:4242 rtnetlink_rcv_msg+0x802/0xc00 net/core/rtnetlink.c:7159 netlink_rcv_skb+0x226/0x4a0 net/netlink/af_netlink.c:2572 netlink_unicast_kernel net/netlink/af_netlink.c:1335 [inline] netlink_unicast+0x7bd/0x940 net/netlink/af_netlink.c:1361 netlink_sendmsg+0x7c3/0xae0 net/netlink/af_netlink.c:1916 sock_sendmsg_nosec+0x13a/0x180 net/socket.c:800 __sock_sendmsg net/socket.c:815 [inline] __sys_sendto+0x408/0x5a0 net/socket.c:2280 __do_sys_sendto net/socket.c:2287 [inline] __se_sys_sendto net/socket.c:2283 [inline] __x64_sys_sendto+0xde/0x100 net/socket.c:2283 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f The buggy address belongs to the object at ffff888034726000 which belongs to the cache kmalloc-cg-2k of size 2048 The buggy address is located 302 bytes to the right of allocated 1912-byte region [ffff888034726000, ffff888034726778) The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888034720000 pfn:0x34720 head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 memcg:ffff88801b1acb01 flags: 0xfff00000000240(workingset|head|node=0|zone=1|lastcpupid=0x7ff) page_type: f5(slab) raw: 00fff00000000240 ffff88801b04b3c0 ffffea0001f69210 ffffea0001f87010 raw: ffff888034720000 0000000200080007 00000000f5000000 ffff88801b1acb01 head: 00fff00000000240 ffff88801b04b3c0 ffffea0001f69210 ffffea0001f87010 head: ffff888034720000 0000000200080007 00000000f5000000 ffff88801b1acb01 head: 00fff00000000003 fffffffffffffe01 00000000ffffffff 00000000ffffffff head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000008 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 3, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 5614, tgid 5614 (syz-executor), ts 80957267034 set_page_owner include/linux/page_owner.h:33 [inline] post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1854 prep_new_page mm/page_alloc.c:1862 [inline] get_page_from_freelist+0x2209/0x2280 mm/page_alloc.c:3933 __alloc_frozen_pages_noprof+0x1fc/0x400 mm/page_alloc.c:5441 alloc_slab_page mm/slub.c:3378 [inline] allocate_slab+0x7d/0x620 mm/slub.c:3493 new_slab mm/slub.c:3544 [inline] refill_objects+0x2d5/0x350 mm/slub.c:7457 refill_sheaf mm/slub.c:2916 [inline] __pcs_replace_empty_main+0x2c8/0x6c0 mm/slub.c:4805 alloc_from_pcs mm/slub.c:4881 [inline] slab_alloc_node mm/slub.c:5015 [inline] __kmalloc_cache_noprof+0x396/0x600 mm/slub.c:5595 _kmalloc_noprof include/linux/slab.h:991 [inline] _kzalloc_noprof include/linux/slab.h:1312 [inline] ipv6_add_dev+0x245/0x1400 net/ipv6/addrconf.c:390 addrconf_notify+0x771/0x1050 net/ipv6/addrconf.c:3689 notifier_call_chain+0x1a5/0x3d0 kernel/notifier.c:86 call_netdevice_notifiers_extack net/core/dev.c:2313 [inline] call_netdevice_notifiers net/core/dev.c:2327 [inline] register_netdevice+0x189f/0x1eb0 net/core/dev.c:11541 veth_newlink+0x6a0/0xdc0 drivers/net/veth.c:1899 rtnl_newlink_create+0x305/0x7b0 net/core/rtnetlink.c:3996 __rtnl_newlink net/core/rtnetlink.c:4125 [inline] rtnl_newlink+0x167a/0x1c30 net/core/rtnetlink.c:4242 rtnetlink_rcv_msg+0x802/0xc00 net/core/rtnetlink.c:7159 netlink_rcv_skb+0x226/0x4a0 net/netlink/af_netlink.c:2572 page last free pid 5506 tgid 5506 ts 64560992660 stack trace: reset_page_owner include/linux/page_owner.h:26 [inline] __free_pages_prepare mm/page_alloc.c:1401 [inline] __free_frozen_pages+0xc93/0xd90 mm/page_alloc.c:2952 __slab_free+0x269/0x2c0 mm/slub.c:5845 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:361 kasan_slab_alloc include/linux/kasan.h:253 [inline] slab_post_alloc_hook mm/slub.c:4714 [inline] slab_alloc_node mm/slub.c:5027 [inline] __do_kmalloc_node mm/slub.c:5449 [inline] __kmalloc_noprof+0x302/0x710 mm/slub.c:5475 _kmalloc_noprof include/linux/slab.h:995 [inline] tomoyo_realpath_from_path+0xef/0x640 security/tomoyo/realpath.c:251 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_path_perm+0x283/0x560 security/tomoyo/file.c:827 security_inode_getattr+0x12b/0x310 security/security.c:1942 vfs_getattr fs/stat.c:259 [inline] vfs_fstat fs/stat.c:281 [inline] __do_sys_newfstat fs/stat.c:551 [inline] __se_sys_newfstat+0x133/0x440 fs/stat.c:546 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f Memory state around the buggy address: ffff888034726780: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff888034726800: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff888034726880: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff888034726900: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff888034726980: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ==================================================================