hpfs: filesystem error: warning: spare dnodes used, try chkdsk
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: use-after-free in strcmp+0xa7/0xb0 lib/string.c:283
Read of size 1 at addr ffff88804c0b6000 by task syz.5.2772/21417
CPU: 1 UID: 0 PID: 21417 Comm: syz.5.2772 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120
print_address_description mm/kasan/report.c:378 [inline]
print_report+0xcd/0x630 mm/kasan/report.c:482
kasan_report+0xe0/0x110 mm/kasan/report.c:595
strcmp+0xa7/0xb0 lib/string.c:283
hpfs_get_ea+0x1f9/0xc90 fs/hpfs/ea.c:139
hpfs_read_inode+0x69e/0x1270 fs/hpfs/inode.c:63
hpfs_fill_super+0x13e9/0x2230 fs/hpfs/super.c:651
get_tree_bdev_flags+0x38c/0x620 fs/super.c:1691
vfs_get_tree+0x8e/0x330 fs/super.c:1751
fc_mount fs/namespace.c:1199 [inline]
do_new_mount_fc fs/namespace.c:3636 [inline]
do_new_mount fs/namespace.c:3712 [inline]
path_mount+0x7bf/0x23a0 fs/namespace.c:4022
do_mount fs/namespace.c:4035 [inline]
__do_sys_mount fs/namespace.c:4224 [inline]
__se_sys_mount fs/namespace.c:4201 [inline]
__x64_sys_mount+0x293/0x310 fs/namespace.c:4201
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xcd/0xf80 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f8a8f390eea
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f8a901b0e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f8a901b0ef0 RCX: 00007f8a8f390eea
RDX: 000020000000a000 RSI: 0000200000009ec0 RDI: 00007f8a901b0eb0
RBP: 000020000000a000 R08: 00007f8a901b0ef0 R09: 0000000001200041
R10: 0000000001200041 R11: 0000000000000246 R12: 0000200000009ec0
R13: 00007f8a901b0eb0 R14: 0000000000009e15 R15: 0000200000000000
The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x2e5 pfn:0x4c0b6
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 ffffea0001302dc8 ffffea00014148c8 0000000000000000
raw: 00000000000002e5 0000000000000000 00000000ffffffff 0000000000000000
page dumped because: kasan: bad access detected
page_owner tracks the page as freed
page last allocated via order 0, migratetype Movable, gfp_mask 0x140cca(GFP_HIGHUSER_MOVABLE|__GFP_COMP), pid 21303, tgid 21301 (syz.6.2749), ts 1654133736795, free_ts 1662755440711
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1af/0x220 mm/page_alloc.c:1846
prep_new_page mm/page_alloc.c:1854 [inline]
get_page_from_freelist+0xd0b/0x31a0 mm/page_alloc.c:3915
__alloc_frozen_pages_noprof+0x25f/0x2430 mm/page_alloc.c:5210
alloc_pages_mpol+0x1fb/0x550 mm/mempolicy.c:2486
folio_alloc_mpol_noprof+0x36/0x2f0 mm/mempolicy.c:2505
shmem_alloc_folio+0x135/0x160 mm/shmem.c:1890
shmem_alloc_and_add_folio+0x494/0xc20 mm/shmem.c:1932
shmem_get_folio_gfp+0x67f/0x1610 mm/shmem.c:2556
shmem_fault+0x1fe/0xa00 mm/shmem.c:2757
__do_fault+0x10d/0x490 mm/memory.c:5320
do_read_fault mm/memory.c:5755 [inline]
do_fault+0xae4/0x1ad0 mm/memory.c:5889
do_pte_missing mm/memory.c:4401 [inline]
handle_pte_fault mm/memory.c:6273 [inline]
__handle_mm_fault+0x1919/0x2bb0 mm/memory.c:6411
handle_mm_fault+0x3fe/0xad0 mm/memory.c:6580
faultin_page mm/gup.c:1126 [inline]
__get_user_pages+0x54e/0x3590 mm/gup.c:1428
populate_vma_page_range+0x267/0x3f0 mm/gup.c:1860
__mm_populate+0x1d8/0x380 mm/gup.c:1963
page last free pid 21307 tgid 21301 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1395 [inline]
free_unref_folios+0xa22/0x1610 mm/page_alloc.c:3000
folios_put_refs+0x4be/0x750 mm/swap.c:1002
folio_batch_release include/linux/pagevec.h:101 [inline]
shmem_undo_range+0x58f/0x1140 mm/shmem.c:1137
shmem_truncate_range mm/shmem.c:1249 [inline]
shmem_evict_inode+0x39e/0xbe0 mm/shmem.c:1379
evict+0x3c2/0xad0 fs/inode.c:837
iput_final fs/inode.c:1951 [inline]
iput.part.0+0x621/0x1190 fs/inode.c:2003
iput+0x35/0x40 fs/inode.c:1966
dentry_unlink_inode+0x29c/0x480 fs/dcache.c:467
__dentry_kill+0x1d0/0x600 fs/dcache.c:670
finish_dput+0x76/0x480 fs/dcache.c:879
dput.part.0+0x451/0x570 fs/dcache.c:928
dput+0x1f/0x30 fs/dcache.c:920
__fput+0x51c/0xb70 fs/file_table.c:476
task_work_run+0x150/0x240 kernel/task_work.c:233
exit_task_work include/linux/task_work.h:40 [inline]
do_exit+0x87f/0x2bd0 kernel/exit.c:971
do_group_exit+0xd3/0x2a0 kernel/exit.c:1112
Memory state around the buggy address:
ffff88804c0b5f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ffff88804c0b5f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffff88804c0b6000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
^
ffff88804c0b6080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ffff88804c0b6100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
==================================================================
==================================================================
BUG: KASAN: use-after-free in strcmp+0xa7/0xb0 lib/string.c:283
Read of size 1 at addr ffff88804c0b6005 by task syz.5.2772/21417
CPU: 1 UID: 0 PID: 21417 Comm: syz.5.2772 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120
print_address_description mm/kasan/report.c:378 [inline]
print_report+0xcd/0x630 mm/kasan/report.c:482
kasan_report+0xe0/0x110 mm/kasan/report.c:595
strcmp+0xa7/0xb0 lib/string.c:283
hpfs_get_ea+0x1f9/0xc90 fs/hpfs/ea.c:139
hpfs_read_inode+0x69e/0x1270 fs/hpfs/inode.c:63
hpfs_fill_super+0x13e9/0x2230 fs/hpfs/super.c:651
get_tree_bdev_flags+0x38c/0x620 fs/super.c:1691
vfs_get_tree+0x8e/0x330 fs/super.c:1751
fc_mount fs/namespace.c:1199 [inline]
do_new_mount_fc fs/namespace.c:3636 [inline]
do_new_mount fs/namespace.c:3712 [inline]
path_mount+0x7bf/0x23a0 fs/namespace.c:4022
do_mount fs/namespace.c:4035 [inline]
__do_sys_mount fs/namespace.c:4224 [inline]
__se_sys_mount fs/namespace.c:4201 [inline]
__x64_sys_mount+0x293/0x310 fs/namespace.c:4201
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xcd/0xf80 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f8a8f390eea
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f8a901b0e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f8a901b0ef0 RCX: 00007f8a8f390eea
RDX: 000020000000a000 RSI: 0000200000009ec0 RDI: 00007f8a901b0eb0
RBP: 000020000000a000 R08: 00007f8a901b0ef0 R09: 0000000001200041
R10: 0000000001200041 R11: 0000000000000246 R12: 0000200000009ec0
R13: 00007f8a901b0eb0 R14: 0000000000009e15 R15: 0000200000000000
The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x2e5 pfn:0x4c0b6
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 ffffea0001302dc8 ffffea00014148c8 0000000000000000
raw: 00000000000002e5 0000000000000000 00000000ffffffff 0000000000000000
page dumped because: kasan: bad access detected
page_owner tracks the page as freed
page last allocated via order 0, migratetype Movable, gfp_mask 0x140cca(GFP_HIGHUSER_MOVABLE|__GFP_COMP), pid 21303, tgid 21301 (syz.6.2749), ts 1654133736795, free_ts 1662755440711
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1af/0x220 mm/page_alloc.c:1846
prep_new_page mm/page_alloc.c:1854 [inline]
get_page_from_freelist+0xd0b/0x31a0 mm/page_alloc.c:3915
__alloc_frozen_pages_noprof+0x25f/0x2430 mm/page_alloc.c:5210
alloc_pages_mpol+0x1fb/0x550 mm/mempolicy.c:2486
folio_alloc_mpol_noprof+0x36/0x2f0 mm/mempolicy.c:2505
shmem_alloc_folio+0x135/0x160 mm/shmem.c:1890
shmem_alloc_and_add_folio+0x494/0xc20 mm/shmem.c:1932
shmem_get_folio_gfp+0x67f/0x1610 mm/shmem.c:2556
shmem_fault+0x1fe/0xa00 mm/shmem.c:2757
__do_fault+0x10d/0x490 mm/memory.c:5320
do_read_fault mm/memory.c:5755 [inline]
do_fault+0xae4/0x1ad0 mm/memory.c:5889
do_pte_missing mm/memory.c:4401 [inline]
handle_pte_fault mm/memory.c:6273 [inline]
__handle_mm_fault+0x1919/0x2bb0 mm/memory.c:6411
handle_mm_fault+0x3fe/0xad0 mm/memory.c:6580
faultin_page mm/gup.c:1126 [inline]
__get_user_pages+0x54e/0x3590 mm/gup.c:1428
populate_vma_page_range+0x267/0x3f0 mm/gup.c:1860
__mm_populate+0x1d8/0x380 mm/gup.c:1963
page last free pid 21307 tgid 21301 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1395 [inline]
free_unref_folios+0xa22/0x1610 mm/page_alloc.c:3000
folios_put_refs+0x4be/0x750 mm/swap.c:1002
folio_batch_release include/linux/pagevec.h:101 [inline]
shmem_undo_range+0x58f/0x1140 mm/shmem.c:1137
shmem_truncate_range mm/shmem.c:1249 [inline]
shmem_evict_inode+0x39e/0xbe0 mm/shmem.c:1379
evict+0x3c2/0xad0 fs/inode.c:837
iput_final fs/inode.c:1951 [inline]
iput.part.0+0x621/0x1190 fs/inode.c:2003
iput+0x35/0x40 fs/inode.c:1966
dentry_unlink_inode+0x29c/0x480 fs/dcache.c:467
__dentry_kill+0x1d0/0x600 fs/dcache.c:670
finish_dput+0x76/0x480 fs/dcache.c:879
dput.part.0+0x451/0x570 fs/dcache.c:928
dput+0x1f/0x30 fs/dcache.c:920
__fput+0x51c/0xb70 fs/file_table.c:476
task_work_run+0x150/0x240 kernel/task_work.c:233
exit_task_work include/linux/task_work.h:40 [inline]
do_exit+0x87f/0x2bd0 kernel/exit.c:971
do_group_exit+0xd3/0x2a0 kernel/exit.c:1112
Memory state around the buggy address:
ffff88804c0b5f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ffff88804c0b5f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffff88804c0b6000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
^
ffff88804c0b6080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ffff88804c0b6100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
==================================================================
==================================================================
BUG: KASAN: use-after-free in next_ea fs/hpfs/hpfs_fn.h:152 [inline]
BUG: KASAN: use-after-free in hpfs_get_ea+0xb51/0xc90 fs/hpfs/ea.c:138
Read of size 1 at addr ffff88804c0b6002 by task syz.5.2772/21417
CPU: 0 UID: 0 PID: 21417 Comm: syz.5.2772 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120
print_address_description mm/kasan/report.c:378 [inline]
print_report+0xcd/0x630 mm/kasan/report.c:482
kasan_report+0xe0/0x110 mm/kasan/report.c:595
next_ea fs/hpfs/hpfs_fn.h:152 [inline]
hpfs_get_ea+0xb51/0xc90 fs/hpfs/ea.c:138
hpfs_read_inode+0x69e/0x1270 fs/hpfs/inode.c:63
hpfs_fill_super+0x13e9/0x2230 fs/hpfs/super.c:651
get_tree_bdev_flags+0x38c/0x620 fs/super.c:1691
vfs_get_tree+0x8e/0x330 fs/super.c:1751
fc_mount fs/namespace.c:1199 [inline]
do_new_mount_fc fs/namespace.c:3636 [inline]
do_new_mount fs/namespace.c:3712 [inline]
path_mount+0x7bf/0x23a0 fs/namespace.c:4022
do_mount fs/namespace.c:4035 [inline]
__do_sys_mount fs/namespace.c:4224 [inline]
__se_sys_mount fs/namespace.c:4201 [inline]
__x64_sys_mount+0x293/0x310 fs/namespace.c:4201
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xcd/0xf80 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f8a8f390eea
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f8a901b0e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f8a901b0ef0 RCX: 00007f8a8f390eea
RDX: 000020000000a000 RSI: 0000200000009ec0 RDI: 00007f8a901b0eb0
RBP: 000020000000a000 R08: 00007f8a901b0ef0 R09: 0000000001200041
R10: 0000000001200041 R11: 0000000000000246 R12: 0000200000009ec0
R13: 00007f8a901b0eb0 R14: 0000000000009e15 R15: 0000200000000000
The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x2e5 pfn:0x4c0b6
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 ffffea0001302dc8 ffffea00014148c8 0000000000000000
raw: 00000000000002e5 0000000000000000 00000000ffffffff 0000000000000000
page dumped because: kasan: bad access detected
page_owner tracks the page as freed
page last allocated via order 0, migratetype Movable, gfp_mask 0x140cca(GFP_HIGHUSER_MOVABLE|__GFP_COMP), pid 21303, tgid 21301 (syz.6.2749), ts 1654133736795, free_ts 1662755440711
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1af/0x220 mm/page_alloc.c:1846
prep_new_page mm/page_alloc.c:1854 [inline]
get_page_from_freelist+0xd0b/0x31a0 mm/page_alloc.c:3915
__alloc_frozen_pages_noprof+0x25f/0x2430 mm/page_alloc.c:5210
alloc_pages_mpol+0x1fb/0x550 mm/mempolicy.c:2486
folio_alloc_mpol_noprof+0x36/0x2f0 mm/mempolicy.c:2505
shmem_alloc_folio+0x135/0x160 mm/shmem.c:1890
shmem_alloc_and_add_folio+0x494/0xc20 mm/shmem.c:1932
shmem_get_folio_gfp+0x67f/0x1610 mm/shmem.c:2556
shmem_fault+0x1fe/0xa00 mm/shmem.c:2757
__do_fault+0x10d/0x490 mm/memory.c:5320
do_read_fault mm/memory.c:5755 [inline]
do_fault+0xae4/0x1ad0 mm/memory.c:5889
do_pte_missing mm/memory.c:4401 [inline]
handle_pte_fault mm/memory.c:6273 [inline]
__handle_mm_fault+0x1919/0x2bb0 mm/memory.c:6411
handle_mm_fault+0x3fe/0xad0 mm/memory.c:6580
faultin_page mm/gup.c:1126 [inline]
__get_user_pages+0x54e/0x3590 mm/gup.c:1428
populate_vma_page_range+0x267/0x3f0 mm/gup.c:1860
__mm_populate+0x1d8/0x380 mm/gup.c:1963
page last free pid 21307 tgid 21301 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1395 [inline]
free_unref_folios+0xa22/0x1610 mm/page_alloc.c:3000
folios_put_refs+0x4be/0x750 mm/swap.c:1002
folio_batch_release include/linux/pagevec.h:101 [inline]
shmem_undo_range+0x58f/0x1140 mm/shmem.c:1137
shmem_truncate_range mm/shmem.c:1249 [inline]
shmem_evict_inode+0x39e/0xbe0 mm/shmem.c:1379
evict+0x3c2/0xad0 fs/inode.c:837
iput_final fs/inode.c:1951 [inline]
iput.part.0+0x621/0x1190 fs/inode.c:2003
iput+0x35/0x40 fs/inode.c:1966
dentry_unlink_inode+0x29c/0x480 fs/dcache.c:467
__dentry_kill+0x1d0/0x600 fs/dcache.c:670
finish_dput+0x76/0x480 fs/dcache.c:879
dput.part.0+0x451/0x570 fs/dcache.c:928
dput+0x1f/0x30 fs/dcache.c:920
__fput+0x51c/0xb70 fs/file_table.c:476
task_work_run+0x150/0x240 kernel/task_work.c:233
exit_task_work include/linux/task_work.h:40 [inline]
do_exit+0x87f/0x2bd0 kernel/exit.c:971
do_group_exit+0xd3/0x2a0 kernel/exit.c:1112
Memory state around the buggy address:
ffff88804c0b5f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ffff88804c0b5f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffff88804c0b6000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
^
ffff88804c0b6080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ffff88804c0b6100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
==================================================================
==================================================================
BUG: KASAN: use-after-free in ea_valuelen fs/hpfs/hpfs_fn.h:147 [inline]
BUG: KASAN: use-after-free in next_ea fs/hpfs/hpfs_fn.h:152 [inline]
BUG: KASAN: use-after-free in hpfs_get_ea+0xb42/0xc90 fs/hpfs/ea.c:138
Read of size 1 at addr ffff88804c0b6003 by task syz.5.2772/21417
CPU: 1 UID: 0 PID: 21417 Comm: syz.5.2772 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120
print_address_description mm/kasan/report.c:378 [inline]
print_report+0xcd/0x630 mm/kasan/report.c:482
kasan_report+0xe0/0x110 mm/kasan/report.c:595
ea_valuelen fs/hpfs/hpfs_fn.h:147 [inline]
next_ea fs/hpfs/hpfs_fn.h:152 [inline]
hpfs_get_ea+0xb42/0xc90 fs/hpfs/ea.c:138
hpfs_read_inode+0x69e/0x1270 fs/hpfs/inode.c:63
hpfs_fill_super+0x13e9/0x2230 fs/hpfs/super.c:651
get_tree_bdev_flags+0x38c/0x620 fs/super.c:1691
vfs_get_tree+0x8e/0x330 fs/super.c:1751
fc_mount fs/namespace.c:1199 [inline]
do_new_mount_fc fs/namespace.c:3636 [inline]
do_new_mount fs/namespace.c:3712 [inline]
path_mount+0x7bf/0x23a0 fs/namespace.c:4022
do_mount fs/namespace.c:4035 [inline]
__do_sys_mount fs/namespace.c:4224 [inline]
__se_sys_mount fs/namespace.c:4201 [inline]
__x64_sys_mount+0x293/0x310 fs/namespace.c:4201
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xcd/0xf80 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f8a8f390eea
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f8a901b0e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f8a901b0ef0 RCX: 00007f8a8f390eea
RDX: 000020000000a000 RSI: 0000200000009ec0 RDI: 00007f8a901b0eb0
RBP: 000020000000a000 R08: 00007f8a901b0ef0 R09: 0000000001200041
R10: 0000000001200041 R11: 0000000000000246 R12: 0000200000009ec0
R13: 00007f8a901b0eb0 R14: 0000000000009e15 R15: 0000200000000000
The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x2e5 pfn:0x4c0b6
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 ffffea0001302dc8 ffffea00014148c8 0000000000000000
raw: 00000000000002e5 0000000000000000 00000000ffffffff 0000000000000000
page dumped because: kasan: bad access detected
page_owner tracks the page as freed
page last allocated via order 0, migratetype Movable, gfp_mask 0x140cca(GFP_HIGHUSER_MOVABLE|__GFP_COMP), pid 21303, tgid 21301 (syz.6.2749), ts 1654133736795, free_ts 1662755440711
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1af/0x220 mm/page_alloc.c:1846
prep_new_page mm/page_alloc.c:1854 [inline]
get_page_from_freelist+0xd0b/0x31a0 mm/page_alloc.c:3915
__alloc_frozen_pages_noprof+0x25f/0x2430 mm/page_alloc.c:5210
alloc_pages_mpol+0x1fb/0x550 mm/mempolicy.c:2486
folio_alloc_mpol_noprof+0x36/0x2f0 mm/mempolicy.c:2505
shmem_alloc_folio+0x135/0x160 mm/shmem.c:1890
shmem_alloc_and_add_folio+0x494/0xc20 mm/shmem.c:1932
shmem_get_folio_gfp+0x67f/0x1610 mm/shmem.c:2556
shmem_fault+0x1fe/0xa00 mm/shmem.c:2757
__do_fault+0x10d/0x490 mm/memory.c:5320
do_read_fault mm/memory.c:5755 [inline]
do_fault+0xae4/0x1ad0 mm/memory.c:5889
do_pte_missing mm/memory.c:4401 [inline]
handle_pte_fault mm/memory.c:6273 [inline]
__handle_mm_fault+0x1919/0x2bb0 mm/memory.c:6411
handle_mm_fault+0x3fe/0xad0 mm/memory.c:6580
faultin_page mm/gup.c:1126 [inline]
__get_user_pages+0x54e/0x3590 mm/gup.c:1428
populate_vma_page_range+0x267/0x3f0 mm/gup.c:1860
__mm_populate+0x1d8/0x380 mm/gup.c:1963
page last free pid 21307 tgid 21301 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1395 [inline]
free_unref_folios+0xa22/0x1610 mm/page_alloc.c:3000
folios_put_refs+0x4be/0x750 mm/swap.c:1002
folio_batch_release include/linux/pagevec.h:101 [inline]
shmem_undo_range+0x58f/0x1140 mm/shmem.c:1137
shmem_truncate_range mm/shmem.c:1249 [inline]
shmem_evict_inode+0x39e/0xbe0 mm/shmem.c:1379
evict+0x3c2/0xad0 fs/inode.c:837
iput_final fs/inode.c:1951 [inline]
iput.part.0+0x621/0x1190 fs/inode.c:2003
iput+0x35/0x40 fs/inode.c:1966
dentry_unlink_inode+0x29c/0x480 fs/dcache.c:467
__dentry_kill+0x1d0/0x600 fs/dcache.c:670
finish_dput+0x76/0x480 fs/dcache.c:879
dput.part.0+0x451/0x570 fs/dcache.c:928
dput+0x1f/0x30 fs/dcache.c:920
__fput+0x51c/0xb70 fs/file_table.c:476
task_work_run+0x150/0x240 kernel/task_work.c:233
exit_task_work include/linux/task_work.h:40 [inline]
do_exit+0x87f/0x2bd0 kernel/exit.c:971
do_group_exit+0xd3/0x2a0 kernel/exit.c:1112
Memory state around the buggy address:
ffff88804c0b5f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ffff88804c0b5f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffff88804c0b6000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
^
ffff88804c0b6080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ffff88804c0b6100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
==================================================================
==================================================================
BUG: KASAN: use-after-free in ea_valuelen fs/hpfs/hpfs_fn.h:147 [inline]
BUG: KASAN: use-after-free in next_ea fs/hpfs/hpfs_fn.h:152 [inline]
BUG: KASAN: use-after-free in hpfs_get_ea+0xb64/0xc90 fs/hpfs/ea.c:138
Read of size 1 at addr ffff88804c0b6004 by task syz.5.2772/21417
CPU: 0 UID: 0 PID: 21417 Comm: syz.5.2772 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120
print_address_description mm/kasan/report.c:378 [inline]
print_report+0xcd/0x630 mm/kasan/report.c:482
kasan_report+0xe0/0x110 mm/kasan/report.c:595
ea_valuelen fs/hpfs/hpfs_fn.h:147 [inline]
next_ea fs/hpfs/hpfs_fn.h:152 [inline]
hpfs_get_ea+0xb64/0xc90 fs/hpfs/ea.c:138
hpfs_read_inode+0x69e/0x1270 fs/hpfs/inode.c:63
hpfs_fill_super+0x13e9/0x2230 fs/hpfs/super.c:651
get_tree_bdev_flags+0x38c/0x620 fs/super.c:1691
vfs_get_tree+0x8e/0x330 fs/super.c:1751
fc_mount fs/namespace.c:1199 [inline]
do_new_mount_fc fs/namespace.c:3636 [inline]
do_new_mount fs/namespace.c:3712 [inline]
path_mount+0x7bf/0x23a0 fs/namespace.c:4022
do_mount fs/namespace.c:4035 [inline]
__do_sys_mount fs/namespace.c:4224 [inline]
__se_sys_mount fs/namespace.c:4201 [inline]
__x64_sys_mount+0x293/0x310 fs/namespace.c:4201
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xcd/0xf80 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f8a8f390eea
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f8a901b0e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f8a901b0ef0 RCX: 00007f8a8f390eea
RDX: 000020000000a000 RSI: 0000200000009ec0 RDI: 00007f8a901b0eb0
RBP: 000020000000a000 R08: 00007f8a901b0ef0 R09: 0000000001200041
R10: 0000000001200041 R11: 0000000000000246 R12: 0000200000009ec0
R13: 00007f8a901b0eb0 R14: 0000000000009e15 R15: 0000200000000000
The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x2e5 pfn:0x4c0b6
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 ffffea0001302dc8 ffffea00012e6b48 0000000000000000
raw: 00000000000002e5 0000000000000000 00000000ffffffff 0000000000000000
page dumped because: kasan: bad access detected
page_owner tracks the page as freed
page last allocated via order 0, migratetype Movable, gfp_mask 0x140cca(GFP_HIGHUSER_MOVABLE|__GFP_COMP), pid 21303, tgid 21301 (syz.6.2749), ts 1654133736795, free_ts 1662755440711
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1af/0x220 mm/page_alloc.c:1846
prep_new_page mm/page_alloc.c:1854 [inline]
get_page_from_freelist+0xd0b/0x31a0 mm/page_alloc.c:3915
__alloc_frozen_pages_noprof+0x25f/0x2430 mm/page_alloc.c:5210
alloc_pages_mpol+0x1fb/0x550 mm/mempolicy.c:2486
folio_alloc_mpol_noprof+0x36/0x2f0 mm/mempolicy.c:2505
shmem_alloc_folio+0x135/0x160 mm/shmem.c:1890
shmem_alloc_and_add_folio+0x494/0xc20 mm/shmem.c:1932
shmem_get_folio_gfp+0x67f/0x1610 mm/shmem.c:2556
shmem_fault+0x1fe/0xa00 mm/shmem.c:2757
__do_fault+0x10d/0x490 mm/memory.c:5320
do_read_fault mm/memory.c:5755 [inline]
do_fault+0xae4/0x1ad0 mm/memory.c:5889
do_pte_missing mm/memory.c:4401 [inline]
handle_pte_fault mm/memory.c:6273 [inline]
__handle_mm_fault+0x1919/0x2bb0 mm/memory.c:6411
handle_mm_fault+0x3fe/0xad0 mm/memory.c:6580
faultin_page mm/gup.c:1126 [inline]
__get_user_pages+0x54e/0x3590 mm/gup.c:1428
populate_vma_page_range+0x267/0x3f0 mm/gup.c:1860
__mm_populate+0x1d8/0x380 mm/gup.c:1963
page last free pid 21307 tgid 21301 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1395 [inline]
free_unref_folios+0xa22/0x1610 mm/page_alloc.c:3000
folios_put_refs+0x4be/0x750 mm/swap.c:1002
folio_batch_release include/linux/pagevec.h:101 [inline]
shmem_undo_range+0x58f/0x1140 mm/shmem.c:1137
shmem_truncate_range mm/shmem.c:1249 [inline]
shmem_evict_inode+0x39e/0xbe0 mm/shmem.c:1379
evict+0x3c2/0xad0 fs/inode.c:837
iput_final fs/inode.c:1951 [inline]
iput.part.0+0x621/0x1190 fs/inode.c:2003
iput+0x35/0x40 fs/inode.c:1966
dentry_unlink_inode+0x29c/0x480 fs/dcache.c:467
__dentry_kill+0x1d0/0x600 fs/dcache.c:670
finish_dput+0x76/0x480 fs/dcache.c:879
dput.part.0+0x451/0x570 fs/dcache.c:928
dput+0x1f/0x30 fs/dcache.c:920
__fput+0x51c/0xb70 fs/file_table.c:476
task_work_run+0x150/0x240 kernel/task_work.c:233
exit_task_work include/linux/task_work.h:40 [inline]
do_exit+0x87f/0x2bd0 kernel/exit.c:971
do_group_exit+0xd3/0x2a0 kernel/exit.c:1112
Memory state around the buggy address:
ffff88804c0b5f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ffff88804c0b5f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffff88804c0b6000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
^
ffff88804c0b6080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ffff88804c0b6100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
==================================================================
==================================================================
BUG: KASAN: use-after-free in strcmp+0xa7/0xb0 lib/string.c:283
Read of size 1 at addr ffff88804c0b600a by task syz.5.2772/21417
CPU: 1 UID: 0 PID: 21417 Comm: syz.5.2772 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120
print_address_description mm/kasan/report.c:378 [inline]
print_report+0xcd/0x630 mm/kasan/report.c:482
kasan_report+0xe0/0x110 mm/kasan/report.c:595
strcmp+0xa7/0xb0 lib/string.c:283
hpfs_get_ea+0x1f9/0xc90 fs/hpfs/ea.c:139
hpfs_read_inode+0x69e/0x1270 fs/hpfs/inode.c:63
hpfs_fill_super+0x13e9/0x2230 fs/hpfs/super.c:651
get_tree_bdev_flags+0x38c/0x620 fs/super.c:1691
vfs_get_tree+0x8e/0x330 fs/super.c:1751
fc_mount fs/namespace.c:1199 [inline]
do_new_mount_fc fs/namespace.c:3636 [inline]
do_new_mount fs/namespace.c:3712 [inline]
path_mount+0x7bf/0x23a0 fs/namespace.c:4022
do_mount fs/namespace.c:4035 [inline]
__do_sys_mount fs/namespace.c:4224 [inline]
__se_sys_mount fs/namespace.c:4201 [inline]
__x64_sys_mount+0x293/0x310 fs/namespace.c:4201
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xcd/0xf80 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f8a8f390eea
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f8a901b0e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f8a901b0ef0 RCX: 00007f8a8f390eea
RDX: 000020000000a000 RSI: 0000200000009ec0 RDI: 00007f8a901b0eb0
RBP: 000020000000a000 R08: 00007f8a901b0ef0 R09: 0000000001200041
R10: 0000000001200041 R11: 0000000000000246 R12: 0000200000009ec0
R13: 00007f8a901b0eb0 R14: 0000000000009e15 R15: 0000200000000000
The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x2e5 pfn:0x4c0b6
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 ffffea0001302dc8 ffffea00012e6b48 0000000000000000
raw: 00000000000002e5 0000000000000000 00000000ffffffff 0000000000000000
page dumped because: kasan: bad access detected
page_owner tracks the page as freed
page last allocated via order 0, migratetype Movable, gfp_mask 0x140cca(GFP_HIGHUSER_MOVABLE|__GFP_COMP), pid 21303, tgid 21301 (syz.6.2749), ts 1654133736795, free_ts 1662755440711
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1af/0x220 mm/page_alloc.c:1846
prep_new_page mm/page_alloc.c:1854 [inline]
get_page_from_freelist+0xd0b/0x31a0 mm/page_alloc.c:3915
__alloc_frozen_pages_noprof+0x25f/0x2430 mm/page_alloc.c:5210
alloc_pages_mpol+0x1fb/0x550 mm/mempolicy.c:2486
folio_alloc_mpol_noprof+0x36/0x2f0 mm/mempolicy.c:2505
shmem_alloc_folio+0x135/0x160 mm/shmem.c:1890
shmem_alloc_and_add_folio+0x494/0xc20 mm/shmem.c:1932
shmem_get_folio_gfp+0x67f/0x1610 mm/shmem.c:2556
shmem_fault+0x1fe/0xa00 mm/shmem.c:2757
__do_fault+0x10d/0x490 mm/memory.c:5320
do_read_fault mm/memory.c:5755 [inline]
do_fault+0xae4/0x1ad0 mm/memory.c:5889
do_pte_missing mm/memory.c:4401 [inline]
handle_pte_fault mm/memory.c:6273 [inline]
__handle_mm_fault+0x1919/0x2bb0 mm/memory.c:6411
handle_mm_fault+0x3fe/0xad0 mm/memory.c:6580
faultin_page mm/gup.c:1126 [inline]
__get_user_pages+0x54e/0x3590 mm/gup.c:1428
populate_vma_page_range+0x267/0x3f0 mm/gup.c:1860
__mm_populate+0x1d8/0x380 mm/gup.c:1963
page last free pid 21307 tgid 21301 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1395 [inline]
free_unref_folios+0xa22/0x1610 mm/page_alloc.c:3000
folios_put_refs+0x4be/0x750 mm/swap.c:1002
folio_batch_release include/linux/pagevec.h:101 [inline]
shmem_undo_range+0x58f/0x1140 mm/shmem.c:1137
shmem_truncate_range mm/shmem.c:1249 [inline]
shmem_evict_inode+0x39e/0xbe0 mm/shmem.c:1379
evict+0x3c2/0xad0 fs/inode.c:837
iput_final fs/inode.c:1951 [inline]
iput.part.0+0x621/0x1190 fs/inode.c:2003
iput+0x35/0x40 fs/inode.c:1966
dentry_unlink_inode+0x29c/0x480 fs/dcache.c:467
__dentry_kill+0x1d0/0x600 fs/dcache.c:670
finish_dput+0x76/0x480 fs/dcache.c:879
dput.part.0+0x451/0x570 fs/dcache.c:928
dput+0x1f/0x30 fs/dcache.c:920
__fput+0x51c/0xb70 fs/file_table.c:476
task_work_run+0x150/0x240 kernel/task_work.c:233
exit_task_work include/linux/task_work.h:40 [inline]
do_exit+0x87f/0x2bd0 kernel/exit.c:971
do_group_exit+0xd3/0x2a0 kernel/exit.c:1112
Memory state around the buggy address:
ffff88804c0b5f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ffff88804c0b5f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffff88804c0b6000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
^
ffff88804c0b6080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ffff88804c0b6100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
==================================================================
==================================================================
BUG: KASAN: use-after-free in next_ea fs/hpfs/hpfs_fn.h:152 [inline]
BUG: KASAN: use-after-free in hpfs_get_ea+0xb51/0xc90 fs/hpfs/ea.c:138
Read of size 1 at addr ffff88804c0b6007 by task syz.5.2772/21417
CPU: 0 UID: 0 PID: 21417 Comm: syz.5.2772 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120
print_address_description mm/kasan/report.c:378 [inline]
print_report+0xcd/0x630 mm/kasan/report.c:482
kasan_report+0xe0/0x110 mm/kasan/report.c:595
next_ea fs/hpfs/hpfs_fn.h:152 [inline]
hpfs_get_ea+0xb51/0xc90 fs/hpfs/ea.c:138
hpfs_read_inode+0x69e/0x1270 fs/hpfs/inode.c:63
hpfs_fill_super+0x13e9/0x2230 fs/hpfs/super.c:651
get_tree_bdev_flags+0x38c/0x620 fs/super.c:1691
vfs_get_tree+0x8e/0x330 fs/super.c:1751
fc_mount fs/namespace.c:1199 [inline]
do_new_mount_fc fs/namespace.c:3636 [inline]
do_new_mount fs/namespace.c:3712 [inline]
path_mount+0x7bf/0x23a0 fs/namespace.c:4022
do_mount fs/namespace.c:4035 [inline]
__do_sys_mount fs/namespace.c:4224 [inline]
__se_sys_mount fs/namespace.c:4201 [inline]
__x64_sys_mount+0x293/0x310 fs/namespace.c:4201
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xcd/0xf80 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f8a8f390eea
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f8a901b0e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f8a901b0ef0 RCX: 00007f8a8f390eea
RDX: 000020000000a000 RSI: 0000200000009ec0 RDI: 00007f8a901b0eb0
RBP: 000020000000a000 R08: 00007f8a901b0ef0 R09: 0000000001200041
R10: 0000000001200041 R11: 0000000000000246 R12: 0000200000009ec0
R13: 00007f8a901b0eb0 R14: 0000000000009e15 R15: 0000200000000000
The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x2e5 pfn:0x4c0b6
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 ffffea0001302dc8 ffffea00012e6b48 0000000000000000
raw: 00000000000002e5 0000000000000000 00000000ffffffff 0000000000000000
page dumped because: kasan: bad access detected
page_owner tracks the page as freed
page last allocated via order 0, migratetype Movable, gfp_mask 0x140cca(GFP_HIGHUSER_MOVABLE|__GFP_COMP), pid 21303, tgid 21301 (syz.6.2749), ts 1654133736795, free_ts 1662755440711
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1af/0x220 mm/page_alloc.c:1846
prep_new_page mm/page_alloc.c:1854 [inline]
get_page_from_freelist+0xd0b/0x31a0 mm/page_alloc.c:3915
__alloc_frozen_pages_noprof+0x25f/0x2430 mm/page_alloc.c:5210
alloc_pages_mpol+0x1fb/0x550 mm/mempolicy.c:2486
folio_alloc_mpol_noprof+0x36/0x2f0 mm/mempolicy.c:2505
shmem_alloc_folio+0x135/0x160 mm/shmem.c:1890
shmem_alloc_and_add_folio+0x494/0xc20 mm/shmem.c:1932
shmem_get_folio_gfp+0x67f/0x1610 mm/shmem.c:2556
shmem_fault+0x1fe/0xa00 mm/shmem.c:2757
__do_fault+0x10d/0x490 mm/memory.c:5320
do_read_fault mm/memory.c:5755 [inline]
do_fault+0xae4/0x1ad0 mm/memory.c:5889
do_pte_missing mm/memory.c:4401 [inline]
handle_pte_fault mm/memory.c:6273 [inline]
__handle_mm_fault+0x1919/0x2bb0 mm/memory.c:6411
handle_mm_fault+0x3fe/0xad0 mm/memory.c:6580
faultin_page mm/gup.c:1126 [inline]
__get_user_pages+0x54e/0x3590 mm/gup.c:1428
populate_vma_page_range+0x267/0x3f0 mm/gup.c:1860
__mm_populate+0x1d8/0x380 mm/gup.c:1963
page last free pid 21307 tgid 21301 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1395 [inline]
free_unref_folios+0xa22/0x1610 mm/page_alloc.c:3000
folios_put_refs+0x4be/0x750 mm/swap.c:1002
folio_batch_release include/linux/pagevec.h:101 [inline]
shmem_undo_range+0x58f/0x1140 mm/shmem.c:1137
shmem_truncate_range mm/shmem.c:1249 [inline]
shmem_evict_inode+0x39e/0xbe0 mm/shmem.c:1379
evict+0x3c2/0xad0 fs/inode.c:837
iput_final fs/inode.c:1951 [inline]
iput.part.0+0x621/0x1190 fs/inode.c:2003
iput+0x35/0x40 fs/inode.c:1966
dentry_unlink_inode+0x29c/0x480 fs/dcache.c:467
__dentry_kill+0x1d0/0x600 fs/dcache.c:670
finish_dput+0x76/0x480 fs/dcache.c:879
dput.part.0+0x451/0x570 fs/dcache.c:928
dput+0x1f/0x30 fs/dcache.c:920
__fput+0x51c/0xb70 fs/file_table.c:476
task_work_run+0x150/0x240 kernel/task_work.c:233
exit_task_work include/linux/task_work.h:40 [inline]
do_exit+0x87f/0x2bd0 kernel/exit.c:971
do_group_exit+0xd3/0x2a0 kernel/exit.c:1112
Memory state around the buggy address:
ffff88804c0b5f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ffff88804c0b5f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffff88804c0b6000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
^
ffff88804c0b6080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ffff88804c0b6100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
==================================================================
==================================================================
BUG: KASAN: use-after-free in ea_valuelen fs/hpfs/hpfs_fn.h:147 [inline]
BUG: KASAN: use-after-free in next_ea fs/hpfs/hpfs_fn.h:152 [inline]
BUG: KASAN: use-after-free in hpfs_get_ea+0xb42/0xc90 fs/hpfs/ea.c:138
Read of size 1 at addr ffff88804c0b6008 by task syz.5.2772/21417
CPU: 0 UID: 0 PID: 21417 Comm: syz.5.2772 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120
print_address_description mm/kasan/report.c:378 [inline]
print_report+0xcd/0x630 mm/kasan/report.c:482
kasan_report+0xe0/0x110 mm/kasan/report.c:595
ea_valuelen fs/hpfs/hpfs_fn.h:147 [inline]
next_ea fs/hpfs/hpfs_fn.h:152 [inline]
hpfs_get_ea+0xb42/0xc90 fs/hpfs/ea.c:138
hpfs_read_inode+0x69e/0x1270 fs/hpfs/inode.c:63
hpfs_fill_super+0x13e9/0x2230 fs/hpfs/super.c:651
get_tree_bdev_flags+0x38c/0x620 fs/super.c:1691
vfs_get_tree+0x8e/0x330 fs/super.c:1751
fc_mount fs/namespace.c:1199 [inline]
do_new_mount_fc fs/namespace.c:3636 [inline]
do_new_mount fs/namespace.c:3712 [inline]
path_mount+0x7bf/0x23a0 fs/namespace.c:4022
do_mount fs/namespace.c:4035 [inline]
__do_sys_mount fs/namespace.c:4224 [inline]
__se_sys_mount fs/namespace.c:4201 [inline]
__x64_sys_mount+0x293/0x310 fs/namespace.c:4201
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xcd/0xf80 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f8a8f390eea
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f8a901b0e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f8a901b0ef0 RCX: 00007f8a8f390eea
RDX: 000020000000a000 RSI: 0000200000009ec0 RDI: 00007f8a901b0eb0
RBP: 000020000000a000 R08: 00007f8a901b0ef0 R09: 0000000001200041
R10: 0000000001200041 R11: 0000000000000246 R12: 0000200000009ec0
R13: 00007f8a901b0eb0 R14: 0000000000009e15 R15: 0000200000000000
The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x2e5 pfn:0x4c0b6
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 ffffea0001302dc8 ffffea00012e6b48 0000000000000000
raw: 00000000000002e5 0000000000000000 00000000ffffffff 0000000000000000
page dumped because: kasan: bad access detected
page_owner tracks the page as freed
page last allocated via order 0, migratetype Movable, gfp_mask 0x140cca(GFP_HIGHUSER_MOVABLE|__GFP_COMP), pid 21303, tgid 21301 (syz.6.2749), ts 1654133736795, free_ts 1662755440711
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1af/0x220 mm/page_alloc.c:1846
prep_new_page mm/page_alloc.c:1854 [inline]
get_page_from_freelist+0xd0b/0x31a0 mm/page_alloc.c:3915
__alloc_frozen_pages_noprof+0x25f/0x2430 mm/page_alloc.c:5210
alloc_pages_mpol+0x1fb/0x550 mm/mempolicy.c:2486
folio_alloc_mpol_noprof+0x36/0x2f0 mm/mempolicy.c:2505
shmem_alloc_folio+0x135/0x160 mm/shmem.c:1890
shmem_alloc_and_add_folio+0x494/0xc20 mm/shmem.c:1932
shmem_get_folio_gfp+0x67f/0x1610 mm/shmem.c:2556
shmem_fault+0x1fe/0xa00 mm/shmem.c:2757
__do_fault+0x10d/0x490 mm/memory.c:5320
do_read_fault mm/memory.c:5755 [inline]
do_fault+0xae4/0x1ad0 mm/memory.c:5889
do_pte_missing mm/memory.c:4401 [inline]
handle_pte_fault mm/memory.c:6273 [inline]
__handle_mm_fault+0x1919/0x2bb0 mm/memory.c:6411
handle_mm_fault+0x3fe/0xad0 mm/memory.c:6580
faultin_page mm/gup.c:1126 [inline]
__get_user_pages+0x54e/0x3590 mm/gup.c:1428
populate_vma_page_range+0x267/0x3f0 mm/gup.c:1860
__mm_populate+0x1d8/0x380 mm/gup.c:1963
page last free pid 21307 tgid 21301 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1395 [inline]
free_unref_folios+0xa22/0x1610 mm/page_alloc.c:3000
folios_put_refs+0x4be/0x750 mm/swap.c:1002
folio_batch_release include/linux/pagevec.h:101 [inline]
shmem_undo_range+0x58f/0x1140 mm/shmem.c:1137
shmem_truncate_range mm/shmem.c:1249 [inline]
shmem_evict_inode+0x39e/0xbe0 mm/shmem.c:1379
evict+0x3c2/0xad0 fs/inode.c:837
iput_final fs/inode.c:1951 [inline]
iput.part.0+0x621/0x1190 fs/inode.c:2003
iput+0x35/0x40 fs/inode.c:1966
dentry_unlink_inode+0x29c/0x480 fs/dcache.c:467
__dentry_kill+0x1d0/0x600 fs/dcache.c:670
finish_dput+0x76/0x480 fs/dcache.c:879
dput.part.0+0x451/0x570 fs/dcache.c:928
dput+0x1f/0x30 fs/dcache.c:920
__fput+0x51c/0xb70 fs/file_table.c:476
task_work_run+0x150/0x240 kernel/task_work.c:233
exit_task_work include/linux/task_work.h:40 [inline]
do_exit+0x87f/0x2bd0 kernel/exit.c:971
do_group_exit+0xd3/0x2a0 kernel/exit.c:1112
Memory state around the buggy address:
ffff88804c0b5f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ffff88804c0b5f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffff88804c0b6000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
^
ffff88804c0b6080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ffff88804c0b6100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
==================================================================
==================================================================
BUG: KASAN: use-after-free in ea_valuelen fs/hpfs/hpfs_fn.h:147 [inline]
BUG: KASAN: use-after-free in next_ea fs/hpfs/hpfs_fn.h:152 [inline]
BUG: KASAN: use-after-free in hpfs_get_ea+0xb64/0xc90 fs/hpfs/ea.c:138
Read of size 1 at addr ffff88804c0b6009 by task syz.5.2772/21417
CPU: 0 UID: 0 PID: 21417 Comm: syz.5.2772 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120
print_address_description mm/kasan/report.c:378 [inline]
print_report+0xcd/0x630 mm/kasan/report.c:482
kasan_report+0xe0/0x110 mm/kasan/report.c:595
ea_valuelen fs/hpfs/hpfs_fn.h:147 [inline]
next_ea fs/hpfs/hpfs_fn.h:152 [inline]
hpfs_get_ea+0xb64/0xc90 fs/hpfs/ea.c:138
hpfs_read_inode+0x69e/0x1270 fs/hpfs/inode.c:63
hpfs_fill_super+0x13e9/0x2230 fs/hpfs/super.c:651
get_tree_bdev_flags+0x38c/0x620 fs/super.c:1691
vfs_get_tree+0x8e/0x330 fs/super.c:1751
fc_mount fs/namespace.c:1199 [inline]
do_new_mount_fc fs/namespace.c:3636 [inline]
do_new_mount fs/namespace.c:3712 [inline]
path_mount+0x7bf/0x23a0 fs/namespace.c:4022
do_mount fs/namespace.c:4035 [inline]
__do_sys_mount fs/namespace.c:4224 [inline]
__se_sys_mount fs/namespace.c:4201 [inline]
__x64_sys_mount+0x293/0x310 fs/namespace.c:4201
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xcd/0xf80 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f8a8f390eea
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f8a901b0e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f8a901b0ef0 RCX: 00007f8a8f390eea
RDX: 000020000000a000 RSI: 0000200000009ec0 RDI: 00007f8a901b0eb0
RBP: 000020000000a000 R08: 00007f8a901b0ef0 R09: 0000000001200041
R10: 0000000001200041 R11: 0000000000000246 R12: 0000200000009ec0
R13: 00007f8a901b0eb0 R14: 0000000000009e15 R15: 0000200000000000
The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x2e5 pfn:0x4c0b6
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 ffffea0001302dc8 ffffea00012e6b48 0000000000000000
raw: 00000000000002e5 0000000000000000 00000000ffffffff 0000000000000000
page dumped because: kasan: bad access detected
page_owner tracks the page as freed
page last allocated via order 0, migratetype Movable, gfp_mask 0x140cca(GFP_HIGHUSER_MOVABLE|__GFP_COMP), pid 21303, tgid 21301 (syz.6.2749), ts 1654133736795, free_ts 1662755440711
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1af/0x220 mm/page_alloc.c:1846
prep_new_page mm/page_alloc.c:1854 [inline]
get_page_from_freelist+0xd0b/0x31a0 mm/page_alloc.c:3915
__alloc_frozen_pages_noprof+0x25f/0x2430 mm/page_alloc.c:5210
alloc_pages_mpol+0x1fb/0x550 mm/mempolicy.c:2486
folio_alloc_mpol_noprof+0x36/0x2f0 mm/mempolicy.c:2505
shmem_alloc_folio+0x135/0x160 mm/shmem.c:1890
shmem_alloc_and_add_folio+0x494/0xc20 mm/shmem.c:1932
shmem_get_folio_gfp+0x67f/0x1610 mm/shmem.c:2556
shmem_fault+0x1fe/0xa00 mm/shmem.c:2757
__do_fault+0x10d/0x490 mm/memory.c:5320
do_read_fault mm/memory.c:5755 [inline]
do_fault+0xae4/0x1ad0 mm/memory.c:5889
do_pte_missing mm/memory.c:4401 [inline]
handle_pte_fault mm/memory.c:6273 [inline]
__handle_mm_fault+0x1919/0x2bb0 mm/memory.c:6411
handle_mm_fault+0x3fe/0xad0 mm/memory.c:6580
faultin_page mm/gup.c:1126 [inline]
__get_user_pages+0x54e/0x3590 mm/gup.c:1428
populate_vma_page_range+0x267/0x3f0 mm/gup.c:1860
__mm_populate+0x1d8/0x380 mm/gup.c:1963
page last free pid 21307 tgid 21301 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1395 [inline]
free_unref_folios+0xa22/0x1610 mm/page_alloc.c:3000
folios_put_refs+0x4be/0x750 mm/swap.c:1002
folio_batch_release include/linux/pagevec.h:101 [inline]
shmem_undo_range+0x58f/0x1140 mm/shmem.c:1137
shmem_truncate_range mm/shmem.c:1249 [inline]
shmem_evict_inode+0x39e/0xbe0 mm/shmem.c:1379
evict+0x3c2/0xad0 fs/inode.c:837
iput_final fs/inode.c:1951 [inline]
iput.part.0+0x621/0x1190 fs/inode.c:2003
iput+0x35/0x40 fs/inode.c:1966
dentry_unlink_inode+0x29c/0x480 fs/dcache.c:467
__dentry_kill+0x1d0/0x600 fs/dcache.c:670
finish_dput+0x76/0x480 fs/dcache.c:879
dput.part.0+0x451/0x570 fs/dcache.c:928
dput+0x1f/0x30 fs/dcache.c:920
__fput+0x51c/0xb70 fs/file_table.c:476
task_work_run+0x150/0x240 kernel/task_work.c:233
exit_task_work include/linux/task_work.h:40 [inline]
do_exit+0x87f/0x2bd0 kernel/exit.c:971
do_group_exit+0xd3/0x2a0 kernel/exit.c:1112
Memory state around the buggy address:
ffff88804c0b5f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ffff88804c0b5f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffff88804c0b6000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
^
ffff88804c0b6080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ffff88804c0b6100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
==================================================================
==================================================================
BUG: KASAN: use-after-free in strcmp+0xa7/0xb0 lib/string.c:283
Read of size 1 at addr ffff88804c0b600f by task syz.5.2772/21417
CPU: 0 UID: 0 PID: 21417 Comm: syz.5.2772 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120
print_address_description mm/kasan/report.c:378 [inline]
print_report+0xcd/0x630 mm/kasan/report.c:482
kasan_report+0xe0/0x110 mm/kasan/report.c:595
strcmp+0xa7/0xb0 lib/string.c:283
hpfs_get_ea+0x1f9/0xc90 fs/hpfs/ea.c:139
hpfs_read_inode+0x69e/0x1270 fs/hpfs/inode.c:63
hpfs_fill_super+0x13e9/0x2230 fs/hpfs/super.c:651
get_tree_bdev_flags+0x38c/0x620 fs/super.c:1691
vfs_get_tree+0x8e/0x330 fs/super.c:1751
fc_mount fs/namespace.c:1199 [inline]
do_new_mount_fc fs/namespace.c:3636 [inline]
do_new_mount fs/namespace.c:3712 [inline]
path_mount+0x7bf/0x23a0 fs/namespace.c:4022
do_mount fs/namespace.c:4035 [inline]
__do_sys_mount fs/namespace.c:4224 [inline]
__se_sys_mount fs/namespace.c:4201 [inline]
__x64_sys_mount+0x293/0x310 fs/namespace.c:4201
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xcd/0xf80 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f8a8f390eea
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f8a901b0e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f8a901b0ef0 RCX: 00007f8a8f390eea
RDX: 000020000000a000 RSI: 0000200000009ec0 RDI: 00007f8a901b0eb0
RBP: 000020000000a000 R08: 00007f8a901b0ef0 R09: 0000000001200041
R10: 0000000001200041 R11: 0000000000000246 R12: 0000200000009ec0
R13: 00007f8a901b0eb0 R14: 0000000000009e15 R15: 0000200000000000
The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x2e5 pfn:0x4c0b6
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 ffffea0001302dc8 ffffea00012e6b48 0000000000000000
raw: 00000000000002e5 0000000000000000 00000000ffffffff 0000000000000000
page dumped because: kasan: bad access detected
page_owner tracks the page as freed
page last allocated via order 0, migratetype Movable, gfp_mask 0x140cca(GFP_HIGHUSER_MOVABLE|__GFP_COMP), pid 21303, tgid 21301 (syz.6.2749), ts 1654133736795, free_ts 1662755440711
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1af/0x220 mm/page_alloc.c:1846
prep_new_page mm/page_alloc.c:1854 [inline]
get_page_from_freelist+0xd0b/0x31a0 mm/page_alloc.c:3915
__alloc_frozen_pages_noprof+0x25f/0x2430 mm/page_alloc.c:5210
alloc_pages_mpol+0x1fb/0x550 mm/mempolicy.c:2486
folio_alloc_mpol_noprof+0x36/0x2f0 mm/mempolicy.c:2505
shmem_alloc_folio+0x135/0x160 mm/shmem.c:1890
shmem_alloc_and_add_folio+0x494/0xc20 mm/shmem.c:1932
shmem_get_folio_gfp+0x67f/0x1610 mm/shmem.c:2556
shmem_fault+0x1fe/0xa00 mm/shmem.c:2757
__do_fault+0x10d/0x490 mm/memory.c:5320
do_read_fault mm/memory.c:5755 [inline]
do_fault+0xae4/0x1ad0 mm/memory.c:5889
do_pte_missing mm/memory.c:4401 [inline]
handle_pte_fault mm/memory.c:6273 [inline]
__handle_mm_fault+0x1919/0x2bb0 mm/memory.c:6411
handle_mm_fault+0x3fe/0xad0 mm/memory.c:6580
faultin_page mm/gup.c:1126 [inline]
__get_user_pages+0x54e/0x3590 mm/gup.c:1428
populate_vma_page_range+0x267/0x3f0 mm/gup.c:1860
__mm_populate+0x1d8/0x380 mm/gup.c:1963
page last free pid 21307 tgid 21301 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1395 [inline]
free_unref_folios+0xa22/0x1610 mm/page_alloc.c:3000
folios_put_refs+0x4be/0x750 mm/swap.c:1002
folio_batch_release include/linux/pagevec.h:101 [inline]
shmem_undo_range+0x58f/0x1140 mm/shmem.c:1137
shmem_truncate_range mm/shmem.c:1249 [inline]
shmem_evict_inode+0x39e/0xbe0 mm/shmem.c:1379
evict+0x3c2/0xad0 fs/inode.c:837
iput_final fs/inode.c:1951 [inline]
iput.part.0+0x621/0x1190 fs/inode.c:2003
iput+0x35/0x40 fs/inode.c:1966
dentry_unlink_inode+0x29c/0x480 fs/dcache.c:467
__dentry_kill+0x1d0/0x600 fs/dcache.c:670
finish_dput+0x76/0x480 fs/dcache.c:879
dput.part.0+0x451/0x570 fs/dcache.c:928
dput+0x1f/0x30 fs/dcache.c:920
__fput+0x51c/0xb70 fs/file_table.c:476
task_work_run+0x150/0x240 kernel/task_work.c:233
exit_task_work include/linux/task_work.h:40 [inline]
do_exit+0x87f/0x2bd0 kernel/exit.c:971
do_group_exit+0xd3/0x2a0 kernel/exit.c:1112
Memory state around the buggy address:
ffff88804c0b5f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ffff88804c0b5f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffff88804c0b6000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
^
ffff88804c0b6080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ffff88804c0b6100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
==================================================================
==================================================================
BUG: KASAN: use-after-free in next_ea fs/hpfs/hpfs_fn.h:152 [inline]
BUG: KASAN: use-after-free in hpfs_get_ea+0xb51/0xc90 fs/hpfs/ea.c:138
Read of size 1 at addr ffff88804c0b600c by task syz.5.2772/21417
CPU: 0 UID: 0 PID: 21417 Comm: syz.5.2772 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120
print_address_description mm/kasan/report.c:378 [inline]
print_report+0xcd/0x630 mm/kasan/report.c:482
kasan_report+0xe0/0x110 mm/kasan/report.c:595
next_ea fs/hpfs/hpfs_fn.h:152 [inline]
hpfs_get_ea+0xb51/0xc90 fs/hpfs/ea.c:138
hpfs_read_inode+0x69e/0x1270 fs/hpfs/inode.c:63
hpfs_fill_super+0x13e9/0x2230 fs/hpfs/super.c:651
get_tree_bdev_flags+0x38c/0x620 fs/super.c:1691
vfs_get_tree+0x8e/0x330 fs/super.c:1751
fc_mount fs/namespace.c:1199 [inline]
do_new_mount_fc fs/namespace.c:3636 [inline]
do_new_mount fs/namespace.c:3712 [inline]
path_mount+0x7bf/0x23a0 fs/namespace.c:4022
do_mount fs/namespace.c:4035 [inline]
__do_sys_mount fs/namespace.c:4224 [inline]
__se_sys_mount fs/namespace.c:4201 [inline]
__x64_sys_mount+0x293/0x310 fs/namespace.c:4201
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xcd/0xf80 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f8a8f390eea
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f8a901b0e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f8a901b0ef0 RCX: 00007f8a8f390eea
RDX: 000020000000a000 RSI: 0000200000009ec0 RDI: 00007f8a901b0eb0
RBP: 000020000000a000 R08: 00007f8a901b0ef0 R09: 0000000001200041
R10: 0000000001200041 R11: 0000000000000246 R12: 0000200000009ec0
R13: 00007f8a901b0eb0 R14: 0000000000009e15 R15: 0000200000000000
The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x2e5 pfn:0x4c0b6
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 ffffea0001302dc8 ffffea00012e6b48 0000000000000000
raw: 00000000000002e5 0000000000000000 00000000ffffffff 0000000000000000
page dumped because: kasan: bad access detected
page_owner tracks the page as freed
page last allocated via order 0, migratetype Movable, gfp_mask 0x140cca(GFP_HIGHUSER_MOVABLE|__GFP_COMP), pid 21303, tgid 21301 (syz.6.2749), ts 1654133736795, free_ts 1662755440711
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1af/0x220 mm/page_alloc.c:1846
prep_new_page mm/page_alloc.c:1854 [inline]
get_page_from_freelist+0xd0b/0x31a0 mm/page_alloc.c:3915
__alloc_frozen_pages_noprof+0x25f/0x2430 mm/page_alloc.c:5210
alloc_pages_mpol+0x1fb/0x550 mm/mempolicy.c:2486
folio_alloc_mpol_noprof+0x36/0x2f0 mm/mempolicy.c:2505
shmem_alloc_folio+0x135/0x160 mm/shmem.c:1890
shmem_alloc_and_add_folio+0x494/0xc20 mm/shmem.c:1932
shmem_get_folio_gfp+0x67f/0x1610 mm/shmem.c:2556
shmem_fault+0x1fe/0xa00 mm/shmem.c:2757
__do_fault+0x10d/0x490 mm/memory.c:5320
do_read_fault mm/memory.c:5755 [inline]
do_fault+0xae4/0x1ad0 mm/memory.c:5889
do_pte_missing mm/memory.c:4401 [inline]
handle_pte_fault mm/memory.c:6273 [inline]
__handle_mm_fault+0x1919/0x2bb0 mm/memory.c:6411
handle_mm_fault+0x3fe/0xad0 mm/memory.c:6580
faultin_page mm/gup.c:1126 [inline]
__get_user_pages+0x54e/0x3590 mm/gup.c:1428
populate_vma_page_range+0x267/0x3f0 mm/gup.c:1860
__mm_populate+0x1d8/0x380 mm/gup.c:1963
page last free pid 21307 tgid 21301 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1395 [inline]
free_unref_folios+0xa22/0x1610 mm/page_alloc.c:3000
folios_put_refs+0x4be/0x750 mm/swap.c:1002
folio_batch_release include/linux/pagevec.h:101 [inline]
shmem_undo_range+0x58f/0x1140 mm/shmem.c:1137
shmem_truncate_range mm/shmem.c:1249 [inline]
shmem_evict_inode+0x39e/0xbe0 mm/shmem.c:1379
evict+0x3c2/0xad0 fs/inode.c:837
iput_final fs/inode.c:1951 [inline]
iput.part.0+0x621/0x1190 fs/inode.c:2003
iput+0x35/0x40 fs/inode.c:1966
dentry_unlink_inode+0x29c/0x480 fs/dcache.c:467
__dentry_kill+0x1d0/0x600 fs/dcache.c:670
finish_dput+0x76/0x480 fs/dcache.c:879
dput.part.0+0x451/0x570 fs/dcache.c:928
dput+0x1f/0x30 fs/dcache.c:920
__fput+0x51c/0xb70 fs/file_table.c:476
task_work_run+0x150/0x240 kernel/task_work.c:233
exit_task_work include/linux/task_work.h:40 [inline]
do_exit+0x87f/0x2bd0 kernel/exit.c:971
do_group_exit+0xd3/0x2a0 kernel/exit.c:1112
Memory state around the buggy address:
ffff88804c0b5f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ffff88804c0b5f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffff88804c0b6000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
^
ffff88804c0b6080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ffff88804c0b6100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
==================================================================
==================================================================
BUG: KASAN: use-after-free in ea_valuelen fs/hpfs/hpfs_fn.h:147 [inline]
BUG: KASAN: use-after-free in next_ea fs/hpfs/hpfs_fn.h:152 [inline]
BUG: KASAN: use-after-free in hpfs_get_ea+0xb42/0xc90 fs/hpfs/ea.c:138
Read of size 1 at addr ffff88804c0b600d by task syz.5.2772/21417
CPU: 0 UID: 0 PID: 21417 Comm: syz.5.2772 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120
print_address_description mm/kasan/report.c:378 [inline]
print_report+0xcd/0x630 mm/kasan/report.c:482
kasan_report+0xe0/0x110 mm/kasan/report.c:595
ea_valuelen fs/hpfs/hpfs_fn.h:147 [inline]
next_ea fs/hpfs/hpfs_fn.h:152 [inline]
hpfs_get_ea+0xb42/0xc90 fs/hpfs/ea.c:138
hpfs_read_inode+0x69e/0x1270 fs/hpfs/inode.c:63
hpfs_fill_super+0x13e9/0x2230 fs/hpfs/super.c:651
get_tree_bdev_flags+0x38c/0x620 fs/super.c:1691
vfs_get_tree+0x8e/0x330 fs/super.c:1751
fc_mount fs/namespace.c:1199 [inline]
do_new_mount_fc fs/namespace.c:3636 [inline]
do_new_mount fs/namespace.c:3712 [inline]
path_mount+0x7bf/0x23a0 fs/namespace.c:4022
do_mount fs/namespace.c:4035 [inline]
__do_sys_mount fs/namespace.c:4224 [inline]
__se_sys_mount fs/namespace.c:4201 [inline]
__x64_sys_mount+0x293/0x310 fs/namespace.c:4201
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xcd/0xf80 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f8a8f390eea
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f8a901b0e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f8a901b0ef0 RCX: 00007f8a8f390eea
RDX: 000020000000a000 RSI: 0000200000009ec0 RDI: 00007f8a901b0eb0
RBP: 000020000000a000 R08: 00007f8a901b0ef0 R09: 0000000001200041
R10: 0000000001200041 R11: 0000000000000246 R12: 0000200000009ec0
R13: 00007f8a901b0eb0 R14: 0000000000009e15 R15: 0000200000000000
The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x2e5 pfn:0x4c0b6
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 ffffea0001302dc8 ffffea00012e6b48 0000000000000000
raw: 00000000000002e5 0000000000000000 00000000ffffffff 0000000000000000
page dumped because: kasan: bad access detected
page_owner tracks the page as freed
page last allocated via order 0, migratetype Movable, gfp_mask 0x140cca(GFP_HIGHUSER_MOVABLE|__GFP_COMP), pid 21303, tgid 21301 (syz.6.2749), ts 1654133736795, free_ts 1662755440711
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1af/0x220 mm/page_alloc.c:1846
prep_new_page mm/page_alloc.c:1854 [inline]
get_page_from_freelist+0xd0b/0x31a0 mm/page_alloc.c:3915
__alloc_frozen_pages_noprof+0x25f/0x2430 mm/page_alloc.c:5210
alloc_pages_mpol+0x1fb/0x550 mm/mempolicy.c:2486
folio_alloc_mpol_noprof+0x36/0x2f0 mm/mempolicy.c:2505
shmem_alloc_folio+0x135/0x160 mm/shmem.c:1890
shmem_alloc_and_add_folio+0x494/0xc20 mm/shmem.c:1932
shmem_get_folio_gfp+0x67f/0x1610 mm/shmem.c:2556
shmem_fault+0x1fe/0xa00 mm/shmem.c:2757
__do_fault+0x10d/0x490 mm/memory.c:5320
do_read_fault mm/memory.c:5755 [inline]
do_fault+0xae4/0x1ad0 mm/memory.c:5889
do_pte_missing mm/memory.c:4401 [inline]
handle_pte_fault mm/memory.c:6273 [inline]
__handle_mm_fault+0x1919/0x2bb0 mm/memory.c:6411
handle_mm_fault+0x3fe/0xad0 mm/memory.c:6580
faultin_page mm/gup.c:1126 [inline]
__get_user_pages+0x54e/0x3590 mm/gup.c:1428
populate_vma_page_range+0x267/0x3f0 mm/gup.c:1860
__mm_populate+0x1d8/0x380 mm/gup.c:1963
page last free pid 21307 tgid 21301 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1395 [inline]
free_unref_folios+0xa22/0x1610 mm/page_alloc.c:3000
folios_put_refs+0x4be/0x750 mm/swap.c:1002
folio_batch_release include/linux/pagevec.h:101 [inline]
shmem_undo_range+0x58f/0x1140 mm/shmem.c:1137
shmem_truncate_range mm/shmem.c:1249 [inline]
shmem_evict_inode+0x39e/0xbe0 mm/shmem.c:1379
evict+0x3c2/0xad0 fs/inode.c:837
iput_final fs/inode.c:1951 [inline]
iput.part.0+0x621/0x1190 fs/inode.c:2003
iput+0x35/0x40 fs/inode.c:1966
dentry_unlink_inode+0x29c/0x480 fs/dcache.c:467
__dentry_kill+0x1d0/0x600 fs/dcache.c:670
finish_dput+0x76/0x480 fs/dcache.c:879
dput.part.0+0x451/0x570 fs/dcache.c:928
dput+0x1f/0x30 fs/dcache.c:920
__fput+0x51c/0xb70 fs/file_table.c:476
task_work_run+0x150/0x240 kernel/task_work.c:233
exit_task_work include/linux/task_work.h:40 [inline]
do_exit+0x87f/0x2bd0 kernel/exit.c:971
do_group_exit+0xd3/0x2a0 kernel/exit.c:1112
Memory state around the buggy address:
ffff88804c0b5f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ffff88804c0b5f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffff88804c0b6000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
^
ffff88804c0b6080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ffff88804c0b6100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
==================================================================
==================================================================
BUG: KASAN: use-after-free in ea_valuelen fs/hpfs/hpfs_fn.h:147 [inline]
BUG: KASAN: use-after-free in next_ea fs/hpfs/hpfs_fn.h:152 [inline]
BUG: KASAN: use-after-free in hpfs_get_ea+0xb64/0xc90 fs/hpfs/ea.c:138
Read of size 1 at addr ffff88804c0b600e by task syz.5.2772/21417
CPU: 1 UID: 0 PID: 21417 Comm: syz.5.2772 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120
print_address_description mm/kasan/report.c:378 [inline]
print_report+0xcd/0x630 mm/kasan/report.c:482
kasan_report+0xe0/0x110 mm/kasan/report.c:595
ea_valuelen fs/hpfs/hpfs_fn.h:147 [inline]
next_ea fs/hpfs/hpfs_fn.h:152 [inline]
hpfs_get_ea+0xb64/0xc90 fs/hpfs/ea.c:138
hpfs_read_inode+0x69e/0x1270 fs/hpfs/inode.c:63
hpfs_fill_super+0x13e9/0x2230 fs/hpfs/super.c:651
get_tree_bdev_flags+0x38c/0x620 fs/super.c:1691
vfs_get_tree+0x8e/0x330 fs/super.c:1751
fc_mount fs/namespace.c:1199 [inline]
do_new_mount_fc fs/namespace.c:3636 [inline]
do_new_mount fs/namespace.c:3712 [inline]
path_mount+0x7bf/0x23a0 fs/namespace.c:4022
do_mount fs/namespace.c:4035 [inline]
__do_sys_mount fs/namespace.c:4224 [inline]
__se_sys_mount fs/namespace.c:4201 [inline]
__x64_sys_mount+0x293/0x310 fs/namespace.c:4201
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xcd/0xf80 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f8a8f390eea
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f8a901b0e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f8a901b0ef0 RCX: 00007f8a8f390eea
RDX: 000020000000a000 RSI: 0000200000009ec0 RDI: 00007f8a901b0eb0
RBP: 000020000000a000 R08: 00007f8a901b0ef0 R09: 0000000001200041
R10: 0000000001200041 R11: 0000000000000246 R12: 0000200000009ec0
R13: 00007f8a901b0eb0 R14: 0000000000009e15 R15: 0000200000000000
The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x2e5 pfn:0x4c0b6
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 ffffea0001302dc8 ffffea00012e6b48 0000000000000000
raw: 00000000000002e5 0000000000000000 00000000ffffffff 0000000000000000
page dumped because: kasan: bad access detected
page_owner tracks the page as freed
page last allocated via order 0, migratetype Movable, gfp_mask 0x140cca(GFP_HIGHUSER_MOVABLE|__GFP_COMP), pid 21303, tgid 21301 (syz.6.2749), ts 1654133736795, free_ts 1662755440711
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1af/0x220 mm/page_alloc.c:1846
prep_new_page mm/page_alloc.c:1854 [inline]
get_page_from_freelist+0xd0b/0x31a0 mm/page_alloc.c:3915
__alloc_frozen_pages_noprof+0x25f/0x2430 mm/page_alloc.c:5210
alloc_pages_mpol+0x1fb/0x550 mm/mempolicy.c:2486
folio_alloc_mpol_noprof+0x36/0x2f0 mm/mempolicy.c:2505
shmem_alloc_folio+0x135/0x160 mm/shmem.c:1890
shmem_alloc_and_add_folio+0x494/0xc20 mm/shmem.c:1932
shmem_get_folio_gfp+0x67f/0x1610 mm/shmem.c:2556