loop4: detected capacity change from 0 to 32768
ERROR: (device loop4): jfs_readdir: JFS:Dtree error: ino = 2, bn=48, index = 1
ERROR: (device loop4): remounting filesystem as read-only
BUG: Bad page state in process syz-executor.4 pfn:5a073
page:ffffea0001681cc0 refcount:0 mapcount:0 mapping:0000000000000000 index:0x2f pfn:0x5a073
flags: 0xfff80000002006(referenced|uptodate|private|node=0|zone=1|lastcpupid=0xfff)
raw: 00fff80000002006 ffffea000169b548 ffffc90005787900 0000000000000000
raw: 000000000000002f ffff88805a6d02e8 00000000ffffffff 0000000000000000
page dumped because: PAGE_FLAGS_CHECK_AT_FREE flag(s) set
page_owner tracks the page as allocated
page last allocated via order 0, migratetype Unmovable, gfp_mask 0x140c40(GFP_NOFS|__GFP_COMP|__GFP_HARDWALL), pid 3795, tgid 3794 (syz-executor.4), ts 66477794870, free_ts 65183504851
set_page_owner include/linux/page_owner.h:31 [inline]
post_alloc_hook+0x18d/0x1b0 mm/page_alloc.c:2513
prep_new_page mm/page_alloc.c:2520 [inline]
get_page_from_freelist+0x31a1/0x3320 mm/page_alloc.c:4279
__alloc_pages+0x28d/0x770 mm/page_alloc.c:5547
folio_alloc+0x1a/0x50 mm/mempolicy.c:2292
filemap_alloc_folio+0xda/0x4f0 mm/filemap.c:971
__filemap_get_folio+0x749/0xe80 mm/filemap.c:1965
pagecache_get_page+0x28/0x250 mm/folio-compat.c:110
find_or_create_page include/linux/pagemap.h:646 [inline]
grab_cache_page include/linux/pagemap.h:778 [inline]
__get_metapage+0x2b0/0x1040 fs/jfs/jfs_metapage.c:613
diNewExt+0xacb/0x37e0 fs/jfs/jfs_imap.c:2272
diAllocExt fs/jfs/jfs_imap.c:1949 [inline]
diAllocAG+0xbe4/0x1e50 fs/jfs/jfs_imap.c:1666
diAlloc+0x1cf/0x1750 fs/jfs/jfs_imap.c:1587
ialloc+0x8b/0x970 fs/jfs/jfs_inode.c:56
jfs_mkdir+0x1c1/0xbb0 fs/jfs/namei.c:225
vfs_mkdir+0x3b6/0x590 fs/namei.c:4108
do_mkdirat+0x225/0x360 fs/namei.c:4133
__do_sys_mkdirat fs/namei.c:4148 [inline]
__se_sys_mkdirat fs/namei.c:4146 [inline]
__x64_sys_mkdirat+0x85/0x90 fs/namei.c:4146
page last free stack trace:
reset_page_owner include/linux/page_owner.h:24 [inline]
free_pages_prepare mm/page_alloc.c:1440 [inline]
free_pcp_prepare mm/page_alloc.c:1490 [inline]
free_unref_page_prepare+0xf63/0x1120 mm/page_alloc.c:3358
free_unref_page+0x33/0x3e0 mm/page_alloc.c:3453
mon_free_buff drivers/usb/mon/mon_bin.c:1358 [inline]
mon_bin_release+0x149/0x200 drivers/usb/mon/mon_bin.c:792
__fput+0x3b7/0x890 fs/file_table.c:320
task_work_run+0x246/0x300 kernel/task_work.c:179
get_signal+0x15fc/0x17d0 kernel/signal.c:2639
arch_do_signal_or_restart+0xb0/0x1a10 arch/x86/kernel/signal.c:871
exit_to_user_mode_loop+0x6a/0x100 kernel/entry/common.c:174
exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210
__syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline]
syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:303
do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:87
entry_SYSCALL_64_after_hwframe+0x68/0xd2
Modules linked in:
CPU: 1 PID: 3795 Comm: syz-executor.4 Not tainted 6.1.87-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106
bad_page+0x14b/0x170 mm/page_alloc.c:699
free_page_is_bad_report mm/page_alloc.c:1277 [inline]
free_page_is_bad mm/page_alloc.c:1287 [inline]
free_pages_prepare mm/page_alloc.c:1433 [inline]
free_pcp_prepare mm/page_alloc.c:1490 [inline]
free_unref_page_prepare+0x56b/0x1120 mm/page_alloc.c:3358
free_unref_page_list+0x663/0x900 mm/page_alloc.c:3499
release_pages+0x2836/0x2b40 mm/swap.c:1055
__pagevec_release+0x80/0xf0 mm/swap.c:1075
pagevec_release include/linux/pagevec.h:71 [inline]
folio_batch_release include/linux/pagevec.h:135 [inline]
truncate_inode_pages_range+0x48a/0x1340 mm/truncate.c:372
jfs_remount+0x360/0x6a0 fs/jfs/super.c:451
reconfigure_super+0x43a/0x870 fs/super.c:966
do_remount fs/namespace.c:2707 [inline]
path_mount+0xe69/0x1090 fs/namespace.c:3373
do_mount fs/namespace.c:3394 [inline]
__do_sys_mount fs/namespace.c:3602 [inline]
__se_sys_mount+0x2d5/0x3c0 fs/namespace.c:3579
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f934c47f5aa
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 09 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f934d19cef8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f934d19cf80 RCX: 00007f934c47f5aa
RDX: 0000000020000180 RSI: 0000000020000100 RDI: 0000000000000000
RBP: 0000000020000180 R08: 00007f934d19cf80 R09: 0000000000a4247e
R10: 0000000000a4247e R11: 0000000000000202 R12: 0000000020000100
R13: 00007f934d19cf40 R14: 0000000000000000 R15: 0000000020000000
BUG: Bad page state in process syz-executor.4 pfn:5a6d5
page:ffffea000169b540 refcount:0 mapcount:0 mapping:0000000000000000 index:0x2e pfn:0x5a6d5
flags: 0xfff80000002006(referenced|uptodate|private|node=0|zone=1|lastcpupid=0xfff)
raw: 00fff80000002006 ffffea000169b4c8 ffffc90005787900 0000000000000000
raw: 000000000000002e ffff88805a6d01f0 00000000ffffffff 0000000000000000
page dumped because: PAGE_FLAGS_CHECK_AT_FREE flag(s) set
page_owner tracks the page as allocated
page last allocated via order 0, migratetype Unmovable, gfp_mask 0x140c40(GFP_NOFS|__GFP_COMP|__GFP_HARDWALL), pid 3795, tgid 3794 (syz-executor.4), ts 66477752046, free_ts 65183544610
set_page_owner include/linux/page_owner.h:31 [inline]
post_alloc_hook+0x18d/0x1b0 mm/page_alloc.c:2513
prep_new_page mm/page_alloc.c:2520 [inline]
get_page_from_freelist+0x31a1/0x3320 mm/page_alloc.c:4279
__alloc_pages+0x28d/0x770 mm/page_alloc.c:5547
folio_alloc+0x1a/0x50 mm/mempolicy.c:2292
filemap_alloc_folio+0xda/0x4f0 mm/filemap.c:971
__filemap_get_folio+0x749/0xe80 mm/filemap.c:1965
pagecache_get_page+0x28/0x250 mm/folio-compat.c:110
find_or_create_page include/linux/pagemap.h:646 [inline]
grab_cache_page include/linux/pagemap.h:778 [inline]
__get_metapage+0x2b0/0x1040 fs/jfs/jfs_metapage.c:613
diNewExt+0xacb/0x37e0 fs/jfs/jfs_imap.c:2272
diAllocExt fs/jfs/jfs_imap.c:1949 [inline]
diAllocAG+0xbe4/0x1e50 fs/jfs/jfs_imap.c:1666
diAlloc+0x1cf/0x1750 fs/jfs/jfs_imap.c:1587
ialloc+0x8b/0x970 fs/jfs/jfs_inode.c:56
jfs_mkdir+0x1c1/0xbb0 fs/jfs/namei.c:225
vfs_mkdir+0x3b6/0x590 fs/namei.c:4108
do_mkdirat+0x225/0x360 fs/namei.c:4133
__do_sys_mkdirat fs/namei.c:4148 [inline]
__se_sys_mkdirat fs/namei.c:4146 [inline]
__x64_sys_mkdirat+0x85/0x90 fs/namei.c:4146
page last free stack trace:
reset_page_owner include/linux/page_owner.h:24 [inline]
free_pages_prepare mm/page_alloc.c:1440 [inline]
free_pcp_prepare mm/page_alloc.c:1490 [inline]
free_unref_page_prepare+0xf63/0x1120 mm/page_alloc.c:3358
free_unref_page+0x33/0x3e0 mm/page_alloc.c:3453
mon_free_buff drivers/usb/mon/mon_bin.c:1358 [inline]
mon_bin_release+0x149/0x200 drivers/usb/mon/mon_bin.c:792
__fput+0x3b7/0x890 fs/file_table.c:320
task_work_run+0x246/0x300 kernel/task_work.c:179
get_signal+0x15fc/0x17d0 kernel/signal.c:2639
arch_do_signal_or_restart+0xb0/0x1a10 arch/x86/kernel/signal.c:871
exit_to_user_mode_loop+0x6a/0x100 kernel/entry/common.c:174
exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210
__syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline]
syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:303
do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:87
entry_SYSCALL_64_after_hwframe+0x68/0xd2
Modules linked in:
CPU: 0 PID: 3795 Comm: syz-executor.4 Tainted: G B 6.1.87-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106
bad_page+0x14b/0x170 mm/page_alloc.c:699
free_page_is_bad_report mm/page_alloc.c:1277 [inline]
free_page_is_bad mm/page_alloc.c:1287 [inline]
free_pages_prepare mm/page_alloc.c:1433 [inline]
free_pcp_prepare mm/page_alloc.c:1490 [inline]
free_unref_page_prepare+0x56b/0x1120 mm/page_alloc.c:3358
free_unref_page_list+0x663/0x900 mm/page_alloc.c:3499
release_pages+0x2836/0x2b40 mm/swap.c:1055
__pagevec_release+0x80/0xf0 mm/swap.c:1075
pagevec_release include/linux/pagevec.h:71 [inline]
folio_batch_release include/linux/pagevec.h:135 [inline]
truncate_inode_pages_range+0x48a/0x1340 mm/truncate.c:372
jfs_remount+0x360/0x6a0 fs/jfs/super.c:451
reconfigure_super+0x43a/0x870 fs/super.c:966
do_remount fs/namespace.c:2707 [inline]
path_mount+0xe69/0x1090 fs/namespace.c:3373
do_mount fs/namespace.c:3394 [inline]
__do_sys_mount fs/namespace.c:3602 [inline]
__se_sys_mount+0x2d5/0x3c0 fs/namespace.c:3579
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f934c47f5aa
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 09 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f934d19cef8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f934d19cf80 RCX: 00007f934c47f5aa
RDX: 0000000020000180 RSI: 0000000020000100 RDI: 0000000000000000
RBP: 0000000020000180 R08: 00007f934d19cf80 R09: 0000000000a4247e
R10: 0000000000a4247e R11: 0000000000000202 R12: 0000000020000100
R13: 00007f934d19cf40 R14: 0000000000000000 R15: 0000000020000000
BUG: Bad page state in process syz-executor.4 pfn:5a6d3
page:ffffea000169b4c0 refcount:0 mapcount:0 mapping:0000000000000000 index:0x2d pfn:0x5a6d3
flags: 0xfff80000002006(referenced|uptodate|private|node=0|zone=1|lastcpupid=0xfff)
raw: 00fff80000002006 ffffea0001633808 ffffc90005787900 0000000000000000
raw: 000000000000002d ffff88805a6d00f8 00000000ffffffff 0000000000000000
page dumped because: PAGE_FLAGS_CHECK_AT_FREE flag(s) set
page_owner tracks the page as allocated
page last allocated via order 0, migratetype Unmovable, gfp_mask 0x140c40(GFP_NOFS|__GFP_COMP|__GFP_HARDWALL), pid 3795, tgid 3794 (syz-executor.4), ts 66477654973, free_ts 65183554413
set_page_owner include/linux/page_owner.h:31 [inline]
post_alloc_hook+0x18d/0x1b0 mm/page_alloc.c:2513
prep_new_page mm/page_alloc.c:2520 [inline]
get_page_from_freelist+0x31a1/0x3320 mm/page_alloc.c:4279
__alloc_pages+0x28d/0x770 mm/page_alloc.c:5547
folio_alloc+0x1a/0x50 mm/mempolicy.c:2292
filemap_alloc_folio+0xda/0x4f0 mm/filemap.c:971
__filemap_get_folio+0x749/0xe80 mm/filemap.c:1965
pagecache_get_page+0x28/0x250 mm/folio-compat.c:110
find_or_create_page include/linux/pagemap.h:646 [inline]
grab_cache_page include/linux/pagemap.h:778 [inline]
__get_metapage+0x2b0/0x1040 fs/jfs/jfs_metapage.c:613
diNewExt+0xacb/0x37e0 fs/jfs/jfs_imap.c:2272
diAllocExt fs/jfs/jfs_imap.c:1949 [inline]
diAllocAG+0xbe4/0x1e50 fs/jfs/jfs_imap.c:1666
diAlloc+0x1cf/0x1750 fs/jfs/jfs_imap.c:1587
ialloc+0x8b/0x970 fs/jfs/jfs_inode.c:56
jfs_mkdir+0x1c1/0xbb0 fs/jfs/namei.c:225
vfs_mkdir+0x3b6/0x590 fs/namei.c:4108
do_mkdirat+0x225/0x360 fs/namei.c:4133
__do_sys_mkdirat fs/namei.c:4148 [inline]
__se_sys_mkdirat fs/namei.c:4146 [inline]
__x64_sys_mkdirat+0x85/0x90 fs/namei.c:4146
page last free stack trace:
reset_page_owner include/linux/page_owner.h:24 [inline]
free_pages_prepare mm/page_alloc.c:1440 [inline]
free_pcp_prepare mm/page_alloc.c:1490 [inline]
free_unref_page_prepare+0xf63/0x1120 mm/page_alloc.c:3358
free_unref_page+0x33/0x3e0 mm/page_alloc.c:3453
mon_free_buff drivers/usb/mon/mon_bin.c:1358 [inline]
mon_bin_release+0x149/0x200 drivers/usb/mon/mon_bin.c:792
__fput+0x3b7/0x890 fs/file_table.c:320
task_work_run+0x246/0x300 kernel/task_work.c:179
get_signal+0x15fc/0x17d0 kernel/signal.c:2639
arch_do_signal_or_restart+0xb0/0x1a10 arch/x86/kernel/signal.c:871
exit_to_user_mode_loop+0x6a/0x100 kernel/entry/common.c:174
exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210
__syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline]
syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:303
do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:87
entry_SYSCALL_64_after_hwframe+0x68/0xd2
Modules linked in:
CPU: 0 PID: 3795 Comm: syz-executor.4 Tainted: G B 6.1.87-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106
bad_page+0x14b/0x170 mm/page_alloc.c:699
free_page_is_bad_report mm/page_alloc.c:1277 [inline]
free_page_is_bad mm/page_alloc.c:1287 [inline]
free_pages_prepare mm/page_alloc.c:1433 [inline]
free_pcp_prepare mm/page_alloc.c:1490 [inline]
free_unref_page_prepare+0x56b/0x1120 mm/page_alloc.c:3358
free_unref_page_list+0x663/0x900 mm/page_alloc.c:3499
release_pages+0x2836/0x2b40 mm/swap.c:1055
__pagevec_release+0x80/0xf0 mm/swap.c:1075
pagevec_release include/linux/pagevec.h:71 [inline]
folio_batch_release include/linux/pagevec.h:135 [inline]
truncate_inode_pages_range+0x48a/0x1340 mm/truncate.c:372
jfs_remount+0x360/0x6a0 fs/jfs/super.c:451
reconfigure_super+0x43a/0x870 fs/super.c:966
do_remount fs/namespace.c:2707 [inline]
path_mount+0xe69/0x1090 fs/namespace.c:3373
do_mount fs/namespace.c:3394 [inline]
__do_sys_mount fs/namespace.c:3602 [inline]
__se_sys_mount+0x2d5/0x3c0 fs/namespace.c:3579
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f934c47f5aa
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 09 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f934d19cef8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f934d19cf80 RCX: 00007f934c47f5aa
RDX: 0000000020000180 RSI: 0000000020000100 RDI: 0000000000000000
RBP: 0000000020000180 R08: 00007f934d19cf80 R09: 0000000000a4247e
R10: 0000000000a4247e R11: 0000000000000202 R12: 0000000020000100
R13: 00007f934d19cf40 R14: 0000000000000000 R15: 0000000020000000