BUG: Bad page state in process syz-executor.0 pfn:1e9dc
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x2d pfn:0x1e9dc
flags: 0xfff8000000800c(referenced|uptodate|private|node=0|zone=1|lastcpupid=0xfff)
page_type: 0xffffffff()
raw: 00fff8000000800c dead000000000100 dead000000000122 0000000000000000
raw: 000000000000002d ffff88807e5267c0 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 16103, tgid 791325328 (syz-executor.3), ts 16104, free_ts 722098267952
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x2d4/0x350 mm/page_alloc.c:1534
prep_new_page mm/page_alloc.c:1541 [inline]
get_page_from_freelist+0xa28/0x3780 mm/page_alloc.c:3317
__alloc_pages+0x22b/0x2460 mm/page_alloc.c:4575
alloc_pages_mpol+0x275/0x610 mm/mempolicy.c:2264
folio_alloc+0x1e/0x40 mm/mempolicy.c:2342
filemap_alloc_folio+0x3ba/0x490 mm/filemap.c:984
__filemap_get_folio+0x52b/0xa90 mm/filemap.c:1926
pagecache_get_page+0x2c/0x260 mm/folio-compat.c:93
find_or_create_page include/linux/pagemap.h:757 [inline]
grab_cache_page include/linux/pagemap.h:873 [inline]
__get_metapage+0x259/0x1170 fs/jfs/jfs_metapage.c:613
diNewExt+0x846/0x1ab0 fs/jfs/jfs_imap.c:2272
diAllocExt fs/jfs/jfs_imap.c:1949 [inline]
diAllocAG+0x170b/0x2340 fs/jfs/jfs_imap.c:1666
diAlloc+0x8f7/0x1a70 fs/jfs/jfs_imap.c:1587
ialloc+0x84/0x9e0 fs/jfs/jfs_inode.c:56
jfs_mkdir+0x244/0xb30 fs/jfs/namei.c:225
vfs_mkdir+0x580/0x820 fs/namei.c:4123
do_mkdirat+0x301/0x3a0 fs/namei.c:4146
page last free pid 5091 tgid 5074 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1141 [inline]
free_unref_page_prepare+0x527/0xb10 mm/page_alloc.c:2347
free_unref_page+0x33/0x3c0 mm/page_alloc.c:2487
qlink_free mm/kasan/quarantine.c:163 [inline]
qlist_free_all+0x4e/0x140 mm/kasan/quarantine.c:179
kasan_quarantine_reduce+0x192/0x1e0 mm/kasan/quarantine.c:286
__kasan_slab_alloc+0x69/0x90 mm/kasan/common.c:322
kasan_slab_alloc include/linux/kasan.h:201 [inline]
slab_post_alloc_hook mm/slub.c:3798 [inline]
slab_alloc_node mm/slub.c:3845 [inline]
kmem_cache_alloc_node+0x177/0x340 mm/slub.c:3888
__alloc_skb+0x2b1/0x380 net/core/skbuff.c:658
alloc_skb_fclone include/linux/skbuff.h:1363 [inline]
tcp_stream_alloc_skb+0x34/0x570 net/ipv4/tcp.c:873
tcp_sendmsg_locked+0xed5/0x3470 net/ipv4/tcp.c:1155
tcp_sendmsg+0x2e/0x50 net/ipv4/tcp.c:1342
inet_sendmsg+0xb9/0x140 net/ipv4/af_inet.c:851
sock_sendmsg_nosec net/socket.c:730 [inline]
__sock_sendmsg net/socket.c:745 [inline]
sock_write_iter+0x4b8/0x5c0 net/socket.c:1160
call_write_iter include/linux/fs.h:2110 [inline]
new_sync_write fs/read_write.c:497 [inline]
vfs_write+0x6de/0x1100 fs/read_write.c:590
ksys_write+0x1f8/0x260 fs/read_write.c:643
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
Modules linked in:
CPU: 1 PID: 16094 Comm: syz-executor.0 Not tainted 6.9.0-rc5-syzkaller-00159-gc942a0cd3603 #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+0x16c/0x1f0 lib/dump_stack.c:114
bad_page+0xb3/0x200 mm/page_alloc.c:515
free_page_is_bad_report mm/page_alloc.c:958 [inline]
free_page_is_bad mm/page_alloc.c:968 [inline]
free_pages_prepare mm/page_alloc.c:1133 [inline]
free_unref_page_prepare+0x54d/0xb10 mm/page_alloc.c:2347
free_unref_folios+0x256/0xad0 mm/page_alloc.c:2536
folios_put_refs+0x49c/0x750 mm/swap.c:1034
folios_put include/linux/mm.h:1565 [inline]
folio_batch_move_lru+0x2c5/0x400 mm/swap.c:240
lru_add_drain_cpu+0x534/0x860 mm/swap.c:667
lru_add_drain+0x109/0x440 mm/swap.c:767
exit_mmap+0x194/0xb90 mm/mmap.c:3262
__mmput+0x12a/0x4d0 kernel/fork.c:1346
mmput+0x62/0x70 kernel/fork.c:1368
exit_mm kernel/exit.c:569 [inline]
do_exit+0x999/0x2c10 kernel/exit.c:865
do_group_exit+0xd3/0x2a0 kernel/exit.c:1027
__do_sys_exit_group kernel/exit.c:1038 [inline]
__se_sys_exit_group kernel/exit.c:1036 [inline]
__x64_sys_exit_group+0x3e/0x50 kernel/exit.c:1036
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f72ba47dea9
Code: Unable to access opcode bytes at 0x7f72ba47de7f.
RSP: 002b:00007ffee9d8d688 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 000000000000001e RCX: 00007f72ba47dea9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000
R10: 00007f72ba400000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000001
BUG: Bad page state in process syz-executor.0 pfn:1e9dd
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x2e pfn:0x1e9dd
flags: 0xfff8000000800c(referenced|uptodate|private|node=0|zone=1|lastcpupid=0xfff)
page_type: 0xffffffff()
raw: 00fff8000000800c dead000000000100 dead000000000122 0000000000000000
raw: 000000000000002e ffff88807e526c98 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 16103, tgid 791464248 (syz-executor.3), ts 16104, free_ts 722098267952
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x2d4/0x350 mm/page_alloc.c:1534
prep_new_page mm/page_alloc.c:1541 [inline]
get_page_from_freelist+0xa28/0x3780 mm/page_alloc.c:3317
__alloc_pages+0x22b/0x2460 mm/page_alloc.c:4575
alloc_pages_mpol+0x275/0x610 mm/mempolicy.c:2264
folio_alloc+0x1e/0x40 mm/mempolicy.c:2342
filemap_alloc_folio+0x3ba/0x490 mm/filemap.c:984
__filemap_get_folio+0x52b/0xa90 mm/filemap.c:1926
pagecache_get_page+0x2c/0x260 mm/folio-compat.c:93
find_or_create_page include/linux/pagemap.h:757 [inline]
grab_cache_page include/linux/pagemap.h:873 [inline]
__get_metapage+0x259/0x1170 fs/jfs/jfs_metapage.c:613
diNewExt+0x846/0x1ab0 fs/jfs/jfs_imap.c:2272
diAllocExt fs/jfs/jfs_imap.c:1949 [inline]
diAllocAG+0x170b/0x2340 fs/jfs/jfs_imap.c:1666
diAlloc+0x8f7/0x1a70 fs/jfs/jfs_imap.c:1587
ialloc+0x84/0x9e0 fs/jfs/jfs_inode.c:56
jfs_mkdir+0x244/0xb30 fs/jfs/namei.c:225
vfs_mkdir+0x580/0x820 fs/namei.c:4123
do_mkdirat+0x301/0x3a0 fs/namei.c:4146
page last free pid 5091 tgid 5074 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1141 [inline]
free_unref_page_prepare+0x527/0xb10 mm/page_alloc.c:2347
free_unref_page+0x33/0x3c0 mm/page_alloc.c:2487
qlink_free mm/kasan/quarantine.c:163 [inline]
qlist_free_all+0x4e/0x140 mm/kasan/quarantine.c:179
kasan_quarantine_reduce+0x192/0x1e0 mm/kasan/quarantine.c:286
__kasan_slab_alloc+0x69/0x90 mm/kasan/common.c:322
kasan_slab_alloc include/linux/kasan.h:201 [inline]
slab_post_alloc_hook mm/slub.c:3798 [inline]
slab_alloc_node mm/slub.c:3845 [inline]
kmem_cache_alloc_node+0x177/0x340 mm/slub.c:3888
__alloc_skb+0x2b1/0x380 net/core/skbuff.c:658
alloc_skb_fclone include/linux/skbuff.h:1363 [inline]
tcp_stream_alloc_skb+0x34/0x570 net/ipv4/tcp.c:873
tcp_sendmsg_locked+0xed5/0x3470 net/ipv4/tcp.c:1155
tcp_sendmsg+0x2e/0x50 net/ipv4/tcp.c:1342
inet_sendmsg+0xb9/0x140 net/ipv4/af_inet.c:851
sock_sendmsg_nosec net/socket.c:730 [inline]
__sock_sendmsg net/socket.c:745 [inline]
sock_write_iter+0x4b8/0x5c0 net/socket.c:1160
call_write_iter include/linux/fs.h:2110 [inline]
new_sync_write fs/read_write.c:497 [inline]
vfs_write+0x6de/0x1100 fs/read_write.c:590
ksys_write+0x1f8/0x260 fs/read_write.c:643
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
Modules linked in:
CPU: 1 PID: 16094 Comm: syz-executor.0 Tainted: G B 6.9.0-rc5-syzkaller-00159-gc942a0cd3603 #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+0x16c/0x1f0 lib/dump_stack.c:114
bad_page+0xb3/0x200 mm/page_alloc.c:515
free_page_is_bad_report mm/page_alloc.c:958 [inline]
free_page_is_bad mm/page_alloc.c:968 [inline]
free_pages_prepare mm/page_alloc.c:1133 [inline]
free_unref_page_prepare+0x54d/0xb10 mm/page_alloc.c:2347
free_unref_folios+0x256/0xad0 mm/page_alloc.c:2536
folios_put_refs+0x49c/0x750 mm/swap.c:1034
folios_put include/linux/mm.h:1565 [inline]
folio_batch_move_lru+0x2c5/0x400 mm/swap.c:240
lru_add_drain_cpu+0x534/0x860 mm/swap.c:667
lru_add_drain+0x109/0x440 mm/swap.c:767
exit_mmap+0x194/0xb90 mm/mmap.c:3262
__mmput+0x12a/0x4d0 kernel/fork.c:1346
mmput+0x62/0x70 kernel/fork.c:1368
exit_mm kernel/exit.c:569 [inline]
do_exit+0x999/0x2c10 kernel/exit.c:865
do_group_exit+0xd3/0x2a0 kernel/exit.c:1027
__do_sys_exit_group kernel/exit.c:1038 [inline]
__se_sys_exit_group kernel/exit.c:1036 [inline]
__x64_sys_exit_group+0x3e/0x50 kernel/exit.c:1036
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f72ba47dea9
Code: Unable to access opcode bytes at 0x7f72ba47de7f.
RSP: 002b:00007ffee9d8d688 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 000000000000001e RCX: 00007f72ba47dea9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000
R10: 00007f72ba400000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000001
BUG: Bad page state in process syz-executor.0 pfn:1e9de
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x2f pfn:0x1e9de
flags: 0xfff8000000800c(referenced|uptodate|private|node=0|zone=1|lastcpupid=0xfff)
page_type: 0xffffffff()
raw: 00fff8000000800c dead000000000100 dead000000000122 0000000000000000
raw: 000000000000002f ffff88807e526e88 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 16103, tgid 791565498 (syz-executor.3), ts 16104, free_ts 722098267952
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x2d4/0x350 mm/page_alloc.c:1534
prep_new_page mm/page_alloc.c:1541 [inline]
get_page_from_freelist+0xa28/0x3780 mm/page_alloc.c:3317
__alloc_pages+0x22b/0x2460 mm/page_alloc.c:4575
alloc_pages_mpol+0x275/0x610 mm/mempolicy.c:2264
folio_alloc+0x1e/0x40 mm/mempolicy.c:2342
filemap_alloc_folio+0x3ba/0x490 mm/filemap.c:984
__filemap_get_folio+0x52b/0xa90 mm/filemap.c:1926
pagecache_get_page+0x2c/0x260 mm/folio-compat.c:93
find_or_create_page include/linux/pagemap.h:757 [inline]
grab_cache_page include/linux/pagemap.h:873 [inline]
__get_metapage+0x259/0x1170 fs/jfs/jfs_metapage.c:613
diNewExt+0x846/0x1ab0 fs/jfs/jfs_imap.c:2272
diAllocExt fs/jfs/jfs_imap.c:1949 [inline]
diAllocAG+0x170b/0x2340 fs/jfs/jfs_imap.c:1666
diAlloc+0x8f7/0x1a70 fs/jfs/jfs_imap.c:1587
ialloc+0x84/0x9e0 fs/jfs/jfs_inode.c:56
jfs_mkdir+0x244/0xb30 fs/jfs/namei.c:225
vfs_mkdir+0x580/0x820 fs/namei.c:4123
do_mkdirat+0x301/0x3a0 fs/namei.c:4146
page last free pid 5091 tgid 5074 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1141 [inline]
free_unref_page_prepare+0x527/0xb10 mm/page_alloc.c:2347
free_unref_page+0x33/0x3c0 mm/page_alloc.c:2487
qlink_free mm/kasan/quarantine.c:163 [inline]
qlist_free_all+0x4e/0x140 mm/kasan/quarantine.c:179
kasan_quarantine_reduce+0x192/0x1e0 mm/kasan/quarantine.c:286
__kasan_slab_alloc+0x69/0x90 mm/kasan/common.c:322
kasan_slab_alloc include/linux/kasan.h:201 [inline]
slab_post_alloc_hook mm/slub.c:3798 [inline]
slab_alloc_node mm/slub.c:3845 [inline]
kmem_cache_alloc_node+0x177/0x340 mm/slub.c:3888
__alloc_skb+0x2b1/0x380 net/core/skbuff.c:658
alloc_skb_fclone include/linux/skbuff.h:1363 [inline]
tcp_stream_alloc_skb+0x34/0x570 net/ipv4/tcp.c:873
tcp_sendmsg_locked+0xed5/0x3470 net/ipv4/tcp.c:1155
tcp_sendmsg+0x2e/0x50 net/ipv4/tcp.c:1342
inet_sendmsg+0xb9/0x140 net/ipv4/af_inet.c:851
sock_sendmsg_nosec net/socket.c:730 [inline]
__sock_sendmsg net/socket.c:745 [inline]
sock_write_iter+0x4b8/0x5c0 net/socket.c:1160
call_write_iter include/linux/fs.h:2110 [inline]
new_sync_write fs/read_write.c:497 [inline]
vfs_write+0x6de/0x1100 fs/read_write.c:590
ksys_write+0x1f8/0x260 fs/read_write.c:643
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
Modules linked in:
CPU: 1 PID: 16094 Comm: syz-executor.0 Tainted: G B 6.9.0-rc5-syzkaller-00159-gc942a0cd3603 #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+0x16c/0x1f0 lib/dump_stack.c:114
bad_page+0xb3/0x200 mm/page_alloc.c:515
free_page_is_bad_report mm/page_alloc.c:958 [inline]
free_page_is_bad mm/page_alloc.c:968 [inline]
free_pages_prepare mm/page_alloc.c:1133 [inline]
free_unref_page_prepare+0x54d/0xb10 mm/page_alloc.c:2347
free_unref_folios+0x256/0xad0 mm/page_alloc.c:2536
folios_put_refs+0x49c/0x750 mm/swap.c:1034
folios_put include/linux/mm.h:1565 [inline]
folio_batch_move_lru+0x2c5/0x400 mm/swap.c:240
lru_add_drain_cpu+0x534/0x860 mm/swap.c:667
lru_add_drain+0x109/0x440 mm/swap.c:767
exit_mmap+0x194/0xb90 mm/mmap.c:3262
__mmput+0x12a/0x4d0 kernel/fork.c:1346
mmput+0x62/0x70 kernel/fork.c:1368
exit_mm kernel/exit.c:569 [inline]
do_exit+0x999/0x2c10 kernel/exit.c:865
do_group_exit+0xd3/0x2a0 kernel/exit.c:1027
__do_sys_exit_group kernel/exit.c:1038 [inline]
__se_sys_exit_group kernel/exit.c:1036 [inline]
__x64_sys_exit_group+0x3e/0x50 kernel/exit.c:1036
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f72ba47dea9
Code: Unable to access opcode bytes at 0x7f72ba47de7f.
RSP: 002b:00007ffee9d8d688 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 000000000000001e RCX: 00007f72ba47dea9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000
R10: 00007f72ba400000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000001