Extracting prog: 1m33.512878178s
Minimizing prog: 3m55.128186868s
Simplifying prog options: 0s
Extracting C: 58.788191568s
Simplifying C: 9m17.316085278s
extracting reproducer from 1 programs
testing a last program of every proc
single: executing 1 programs separately with timeout 30s
testing program (duration=30s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_mount_image$nilfs2-openat$cgroup_ro
detailed listing:
executing program 0:
syz_mount_image$nilfs2(&(0x7f0000000ec0), &(0x7f0000000f00)='./file0\x00', 0x3210052, &(0x7f0000000840)={[{}, {@nodiscard}, {@norecovery}, {@order_strict}, {@nobarrier}, {@order_strict}, {@nodiscard}, {@order_relaxed}], [], 0x2c}, 0x3, 0xee9, &(0x7f0000000f40)="$eJzs3U9sHNUZAPA367+JTbwGCgZKSKEVgYIdkkhNb0GgHhGX3kEhoRGGooYeiPgTekBUQhQJ0UvFgYoLpVKK1EqgShXqqe2pVW89oV6oVKVSUA9tpMRVnPfs9Utedz2xZ727v5/07ds3b3a+b7yRMzOefRuAkdVafTx8eKEK4d1P33n05aeq31xedtfaGvtWH6vYa4cQJjr6Vba9z+OCi+dfOnattgoHVx9TPzx2bu21MyGEM2Ff+Cy0w0dLy19++N4j+z9+ffqWt04/88o27f6afD8AAGAYnf3T8t/u+8cfH5i/cHbv0TC1tjwdn7djfyYe9x+IB8rpeLkVNvarjug0ma03FqOVrTeWrTee5Rkv5JvItjNRWG+yS76xjmXX2k8AAAAYROm8th2q1uKGfqu1uHjlvP+yz+cmq8XnTi6fONWnQgEAAIDa/v3q6k23QgghhBBCCCHEtseudDLa62s2u74oxspcf647AAAAAKMrny/sKme2dqauta21e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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADI/W6uPhwwtVCO9++s6jP5l88y+Xl921tsa+1ccq9tohhIm116XR9f6v4ooXz790rLO9FNsqHAxVqNaWh8fOrWWaCSGcCfvCZ6EdPlpa/vLD9x7Z//Hr07e8dfqZV7bxR7Bh/wAAAGAY/S8AAP//Tq4eGQ==")
openat$cgroup_ro(0xffffffffffffff9c, &(0x7f0000000080)='cgroup.controllers\x00', 0x275a, 0x0)
program crashed: KASAN: use-after-free Read in nilfs_find_entry
single: successfully extracted reproducer
found reproducer with 2 syscalls
minimizing guilty program
testing program (duration=51.830528386s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_mount_image$nilfs2
detailed listing:
executing program 0:
syz_mount_image$nilfs2(&(0x7f0000000ec0), &(0x7f0000000f00)='./file0\x00', 0x3210052, &(0x7f0000000840)={[{}, {@nodiscard}, {@norecovery}, {@order_strict}, {@nobarrier}, {@order_strict}, {@nodiscard}, {@order_relaxed}], [], 0x2c}, 0x3, 0xee9, &(0x7f0000000f40)="$eJzs3U9sHNUZAPA367+JTbwGCgZKSKEVgYIdkkhNb0GgHhGX3kEhoRGGooYeiPgTekBUQhQJ0UvFgYoLpVKK1EqgShXqqe2pVW89oV6oVKVS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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADI/W6uPhwwtVCO9++s6jP5l88y+Xl921tsa+1ccq9tohhIm116XR9f6v4ooXz790rLO9FNsqHAxVqNaWh8fOrWWaCSGcCfvCZ6EdPlpa/vLD9x7Z//Hr07e8dfqZV7bxR7Bh/wAAAGAY/S8AAP//Tq4eGQ==")
program did not crash
testing program (duration=51.830528386s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat$cgroup_ro
detailed listing:
executing program 0:
openat$cgroup_ro(0xffffffffffffff9c, &(0x7f0000000080)='cgroup.controllers\x00', 0x275a, 0x0)
program did not crash
testing program (duration=51.830528386s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_mount_image$nilfs2-openat$cgroup_ro
detailed listing:
executing program 0:
syz_mount_image$nilfs2(&(0x7f0000000ec0), &(0x7f0000000f00)='./file0\x00', 0x3210052, &(0x7f0000000840)={[{}, {@nodiscard}, {@norecovery}, {@order_strict}, {@nobarrier}, {@order_strict}, {@nodiscard}, {@order_relaxed}], [], 0x2c}, 0x3, 0xee9, &(0x7f0000000f40)="$eJzs3U9sHNUZAPA367+JTbwGCgZKSKEVgYIdkkhNb0GgHhGX3kEhoRGGooYeiPgTekBUQhQJ0UvFgYoLpVKK1EqgShXqqe2pVW89oV6oVKVSUA9tpMRVnPfs9Utedz2xZ727v5/07ds3b3a+b7yRMzOefRuAkdVafTx8eKEK4d1P33n05aeq31xedtfaGvtWH6vYa4cQJjr6Vba9z+OCi+dfOnattgoHVx9TPzx2bu21MyGEM2Ff+Cy0w0dLy19++N4j+z9+ffqWt04/88o27f6afD8AAGAYnf3T8t/u+8cfH5i/cHbv0TC1tjwdn7djfyYe9x+IB8rpeLkVNvarjug0ma03FqOVrTeWrTee5Rkv5JvItjNRWG+yS76xjmXX2k8AAAAYROm8th2q1uKGfqu1uHjlvP+yz+cmq8XnTi6fONWnQgEAAIDa/v3q6k23QgghhBBCCCHEtseudDLa62s2u74oxspcf647AAAAAKMrny/sKme2dqauta21e8t/7uHWtV8PW6Dpf//yD1b+D17zGwcAgPqG9Wgy7Vc6jk7zGOTzCI5lr9vs8X8r2874JusszSs4KPMNlurM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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADI/W6uPhwwtVCO9++s6jP5l88y+Xl921tsa+1ccq9tohhIm116XR9f6v4ooXz790rLO9FNsqHAxVqNaWh8fOrWWaCSGcCfvCZ6EdPlpa/vLD9x7Z//Hr07e8dfqZV7bxR7Bh/wAAAGAY/S8AAP//Tq4eGQ==")
openat$cgroup_ro(0xffffffffffffff9c, 0x0, 0x275a, 0x0)
program did not crash
extracting C reproducer
testing compiled C program (duration=51.830528386s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_mount_image$nilfs2-openat$cgroup_ro
program crashed: KASAN: use-after-free Read in nilfs_find_entry
simplifying C reproducer
testing compiled C program (duration=51.830528386s, {Threaded:false Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_mount_image$nilfs2-openat$cgroup_ro
program crashed: KASAN: use-after-free Read in nilfs_find_entry
testing compiled C program (duration=51.830528386s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:false Cgroups:false BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_mount_image$nilfs2-openat$cgroup_ro
program did not crash
testing compiled C program (duration=51.830528386s, {Threaded:false Repeat:true RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_mount_image$nilfs2-openat$cgroup_ro
program crashed: KASAN: use-after-free Read in nilfs_find_entry
testing compiled C program (duration=51.830528386s, {Threaded:false Repeat:true RepeatTimes:0 Procs:1 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:true Sysctl:true Swap:false UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_mount_image$nilfs2-openat$cgroup_ro
program crashed: KASAN: use-after-free Read in nilfs_find_entry
testing compiled C program (duration=51.830528386s, {Threaded:false Repeat:true RepeatTimes:0 Procs:1 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:false UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_mount_image$nilfs2-openat$cgroup_ro
program crashed: KASAN: use-after-free Read in nilfs_find_entry
testing compiled C program (duration=51.830528386s, {Threaded:false Repeat:true RepeatTimes:0 Procs:1 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:false UseTmpDir:false HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_mount_image$nilfs2-openat$cgroup_ro
program crashed: KASAN: use-after-free Read in nilfs_find_entry
testing compiled C program (duration=51.830528386s, {Threaded:false Repeat:true RepeatTimes:0 Procs:1 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:false UseTmpDir:false HandleSegv:false Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_mount_image$nilfs2-openat$cgroup_ro
program crashed: KASAN: use-after-free Read in nilfs_find_entry
testing compiled C program (duration=51.830528386s, {Threaded:false Repeat:true RepeatTimes:0 Procs:1 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:false Swap:false UseTmpDir:false HandleSegv:false Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_mount_image$nilfs2-openat$cgroup_ro
program did not crash
reproducing took 15m44.74535376s
repro crashed as (corrupted=false):
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.
=======================================================
==================================================================
BUG: KASAN: use-after-free in nilfs_find_entry+0x29c/0x660 fs/nilfs2/dir.c:321
Read of size 2 at addr ffff88807416e008 by task syz-executor547/5822
CPU: 0 UID: 0 PID: 5822 Comm: syz-executor547 Not tainted 6.12.0-rc7-syzkaller-00192-gb5a24181e461 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120
print_address_description mm/kasan/report.c:377 [inline]
print_report+0x169/0x550 mm/kasan/report.c:488
kasan_report+0x143/0x180 mm/kasan/report.c:601
nilfs_find_entry+0x29c/0x660 fs/nilfs2/dir.c:321
nilfs_inode_by_name+0xad/0x240 fs/nilfs2/dir.c:394
nilfs_lookup+0xed/0x210 fs/nilfs2/namei.c:63
lookup_open fs/namei.c:3573 [inline]
open_last_lookups fs/namei.c:3694 [inline]
path_openat+0x11a7/0x3590 fs/namei.c:3930
do_filp_open+0x235/0x490 fs/namei.c:3960
do_sys_openat2+0x13e/0x1d0 fs/open.c:1415
do_sys_open fs/open.c:1430 [inline]
__do_sys_openat fs/open.c:1446 [inline]
__se_sys_openat fs/open.c:1441 [inline]
__x64_sys_openat+0x247/0x2a0 fs/open.c:1441
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fa75495be49
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffeca2017a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fa75495be49
RDX: 000000000000275a RSI: 0000000020000080 RDI: 00000000ffffff9c
RBP: 00000000000016bd R08: 0000000000000ee3 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffeca2017f0
R13: 00007ffeca2018d0 R14: 431bde82d7b634db R15: 00007fa7549a501d
The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x7f4204565 pfn:0x7416e
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 ffffea0001d05bc8 ffff8880b8644af0 0000000000000000
raw: 00000007f4204565 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 0x140dca(GFP_HIGHUSER_MOVABLE|__GFP_COMP|__GFP_ZERO), pid 5811, tgid 5811 (sshd), ts 55886648619, free_ts 55938757952
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1f3/0x230 mm/page_alloc.c:1556
prep_new_page mm/page_alloc.c:1564 [inline]
get_page_from_freelist+0x363e/0x3790 mm/page_alloc.c:3474
__alloc_pages_noprof+0x292/0x710 mm/page_alloc.c:4750
alloc_pages_mpol_noprof+0x3e8/0x680 mm/mempolicy.c:2265
folio_alloc_mpol_noprof mm/mempolicy.c:2283 [inline]
vma_alloc_folio_noprof+0x12e/0x230 mm/mempolicy.c:2314
folio_prealloc+0x31/0x170
alloc_anon_folio mm/memory.c:4727 [inline]
do_anonymous_page mm/memory.c:4784 [inline]
do_pte_missing mm/memory.c:3963 [inline]
handle_pte_fault+0x24dd/0x6820 mm/memory.c:5766
__handle_mm_fault mm/memory.c:5909 [inline]
handle_mm_fault+0x1053/0x1ad0 mm/memory.c:6077
do_user_addr_fault arch/x86/mm/fault.c:1338 [inline]
handle_page_fault arch/x86/mm/fault.c:1481 [inline]
exc_page_fault+0x459/0x8c0 arch/x86/mm/fault.c:1539
asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623
page last free pid 5811 tgid 5811 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1127 [inline]
free_unref_folios+0xf21/0x1a10 mm/page_alloc.c:2704
folios_put_refs+0x76c/0x860 mm/swap.c:993
free_pages_and_swap_cache+0x2ea/0x690 mm/swap_state.c:332
__tlb_batch_free_encoded_pages mm/mmu_gather.c:136 [inline]
tlb_batch_pages_flush mm/mmu_gather.c:149 [inline]
tlb_flush_mmu_free mm/mmu_gather.c:366 [inline]
tlb_flush_mmu+0x3a3/0x680 mm/mmu_gather.c:373
tlb_finish_mmu+0xd4/0x200 mm/mmu_gather.c:465
vms_clear_ptes+0x437/0x530 mm/vma.c:1102
vms_complete_munmap_vmas+0x214/0x8f0 mm/vma.c:1144
do_vmi_align_munmap+0x5ef/0x6f0 mm/vma.c:1353
do_vmi_munmap+0x24e/0x2d0 mm/vma.c:1401
__vm_munmap+0x24c/0x480 mm/mmap.c:1623
__do_sys_munmap mm/mmap.c:1640 [inline]
__se_sys_munmap mm/mmap.c:1637 [inline]
__x64_sys_munmap+0x60/0x70 mm/mmap.c:1637
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
Memory state around the buggy address:
ffff88807416df00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ffff88807416df80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffff88807416e000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
^
ffff88807416e080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ffff88807416e100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
==================================================================
final repro crashed as (corrupted=false):
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.
=======================================================
==================================================================
BUG: KASAN: use-after-free in nilfs_find_entry+0x29c/0x660 fs/nilfs2/dir.c:321
Read of size 2 at addr ffff88807416e008 by task syz-executor547/5822
CPU: 0 UID: 0 PID: 5822 Comm: syz-executor547 Not tainted 6.12.0-rc7-syzkaller-00192-gb5a24181e461 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120
print_address_description mm/kasan/report.c:377 [inline]
print_report+0x169/0x550 mm/kasan/report.c:488
kasan_report+0x143/0x180 mm/kasan/report.c:601
nilfs_find_entry+0x29c/0x660 fs/nilfs2/dir.c:321
nilfs_inode_by_name+0xad/0x240 fs/nilfs2/dir.c:394
nilfs_lookup+0xed/0x210 fs/nilfs2/namei.c:63
lookup_open fs/namei.c:3573 [inline]
open_last_lookups fs/namei.c:3694 [inline]
path_openat+0x11a7/0x3590 fs/namei.c:3930
do_filp_open+0x235/0x490 fs/namei.c:3960
do_sys_openat2+0x13e/0x1d0 fs/open.c:1415
do_sys_open fs/open.c:1430 [inline]
__do_sys_openat fs/open.c:1446 [inline]
__se_sys_openat fs/open.c:1441 [inline]
__x64_sys_openat+0x247/0x2a0 fs/open.c:1441
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fa75495be49
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffeca2017a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fa75495be49
RDX: 000000000000275a RSI: 0000000020000080 RDI: 00000000ffffff9c
RBP: 00000000000016bd R08: 0000000000000ee3 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffeca2017f0
R13: 00007ffeca2018d0 R14: 431bde82d7b634db R15: 00007fa7549a501d
The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x7f4204565 pfn:0x7416e
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 ffffea0001d05bc8 ffff8880b8644af0 0000000000000000
raw: 00000007f4204565 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 0x140dca(GFP_HIGHUSER_MOVABLE|__GFP_COMP|__GFP_ZERO), pid 5811, tgid 5811 (sshd), ts 55886648619, free_ts 55938757952
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1f3/0x230 mm/page_alloc.c:1556
prep_new_page mm/page_alloc.c:1564 [inline]
get_page_from_freelist+0x363e/0x3790 mm/page_alloc.c:3474
__alloc_pages_noprof+0x292/0x710 mm/page_alloc.c:4750
alloc_pages_mpol_noprof+0x3e8/0x680 mm/mempolicy.c:2265
folio_alloc_mpol_noprof mm/mempolicy.c:2283 [inline]
vma_alloc_folio_noprof+0x12e/0x230 mm/mempolicy.c:2314
folio_prealloc+0x31/0x170
alloc_anon_folio mm/memory.c:4727 [inline]
do_anonymous_page mm/memory.c:4784 [inline]
do_pte_missing mm/memory.c:3963 [inline]
handle_pte_fault+0x24dd/0x6820 mm/memory.c:5766
__handle_mm_fault mm/memory.c:5909 [inline]
handle_mm_fault+0x1053/0x1ad0 mm/memory.c:6077
do_user_addr_fault arch/x86/mm/fault.c:1338 [inline]
handle_page_fault arch/x86/mm/fault.c:1481 [inline]
exc_page_fault+0x459/0x8c0 arch/x86/mm/fault.c:1539
asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623
page last free pid 5811 tgid 5811 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1127 [inline]
free_unref_folios+0xf21/0x1a10 mm/page_alloc.c:2704
folios_put_refs+0x76c/0x860 mm/swap.c:993
free_pages_and_swap_cache+0x2ea/0x690 mm/swap_state.c:332
__tlb_batch_free_encoded_pages mm/mmu_gather.c:136 [inline]
tlb_batch_pages_flush mm/mmu_gather.c:149 [inline]
tlb_flush_mmu_free mm/mmu_gather.c:366 [inline]
tlb_flush_mmu+0x3a3/0x680 mm/mmu_gather.c:373
tlb_finish_mmu+0xd4/0x200 mm/mmu_gather.c:465
vms_clear_ptes+0x437/0x530 mm/vma.c:1102
vms_complete_munmap_vmas+0x214/0x8f0 mm/vma.c:1144
do_vmi_align_munmap+0x5ef/0x6f0 mm/vma.c:1353
do_vmi_munmap+0x24e/0x2d0 mm/vma.c:1401
__vm_munmap+0x24c/0x480 mm/mmap.c:1623
__do_sys_munmap mm/mmap.c:1640 [inline]
__se_sys_munmap mm/mmap.c:1637 [inline]
__x64_sys_munmap+0x60/0x70 mm/mmap.c:1637
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
Memory state around the buggy address:
ffff88807416df00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ffff88807416df80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffff88807416e000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
^
ffff88807416e080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ffff88807416e100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
==================================================================