BUG: Bad page map in process syz-executor.2 pte:fffff6e28c120 pmd:91019067
page:ffffea0002475cc0 refcount:1024 mapcount:-1 mapping:ffff888093813218 index:0x173 pfn:0x91d73
head:ffffea0002470000 order:9 entire_mapcount:0 nr_pages_mapped:138 pincount:0
memcg:ffff8880277d8000
aops:shmem_aops ino:5d3 dentry name:"dev/zero"
flags: 0xfff5800008027c(referenced|uptodate|dirty|lru|workingset|head|swapbacked|node=0|zone=1|lastcpupid=0x7ff)
page_type: 0xffffffff()
raw: 00fff00000000000 ffffea0002470001 ffffea0002475cc8 dead000000000400
raw: 0000000000000000 0000000000000000 00000000fffffffe 0000000000000000
head: 00fff5800008027c ffff8880277da1a8 ffffea00014b3e08 ffff888093813218
head: 0000000000000000 0000000000000000 00000400ffffffff ffff8880277d8000
page dumped because: bad pte
page_owner tracks the page as allocated
page last allocated via order 9, migratetype Movable, gfp_mask 0x1c24ca(GFP_TRANSHUGE), pid 6648, tgid 6627 (syz-executor.2), ts 1104946924034, free_ts 1104630520316
set_page_owner include/linux/page_owner.h:31 [inline]
post_alloc_hook+0x2cf/0x340 mm/page_alloc.c:1536
prep_new_page mm/page_alloc.c:1543 [inline]
get_page_from_freelist+0xee0/0x2f20 mm/page_alloc.c:3170
__alloc_pages+0x1d0/0x4a0 mm/page_alloc.c:4426
hpage_collapse_alloc_page mm/khugepaged.c:893 [inline]
alloc_charge_hpage+0x2ba/0xbd0 mm/khugepaged.c:1066
collapse_file+0x20c/0x5720 mm/khugepaged.c:1807
hpage_collapse_scan_file+0xc82/0x1640 mm/khugepaged.c:2306
madvise_collapse+0x523/0xb70 mm/khugepaged.c:2748
madvise_vma_behavior+0x200/0x1e60 mm/madvise.c:1096
madvise_walk_vmas+0x1cf/0x2c0 mm/madvise.c:1270
do_madvise+0x333/0x660 mm/madvise.c:1450
__do_sys_madvise mm/madvise.c:1463 [inline]
__se_sys_madvise mm/madvise.c:1461 [inline]
__x64_sys_madvise+0xaa/0x110 mm/madvise.c:1461
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
page last free stack trace:
reset_page_owner include/linux/page_owner.h:24 [inline]
free_pages_prepare mm/page_alloc.c:1136 [inline]
free_unref_page_prepare+0x476/0xa40 mm/page_alloc.c:2312
free_unref_page+0x33/0x3b0 mm/page_alloc.c:2405
__folio_put+0xeb/0x110 mm/swap.c:127
folio_put include/linux/mm.h:1475 [inline]
io_mem_free.part.0+0x1c6/0x220 io_uring/io_uring.c:2640
io_mem_free io_uring/io_uring.c:2637 [inline]
io_rings_free+0xca/0x3d0 io_uring/io_uring.c:2715
io_ring_ctx_free io_uring/io_uring.c:2894 [inline]
io_ring_exit_work+0xe7c/0x1600 io_uring/io_uring.c:3124
process_one_work+0x887/0x15d0 kernel/workqueue.c:2630
process_scheduled_works kernel/workqueue.c:2703 [inline]
worker_thread+0x8bb/0x1290 kernel/workqueue.c:2784
kthread+0x33a/0x430 kernel/kthread.c:388
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304
addr:0000000020175000 vm_flags:080000f8 anon_vma:0000000000000000 mapping:ffff888093813218 index:175
file:dev/zero fault:shmem_fault mmap:shmem_mmap read_folio:0x0
CPU: 0 PID: 6662 Comm: syz-executor.2 Not tainted 6.5.0-syzkaller-11812-g7733171926cc #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x125/0x1b0 lib/dump_stack.c:106
print_bad_pte+0x501/0x7a0 mm/memory.c:535
zap_pte_range mm/memory.c:1458 [inline]
zap_pmd_range mm/memory.c:1573 [inline]
zap_pud_range mm/memory.c:1602 [inline]
zap_p4d_range mm/memory.c:1623 [inline]
unmap_page_range+0x216a/0x2c10 mm/memory.c:1644
unmap_single_vma+0x194/0x2b0 mm/memory.c:1690
unmap_vmas+0x1e8/0x330 mm/memory.c:1731
exit_mmap+0x1ad/0xa60 mm/mmap.c:3210
__mmput+0x12a/0x4d0 kernel/fork.c:1349
mmput+0x62/0x70 kernel/fork.c:1371
exit_mm kernel/exit.c:567 [inline]
do_exit+0x9b4/0x2a20 kernel/exit.c:861
do_group_exit+0xd4/0x2a0 kernel/exit.c:1024
get_signal+0x23d1/0x27b0 kernel/signal.c:2892
arch_do_signal_or_restart+0x90/0x7f0 arch/x86/kernel/signal.c:309
exit_to_user_mode_loop kernel/entry/common.c:168 [inline]
exit_to_user_mode_prepare+0x11f/0x240 kernel/entry/common.c:204
irqentry_exit_to_user_mode+0x9/0x40 kernel/entry/common.c:309
asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570
RIP: 0033:0x3bbc7559
Code: Unable to access opcode bytes at 0x3bbc752f.
RSP: 002b:0000000020000068 EFLAGS: 00010217
RAX: 0000000000000000 RBX: 00007f38bfb9bf80 RCX: 00007f38bfa7cae9
RDX: 0000000020000080 RSI: 0000000020000060 RDI: 000000000802c480
RBP: 00007f38bfac847a R08: 0000000020000100 R09: 0000000020000100
R10: 00000000200000c0 R11: 0000000000000202 R12: 0000000000000000
R13: 000000000000000b R14: 00007f38bfb9bf80 R15: 00007f38bfcbfa48
BUG: Bad page map in process syz-executor.2 pte:fffff6e28d120 pmd:91019067
page:ffffea0002475c80 refcount:1024 mapcount:-1 mapping:ffff888093813218 index:0x172 pfn:0x91d72
head:ffffea0002470000 order:9 entire_mapcount:0 nr_pages_mapped:137 pincount:0
memcg:ffff8880277d8000
aops:shmem_aops ino:5d3 dentry name:"dev/zero"
flags: 0xfff5800008027c(referenced|uptodate|dirty|lru|workingset|head|swapbacked|node=0|zone=1|lastcpupid=0x7ff)
page_type: 0xffffffff()
raw: 00fff00000000000 ffffea0002470001 ffffea0002475c88 dead000000000400
raw: 0000000000000000 0000000000000000 00000000fffffffe 0000000000000000
head: 00fff5800008027c ffff8880277da1a8 ffffea00014b3e08 ffff888093813218
head: 0000000000000000 0000000000000000 00000400ffffffff ffff8880277d8000
page dumped because: bad pte
page_owner tracks the page as allocated
page last allocated via order 9, migratetype Movable, gfp_mask 0x1c24ca(GFP_TRANSHUGE), pid 6648, tgid 6627 (syz-executor.2), ts 1104946924034, free_ts 1104630520316
set_page_owner include/linux/page_owner.h:31 [inline]
post_alloc_hook+0x2cf/0x340 mm/page_alloc.c:1536
prep_new_page mm/page_alloc.c:1543 [inline]
get_page_from_freelist+0xee0/0x2f20 mm/page_alloc.c:3170
__alloc_pages+0x1d0/0x4a0 mm/page_alloc.c:4426
hpage_collapse_alloc_page mm/khugepaged.c:893 [inline]
alloc_charge_hpage+0x2ba/0xbd0 mm/khugepaged.c:1066
collapse_file+0x20c/0x5720 mm/khugepaged.c:1807
hpage_collapse_scan_file+0xc82/0x1640 mm/khugepaged.c:2306
madvise_collapse+0x523/0xb70 mm/khugepaged.c:2748
madvise_vma_behavior+0x200/0x1e60 mm/madvise.c:1096
madvise_walk_vmas+0x1cf/0x2c0 mm/madvise.c:1270
do_madvise+0x333/0x660 mm/madvise.c:1450
__do_sys_madvise mm/madvise.c:1463 [inline]
__se_sys_madvise mm/madvise.c:1461 [inline]
__x64_sys_madvise+0xaa/0x110 mm/madvise.c:1461
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
page last free stack trace:
reset_page_owner include/linux/page_owner.h:24 [inline]
free_pages_prepare mm/page_alloc.c:1136 [inline]
free_unref_page_prepare+0x476/0xa40 mm/page_alloc.c:2312
free_unref_page+0x33/0x3b0 mm/page_alloc.c:2405
__folio_put+0xeb/0x110 mm/swap.c:127
folio_put include/linux/mm.h:1475 [inline]
io_mem_free.part.0+0x1c6/0x220 io_uring/io_uring.c:2640
io_mem_free io_uring/io_uring.c:2637 [inline]
io_rings_free+0xca/0x3d0 io_uring/io_uring.c:2715
io_ring_ctx_free io_uring/io_uring.c:2894 [inline]
io_ring_exit_work+0xe7c/0x1600 io_uring/io_uring.c:3124
process_one_work+0x887/0x15d0 kernel/workqueue.c:2630
process_scheduled_works kernel/workqueue.c:2703 [inline]
worker_thread+0x8bb/0x1290 kernel/workqueue.c:2784
kthread+0x33a/0x430 kernel/kthread.c:388
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304
addr:0000000020176000 vm_flags:080000f8 anon_vma:0000000000000000 mapping:ffff888093813218 index:176
file:dev/zero fault:shmem_fault mmap:shmem_mmap read_folio:0x0
CPU: 1 PID: 6662 Comm: syz-executor.2 Tainted: G B 6.5.0-syzkaller-11812-g7733171926cc #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x125/0x1b0 lib/dump_stack.c:106
print_bad_pte+0x501/0x7a0 mm/memory.c:535
zap_pte_range mm/memory.c:1458 [inline]
zap_pmd_range mm/memory.c:1573 [inline]
zap_pud_range mm/memory.c:1602 [inline]
zap_p4d_range mm/memory.c:1623 [inline]
unmap_page_range+0x216a/0x2c10 mm/memory.c:1644
unmap_single_vma+0x194/0x2b0 mm/memory.c:1690
unmap_vmas+0x1e8/0x330 mm/memory.c:1731
exit_mmap+0x1ad/0xa60 mm/mmap.c:3210
__mmput+0x12a/0x4d0 kernel/fork.c:1349
mmput+0x62/0x70 kernel/fork.c:1371
exit_mm kernel/exit.c:567 [inline]
do_exit+0x9b4/0x2a20 kernel/exit.c:861
do_group_exit+0xd4/0x2a0 kernel/exit.c:1024
get_signal+0x23d1/0x27b0 kernel/signal.c:2892
arch_do_signal_or_restart+0x90/0x7f0 arch/x86/kernel/signal.c:309
exit_to_user_mode_loop kernel/entry/common.c:168 [inline]
exit_to_user_mode_prepare+0x11f/0x240 kernel/entry/common.c:204
irqentry_exit_to_user_mode+0x9/0x40 kernel/entry/common.c:309
asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570
RIP: 0033:0x3bbc7559
Code: Unable to access opcode bytes at 0x3bbc752f.
RSP: 002b:0000000020000068 EFLAGS: 00010217
RAX: 0000000000000000 RBX: 00007f38bfb9bf80 RCX: 00007f38bfa7cae9
RDX: 0000000020000080 RSI: 0000000020000060 RDI: 000000000802c480
RBP: 00007f38bfac847a R08: 0000000020000100 R09: 0000000020000100
R10: 00000000200000c0 R11: 0000000000000202 R12: 0000000000000000
R13: 000000000000000b R14: 00007f38bfb9bf80 R15: 00007f38bfcbfa48
BUG: Bad page map in process syz-executor.2 pte:fffff6e28e120 pmd:91019067
page:ffffea0002475c40 refcount:1024 mapcount:-1 mapping:ffff888093813218 index:0x171 pfn:0x91d71
head:ffffea0002470000 order:9 entire_mapcount:0 nr_pages_mapped:136 pincount:0
memcg:ffff8880277d8000
aops:shmem_aops ino:5d3 dentry name:"dev/zero"
flags: 0xfff5800008027c(referenced|uptodate|dirty|lru|workingset|head|swapbacked|node=0|zone=1|lastcpupid=0x7ff)
page_type: 0xffffffff()
raw: 00fff00000000000 ffffea0002470001 ffffea0002475c48 dead000000000400
raw: 0000000000000000 0000000000000000 00000000fffffffe 0000000000000000
head: 00fff5800008027c ffff8880277da1a8 ffffea00014b3e08 ffff888093813218
head: 0000000000000000 0000000000000000 00000400ffffffff ffff8880277d8000
page dumped because: bad pte
page_owner tracks the page as allocated
page last allocated via order 9, migratetype Movable, gfp_mask 0x1c24ca(GFP_TRANSHUGE), pid 6648, tgid 6627 (syz-executor.2), ts 1104946924034, free_ts 1104630520316
set_page_owner include/linux/page_owner.h:31 [inline]
post_alloc_hook+0x2cf/0x340 mm/page_alloc.c:1536
prep_new_page mm/page_alloc.c:1543 [inline]
get_page_from_freelist+0xee0/0x2f20 mm/page_alloc.c:3170
__alloc_pages+0x1d0/0x4a0 mm/page_alloc.c:4426
hpage_collapse_alloc_page mm/khugepaged.c:893 [inline]
alloc_charge_hpage+0x2ba/0xbd0 mm/khugepaged.c:1066
collapse_file+0x20c/0x5720 mm/khugepaged.c:1807
hpage_collapse_scan_file+0xc82/0x1640 mm/khugepaged.c:2306
madvise_collapse+0x523/0xb70 mm/khugepaged.c:2748
madvise_vma_behavior+0x200/0x1e60 mm/madvise.c:1096
madvise_walk_vmas+0x1cf/0x2c0 mm/madvise.c:1270
do_madvise+0x333/0x660 mm/madvise.c:1450
__do_sys_madvise mm/madvise.c:1463 [inline]
__se_sys_madvise mm/madvise.c:1461 [inline]
__x64_sys_madvise+0xaa/0x110 mm/madvise.c:1461
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
page last free stack trace:
reset_page_owner include/linux/page_owner.h:24 [inline]
free_pages_prepare mm/page_alloc.c:1136 [inline]
free_unref_page_prepare+0x476/0xa40 mm/page_alloc.c:2312
free_unref_page+0x33/0x3b0 mm/page_alloc.c:2405
__folio_put+0xeb/0x110 mm/swap.c:127
folio_put include/linux/mm.h:1475 [inline]
io_mem_free.part.0+0x1c6/0x220 io_uring/io_uring.c:2640
io_mem_free io_uring/io_uring.c:2637 [inline]
io_rings_free+0xca/0x3d0 io_uring/io_uring.c:2715
io_ring_ctx_free io_uring/io_uring.c:2894 [inline]
io_ring_exit_work+0xe7c/0x1600 io_uring/io_uring.c:3124
process_one_work+0x887/0x15d0 kernel/workqueue.c:2630
process_scheduled_works kernel/workqueue.c:2703 [inline]
worker_thread+0x8bb/0x1290 kernel/workqueue.c:2784
kthread+0x33a/0x430 kernel/kthread.c:388
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304
addr:0000000020177000 vm_flags:080000f8 anon_vma:0000000000000000 mapping:ffff888093813218 index:177
file:dev/zero fault:shmem_fault mmap:shmem_mmap read_folio:0x0
CPU: 1 PID: 6662 Comm: syz-executor.2 Tainted: G B 6.5.0-syzkaller-11812-g7733171926cc #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x125/0x1b0 lib/dump_stack.c:106
print_bad_pte+0x501/0x7a0 mm/memory.c:535
zap_pte_range mm/memory.c:1458 [inline]
zap_pmd_range mm/memory.c:1573 [inline]
zap_pud_range mm/memory.c:1602 [inline]
zap_p4d_range mm/memory.c:1623 [inline]
unmap_page_range+0x216a/0x2c10 mm/memory.c:1644
unmap_single_vma+0x194/0x2b0 mm/memory.c:1690
unmap_vmas+0x1e8/0x330 mm/memory.c:1731
exit_mmap+0x1ad/0xa60 mm/mmap.c:3210
__mmput+0x12a/0x4d0 kernel/fork.c:1349
mmput+0x62/0x70 kernel/fork.c:1371
exit_mm kernel/exit.c:567 [inline]
do_exit+0x9b4/0x2a20 kernel/exit.c:861
do_group_exit+0xd4/0x2a0 kernel/exit.c:1024
get_signal+0x23d1/0x27b0 kernel/signal.c:2892
arch_do_signal_or_restart+0x90/0x7f0 arch/x86/kernel/signal.c:309
exit_to_user_mode_loop kernel/entry/common.c:168 [inline]
exit_to_user_mode_prepare+0x11f/0x240 kernel/entry/common.c:204
irqentry_exit_to_user_mode+0x9/0x40 kernel/entry/common.c:309
asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570
RIP: 0033:0x3bbc7559
Code: Unable to access opcode bytes at 0x3bbc752f.
RSP: 002b:0000000020000068 EFLAGS: 00010217
RAX: 0000000000000000 RBX: 00007f38bfb9bf80 RCX: 00007f38bfa7cae9
RDX: 0000000020000080 RSI: 0000000020000060 RDI: 000000000802c480
RBP: 00007f38bfac847a R08: 0000000020000100 R09: 0000000020000100
R10: 00000000200000c0 R11: 0000000000000202 R12: 0000000000000000
R13: 000000000000000b R14: 00007f38bfb9bf80 R15: 00007f38bfcbfa48
BUG: Bad page state in process syz-executor.2 pfn:91d71
page:ffffea0002475c40 refcount:0 mapcount:-1 mapping:0000000000000000 index:0x0 pfn:0x91d71
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
page_type: 0xfffffffe()
raw: 00fff00000000000 0000000000000000 ffffea0002475c48 0000000000000000
raw: 0000000000000000 0000000000000000 00000000fffffffe 0000000000000000
page dumped because: nonzero mapcount
page_owner tracks the page as allocated
page last allocated via order 9, migratetype Movable, gfp_mask 0x1c24ca(GFP_TRANSHUGE), pid 6648, tgid 6627 (syz-executor.2), ts 1104946924034, free_ts 1104630520316
set_page_owner include/linux/page_owner.h:31 [inline]
post_alloc_hook+0x2cf/0x340 mm/page_alloc.c:1536
prep_new_page mm/page_alloc.c:1543 [inline]
get_page_from_freelist+0xee0/0x2f20 mm/page_alloc.c:3170
__alloc_pages+0x1d0/0x4a0 mm/page_alloc.c:4426
hpage_collapse_alloc_page mm/khugepaged.c:893 [inline]
alloc_charge_hpage+0x2ba/0xbd0 mm/khugepaged.c:1066
collapse_file+0x20c/0x5720 mm/khugepaged.c:1807
hpage_collapse_scan_file+0xc82/0x1640 mm/khugepaged.c:2306
madvise_collapse+0x523/0xb70 mm/khugepaged.c:2748
madvise_vma_behavior+0x200/0x1e60 mm/madvise.c:1096
madvise_walk_vmas+0x1cf/0x2c0 mm/madvise.c:1270
do_madvise+0x333/0x660 mm/madvise.c:1450
__do_sys_madvise mm/madvise.c:1463 [inline]
__se_sys_madvise mm/madvise.c:1461 [inline]
__x64_sys_madvise+0xaa/0x110 mm/madvise.c:1461
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
page last free stack trace:
reset_page_owner include/linux/page_owner.h:24 [inline]
free_pages_prepare mm/page_alloc.c:1136 [inline]
free_unref_page_prepare+0x476/0xa40 mm/page_alloc.c:2312
free_unref_page+0x33/0x3b0 mm/page_alloc.c:2405
__folio_put+0xeb/0x110 mm/swap.c:127
folio_put include/linux/mm.h:1475 [inline]
io_mem_free.part.0+0x1c6/0x220 io_uring/io_uring.c:2640
io_mem_free io_uring/io_uring.c:2637 [inline]
io_rings_free+0xca/0x3d0 io_uring/io_uring.c:2715
io_ring_ctx_free io_uring/io_uring.c:2894 [inline]
io_ring_exit_work+0xe7c/0x1600 io_uring/io_uring.c:3124
process_one_work+0x887/0x15d0 kernel/workqueue.c:2630
process_scheduled_works kernel/workqueue.c:2703 [inline]
worker_thread+0x8bb/0x1290 kernel/workqueue.c:2784
kthread+0x33a/0x430 kernel/kthread.c:388
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304
Modules linked in:
CPU: 0 PID: 6662 Comm: syz-executor.2 Tainted: G B 6.5.0-syzkaller-11812-g7733171926cc #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x125/0x1b0 lib/dump_stack.c:106
bad_page+0xb4/0x200 mm/page_alloc.c:513
free_page_is_bad_report mm/page_alloc.c:949 [inline]
free_page_is_bad mm/page_alloc.c:959 [inline]
free_pages_prepare mm/page_alloc.c:1115 [inline]
free_unref_page_prepare+0x827/0xa40 mm/page_alloc.c:2312
free_unref_page+0x33/0x3b0 mm/page_alloc.c:2405
release_pages+0x51b/0x14e0 mm/swap.c:1008
__folio_batch_release+0x77/0xe0 mm/swap.c:1062
folio_batch_release include/linux/pagevec.h:83 [inline]
shmem_undo_range+0x582/0x1040 mm/shmem.c:1022
shmem_truncate_range mm/shmem.c:1114 [inline]
shmem_evict_inode+0x392/0xb50 mm/shmem.c:1243
evict+0x2ed/0x6b0 fs/inode.c:664
iput_final fs/inode.c:1775 [inline]
iput.part.0+0x55e/0x7a0 fs/inode.c:1801
iput+0x5c/0x80 fs/inode.c:1791
dentry_unlink_inode+0x292/0x430 fs/dcache.c:401
__dentry_kill+0x3b8/0x640 fs/dcache.c:607
dentry_kill fs/dcache.c:733 [inline]
dput+0x8dd/0xfd0 fs/dcache.c:913
__fput+0x536/0xa70 fs/file_table.c:392
task_work_run+0x14d/0x240 kernel/task_work.c:179
exit_task_work include/linux/task_work.h:38 [inline]
do_exit+0xa99/0x2a20 kernel/exit.c:874
do_group_exit+0xd4/0x2a0 kernel/exit.c:1024
get_signal+0x23d1/0x27b0 kernel/signal.c:2892
arch_do_signal_or_restart+0x90/0x7f0 arch/x86/kernel/signal.c:309
exit_to_user_mode_loop kernel/entry/common.c:168 [inline]
exit_to_user_mode_prepare+0x11f/0x240 kernel/entry/common.c:204
irqentry_exit_to_user_mode+0x9/0x40 kernel/entry/common.c:309
asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570
RIP: 0033:0x3bbc7559
Code: Unable to access opcode bytes at 0x3bbc752f.
RSP: 002b:0000000020000068 EFLAGS: 00010217
RAX: 0000000000000000 RBX: 00007f38bfb9bf80 RCX: 00007f38bfa7cae9
RDX: 0000000020000080 RSI: 0000000020000060 RDI: 000000000802c480
RBP: 00007f38bfac847a R08: 0000000020000100 R09: 0000000020000100
R10: 00000000200000c0 R11: 0000000000000202 R12: 0000000000000000
R13: 000000000000000b R14: 00007f38bfb9bf80 R15: 00007f38bfcbfa48
BUG: Bad page state in process syz-executor.2 pfn:91d72
page:ffffea0002475c80 refcount:0 mapcount:-1 mapping:0000000000000000 index:0x0 pfn:0x91d72
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
page_type: 0xfffffffe()
raw: 00fff00000000000 0000000000000000 ffffea0002475c88 0000000000000000
raw: 0000000000000000 0000000000000000 00000000fffffffe 0000000000000000
page dumped because: nonzero mapcount
page_owner tracks the page as allocated
page last allocated via order 9, migratetype Movable, gfp_mask 0x1c24ca(GFP_TRANSHUGE), pid 6648, tgid 6627 (syz-executor.2), ts 1104946924034, free_ts 1104630520316
set_page_owner include/linux/page_owner.h:31 [inline]
post_alloc_hook+0x2cf/0x340 mm/page_alloc.c:1536
prep_new_page mm/page_alloc.c:1543 [inline]
get_page_from_freelist+0xee0/0x2f20 mm/page_alloc.c:3170
__alloc_pages+0x1d0/0x4a0 mm/page_alloc.c:4426
hpage_collapse_alloc_page mm/khugepaged.c:893 [inline]
alloc_charge_hpage+0x2ba/0xbd0 mm/khugepaged.c:1066
collapse_file+0x20c/0x5720 mm/khugepaged.c:1807
hpage_collapse_scan_file+0xc82/0x1640 mm/khugepaged.c:2306
madvise_collapse+0x523/0xb70 mm/khugepaged.c:2748
madvise_vma_behavior+0x200/0x1e60 mm/madvise.c:1096
madvise_walk_vmas+0x1cf/0x2c0 mm/madvise.c:1270
do_madvise+0x333/0x660 mm/madvise.c:1450
__do_sys_madvise mm/madvise.c:1463 [inline]
__se_sys_madvise mm/madvise.c:1461 [inline]
__x64_sys_madvise+0xaa/0x110 mm/madvise.c:1461
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
page last free stack trace:
reset_page_owner include/linux/page_owner.h:24 [inline]
free_pages_prepare mm/page_alloc.c:1136 [inline]
free_unref_page_prepare+0x476/0xa40 mm/page_alloc.c:2312
free_unref_page+0x33/0x3b0 mm/page_alloc.c:2405
__folio_put+0xeb/0x110 mm/swap.c:127
folio_put include/linux/mm.h:1475 [inline]
io_mem_free.part.0+0x1c6/0x220 io_uring/io_uring.c:2640
io_mem_free io_uring/io_uring.c:2637 [inline]
io_rings_free+0xca/0x3d0 io_uring/io_uring.c:2715
io_ring_ctx_free io_uring/io_uring.c:2894 [inline]
io_ring_exit_work+0xe7c/0x1600 io_uring/io_uring.c:3124
process_one_work+0x887/0x15d0 kernel/workqueue.c:2630
process_scheduled_works kernel/workqueue.c:2703 [inline]
worker_thread+0x8bb/0x1290 kernel/workqueue.c:2784
kthread+0x33a/0x430 kernel/kthread.c:388
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304
Modules linked in:
CPU: 1 PID: 6662 Comm: syz-executor.2 Tainted: G B 6.5.0-syzkaller-11812-g7733171926cc #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x125/0x1b0 lib/dump_stack.c:106
bad_page+0xb4/0x200 mm/page_alloc.c:513
free_page_is_bad_report mm/page_alloc.c:949 [inline]
free_page_is_bad mm/page_alloc.c:959 [inline]
free_pages_prepare mm/page_alloc.c:1115 [inline]
free_unref_page_prepare+0x827/0xa40 mm/page_alloc.c:2312
free_unref_page+0x33/0x3b0 mm/page_alloc.c:2405
release_pages+0x51b/0x14e0 mm/swap.c:1008
__folio_batch_release+0x77/0xe0 mm/swap.c:1062
folio_batch_release include/linux/pagevec.h:83 [inline]
shmem_undo_range+0x582/0x1040 mm/shmem.c:1022
shmem_truncate_range mm/shmem.c:1114 [inline]
shmem_evict_inode+0x392/0xb50 mm/shmem.c:1243
evict+0x2ed/0x6b0 fs/inode.c:664
iput_final fs/inode.c:1775 [inline]
iput.part.0+0x55e/0x7a0 fs/inode.c:1801
iput+0x5c/0x80 fs/inode.c:1791
dentry_unlink_inode+0x292/0x430 fs/dcache.c:401
__dentry_kill+0x3b8/0x640 fs/dcache.c:607
dentry_kill fs/dcache.c:733 [inline]
dput+0x8dd/0xfd0 fs/dcache.c:913
__fput+0x536/0xa70 fs/file_table.c:392
task_work_run+0x14d/0x240 kernel/task_work.c:179
exit_task_work include/linux/task_work.h:38 [inline]
do_exit+0xa99/0x2a20 kernel/exit.c:874
do_group_exit+0xd4/0x2a0 kernel/exit.c:1024
get_signal+0x23d1/0x27b0 kernel/signal.c:2892
arch_do_signal_or_restart+0x90/0x7f0 arch/x86/kernel/signal.c:309
exit_to_user_mode_loop kernel/entry/common.c:168 [inline]
exit_to_user_mode_prepare+0x11f/0x240 kernel/entry/common.c:204
irqentry_exit_to_user_mode+0x9/0x40 kernel/entry/common.c:309
asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570
RIP: 0033:0x3bbc7559
Code: Unable to access opcode bytes at 0x3bbc752f.
RSP: 002b:0000000020000068 EFLAGS: 00010217
RAX: 0000000000000000 RBX: 00007f38bfb9bf80 RCX: 00007f38bfa7cae9
RDX: 0000000020000080 RSI: 0000000020000060 RDI: 000000000802c480
RBP: 00007f38bfac847a R08: 0000000020000100 R09: 0000000020000100
R10: 00000000200000c0 R11: 0000000000000202 R12: 0000000000000000
R13: 000000000000000b R14: 00007f38bfb9bf80 R15: 00007f38bfcbfa48
BUG: Bad page state in process syz-executor.2 pfn:91d73
page:ffffea0002475cc0 refcount:0 mapcount:-1 mapping:0000000000000000 index:0x0 pfn:0x91d73
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
page_type: 0xfffffffe()
raw: 00fff00000000000 0000000000000000 ffffea0002475cc8 0000000000000000
raw: 0000000000000000 0000000000000000 00000000fffffffe 0000000000000000
page dumped because: nonzero mapcount
page_owner tracks the page as allocated
page last allocated via order 9, migratetype Movable, gfp_mask 0x1c24ca(GFP_TRANSHUGE), pid 6648, tgid 6627 (syz-executor.2), ts 1104946924034, free_ts 1104630520316
set_page_owner include/linux/page_owner.h:31 [inline]
post_alloc_hook+0x2cf/0x340 mm/page_alloc.c:1536
prep_new_page mm/page_alloc.c:1543 [inline]
get_page_from_freelist+0xee0/0x2f20 mm/page_alloc.c:3170
__alloc_pages+0x1d0/0x4a0 mm/page_alloc.c:4426
hpage_collapse_alloc_page mm/khugepaged.c:893 [inline]
alloc_charge_hpage+0x2ba/0xbd0 mm/khugepaged.c:1066
collapse_file+0x20c/0x5720 mm/khugepaged.c:1807
hpage_collapse_scan_file+0xc82/0x1640 mm/khugepaged.c:2306
madvise_collapse+0x523/0xb70 mm/khugepaged.c:2748
madvise_vma_behavior+0x200/0x1e60 mm/madvise.c:1096
madvise_walk_vmas+0x1cf/0x2c0 mm/madvise.c:1270
do_madvise+0x333/0x660 mm/madvise.c:1450
__do_sys_madvise mm/madvise.c:1463 [inline]
__se_sys_madvise mm/madvise.c:1461 [inline]
__x64_sys_madvise+0xaa/0x110 mm/madvise.c:1461
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
page last free stack trace:
reset_page_owner include/linux/page_owner.h:24 [inline]
free_pages_prepare mm/page_alloc.c:1136 [inline]
free_unref_page_prepare+0x476/0xa40 mm/page_alloc.c:2312
free_unref_page+0x33/0x3b0 mm/page_alloc.c:2405
__folio_put+0xeb/0x110 mm/swap.c:127
folio_put include/linux/mm.h:1475 [inline]
io_mem_free.part.0+0x1c6/0x220 io_uring/io_uring.c:2640
io_mem_free io_uring/io_uring.c:2637 [inline]
io_rings_free+0xca/0x3d0 io_uring/io_uring.c:2715
io_ring_ctx_free io_uring/io_uring.c:2894 [inline]
io_ring_exit_work+0xe7c/0x1600 io_uring/io_uring.c:3124
process_one_work+0x887/0x15d0 kernel/workqueue.c:2630
process_scheduled_works kernel/workqueue.c:2703 [inline]
worker_thread+0x8bb/0x1290 kernel/workqueue.c:2784
kthread+0x33a/0x430 kernel/kthread.c:388
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304
Modules linked in:
CPU: 0 PID: 6662 Comm: syz-executor.2 Tainted: G B 6.5.0-syzkaller-11812-g7733171926cc #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x125/0x1b0 lib/dump_stack.c:106
bad_page+0xb4/0x200 mm/page_alloc.c:513
free_page_is_bad_report mm/page_alloc.c:949 [inline]
free_page_is_bad mm/page_alloc.c:959 [inline]
free_pages_prepare mm/page_alloc.c:1115 [inline]
free_unref_page_prepare+0x827/0xa40 mm/page_alloc.c:2312
free_unref_page+0x33/0x3b0 mm/page_alloc.c:2405
release_pages+0x51b/0x14e0 mm/swap.c:1008
__folio_batch_release+0x77/0xe0 mm/swap.c:1062
folio_batch_release include/linux/pagevec.h:83 [inline]
shmem_undo_range+0x582/0x1040 mm/shmem.c:1022
shmem_truncate_range mm/shmem.c:1114 [inline]
shmem_evict_inode+0x392/0xb50 mm/shmem.c:1243
evict+0x2ed/0x6b0 fs/inode.c:664
iput_final fs/inode.c:1775 [inline]
iput.part.0+0x55e/0x7a0 fs/inode.c:1801
iput+0x5c/0x80 fs/inode.c:1791
dentry_unlink_inode+0x292/0x430 fs/dcache.c:401
__dentry_kill+0x3b8/0x640 fs/dcache.c:607
dentry_kill fs/dcache.c:733 [inline]
dput+0x8dd/0xfd0 fs/dcache.c:913
__fput+0x536/0xa70 fs/file_table.c:392
task_work_run+0x14d/0x240 kernel/task_work.c:179
exit_task_work include/linux/task_work.h:38 [inline]
do_exit+0xa99/0x2a20 kernel/exit.c:874
do_group_exit+0xd4/0x2a0 kernel/exit.c:1024
get_signal+0x23d1/0x27b0 kernel/signal.c:2892
arch_do_signal_or_restart+0x90/0x7f0 arch/x86/kernel/signal.c:309
exit_to_user_mode_loop kernel/entry/common.c:168 [inline]
exit_to_user_mode_prepare+0x11f/0x240 kernel/entry/common.c:204
irqentry_exit_to_user_mode+0x9/0x40 kernel/entry/common.c:309
asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570
RIP: 0033:0x3bbc7559
Code: Unable to access opcode bytes at 0x3bbc752f.
RSP: 002b:0000000020000068 EFLAGS: 00010217
RAX: 0000000000000000 RBX: 00007f38bfb9bf80 RCX: 00007f38bfa7cae9
RDX: 0000000020000080 RSI: 0000000020000060 RDI: 000000000802c480
RBP: 00007f38bfac847a R08: 0000000020000100 R09: 0000000020000100
R10: 00000000200000c0 R11: 0000000000000202 R12: 0000000000000000
R13: 000000000000000b R14: 00007f38bfb9bf80 R15: 00007f38bfcbfa48
BUG: Bad page state in process syz-executor.2 pfn:91d75
page:ffffea0002475d40 refcount:0 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x91d75
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
page_type: 0x0()
raw: 00fff00000000000 0000000000000000 ffffea0002475d48 0000000000000000
raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
page dumped because: nonzero mapcount
page_owner tracks the page as allocated
page last allocated via order 9, migratetype Movable, gfp_mask 0x1c24ca(GFP_TRANSHUGE), pid 6648, tgid 6627 (syz-executor.2), ts 1104946924034, free_ts 1104630520316
set_page_owner include/linux/page_owner.h:31 [inline]
post_alloc_hook+0x2cf/0x340 mm/page_alloc.c:1536
prep_new_page mm/page_alloc.c:1543 [inline]
get_page_from_freelist+0xee0/0x2f20 mm/page_alloc.c:3170
__alloc_pages+0x1d0/0x4a0 mm/page_alloc.c:4426
hpage_collapse_alloc_page mm/khugepaged.c:893 [inline]
alloc_charge_hpage+0x2ba/0xbd0 mm/khugepaged.c:1066
collapse_file+0x20c/0x5720 mm/khugepaged.c:1807
hpage_collapse_scan_file+0xc82/0x1640 mm/khugepaged.c:2306
madvise_collapse+0x523/0xb70 mm/khugepaged.c:2748
madvise_vma_behavior+0x200/0x1e60 mm/madvise.c:1096
madvise_walk_vmas+0x1cf/0x2c0 mm/madvise.c:1270
do_madvise+0x333/0x660 mm/madvise.c:1450
__do_sys_madvise mm/madvise.c:1463 [inline]
__se_sys_madvise mm/madvise.c:1461 [inline]
__x64_sys_madvise+0xaa/0x110 mm/madvise.c:1461
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
page last free stack trace:
reset_page_owner include/linux/page_owner.h:24 [inline]
free_pages_prepare mm/page_alloc.c:1136 [inline]
free_unref_page_prepare+0x476/0xa40 mm/page_alloc.c:2312
free_unref_page+0x33/0x3b0 mm/page_alloc.c:2405
__folio_put+0xeb/0x110 mm/swap.c:127
folio_put include/linux/mm.h:1475 [inline]
io_mem_free.part.0+0x1c6/0x220 io_uring/io_uring.c:2640
io_mem_free io_uring/io_uring.c:2637 [inline]
io_rings_free+0xca/0x3d0 io_uring/io_uring.c:2715
io_ring_ctx_free io_uring/io_uring.c:2894 [inline]
io_ring_exit_work+0xe7c/0x1600 io_uring/io_uring.c:3124
process_one_work+0x887/0x15d0 kernel/workqueue.c:2630
process_scheduled_works kernel/workqueue.c:2703 [inline]
worker_thread+0x8bb/0x1290 kernel/workqueue.c:2784
kthread+0x33a/0x430 kernel/kthread.c:388
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304
Modules linked in:
CPU: 1 PID: 6662 Comm: syz-executor.2 Tainted: G B 6.5.0-syzkaller-11812-g7733171926cc #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x125/0x1b0 lib/dump_stack.c:106
bad_page+0xb4/0x200 mm/page_alloc.c:513
free_page_is_bad_report mm/page_alloc.c:949 [inline]
free_page_is_bad mm/page_alloc.c:959 [inline]
free_pages_prepare mm/page_alloc.c:1115 [inline]
free_unref_page_prepare+0x827/0xa40 mm/page_alloc.c:2312
free_unref_page+0x33/0x3b0 mm/page_alloc.c:2405
release_pages+0x51b/0x14e0 mm/swap.c:1008
__folio_batch_release+0x77/0xe0 mm/swap.c:1062
folio_batch_release include/linux/pagevec.h:83 [inline]
shmem_undo_range+0x582/0x1040 mm/shmem.c:1022
shmem_truncate_range mm/shmem.c:1114 [inline]
shmem_evict_inode+0x392/0xb50 mm/shmem.c:1243
evict+0x2ed/0x6b0 fs/inode.c:664
iput_final fs/inode.c:1775 [inline]
iput.part.0+0x55e/0x7a0 fs/inode.c:1801
iput+0x5c/0x80 fs/inode.c:1791
dentry_unlink_inode+0x292/0x430 fs/dcache.c:401
__dentry_kill+0x3b8/0x640 fs/dcache.c:607
dentry_kill fs/dcache.c:733 [inline]
dput+0x8dd/0xfd0 fs/dcache.c:913
__fput+0x536/0xa70 fs/file_table.c:392
task_work_run+0x14d/0x240 kernel/task_work.c:179
exit_task_work include/linux/task_work.h:38 [inline]
do_exit+0xa99/0x2a20 kernel/exit.c:874
do_group_exit+0xd4/0x2a0 kernel/exit.c:1024
get_signal+0x23d1/0x27b0 kernel/signal.c:2892
arch_do_signal_or_restart+0x90/0x7f0 arch/x86/kernel/signal.c:309
exit_to_user_mode_loop kernel/entry/common.c:168 [inline]
exit_to_user_mode_prepare+0x11f/0x240 kernel/entry/common.c:204
irqentry_exit_to_user_mode+0x9/0x40 kernel/entry/common.c:309
asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570
RIP: 0033:0x3bbc7559
Code: Unable to access opcode bytes at 0x3bbc752f.
RSP: 002b:0000000020000068 EFLAGS: 00010217
RAX: 0000000000000000 RBX: 00007f38bfb9bf80 RCX: 00007f38bfa7cae9
RDX: 0000000020000080 RSI: 0000000020000060 RDI: 000000000802c480
RBP: 00007f38bfac847a R08: 0000000020000100 R09: 0000000020000100
R10: 00000000200000c0 R11: 0000000000000202 R12: 0000000000000000
R13: 000000000000000b R14: 00007f38bfb9bf80 R15: 00007f38bfcbfa48
BUG: Bad page state in process syz-executor.2 pfn:91d76
page:ffffea0002475d80 refcount:0 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x91d76
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
page_type: 0x0()
raw: 00fff00000000000 0000000000000000 ffffea0002475d88 0000000000000000
raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
page dumped because: nonzero mapcount
page_owner tracks the page as allocated
page last allocated via order 9, migratetype Movable, gfp_mask 0x1c24ca(GFP_TRANSHUGE), pid 6648, tgid 6627 (syz-executor.2), ts 1104946924034, free_ts 1104630520316
set_page_owner include/linux/page_owner.h:31 [inline]
post_alloc_hook+0x2cf/0x340 mm/page_alloc.c:1536
prep_new_page mm/page_alloc.c:1543 [inline]
get_page_from_freelist+0xee0/0x2f20 mm/page_alloc.c:3170
__alloc_pages+0x1d0/0x4a0 mm/page_alloc.c:4426
hpage_collapse_alloc_page mm/khugepaged.c:893 [inline]
alloc_charge_hpage+0x2ba/0xbd0 mm/khugepaged.c:1066
collapse_file+0x20c/0x5720 mm/khugepaged.c:1807
hpage_collapse_scan_file+0xc82/0x1640 mm/khugepaged.c:2306
madvise_collapse+0x523/0xb70 mm/khugepaged.c:2748
madvise_vma_behavior+0x200/0x1e60 mm/madvise.c:1096
madvise_walk_vmas+0x1cf/0x2c0 mm/madvise.c:1270
do_madvise+0x333/0x660 mm/madvise.c:1450
__do_sys_madvise mm/madvise.c:1463 [inline]
__se_sys_madvise mm/madvise.c:1461 [inline]
__x64_sys_madvise+0xaa/0x110 mm/madvise.c:1461
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
page last free stack trace:
reset_page_owner include/linux/page_owner.h:24 [inline]
free_pages_prepare mm/page_alloc.c:1136 [inline]
free_unref_page_prepare+0x476/0xa40 mm/page_alloc.c:2312
free_unref_page+0x33/0x3b0 mm/page_alloc.c:2405
__folio_put+0xeb/0x110 mm/swap.c:127
folio_put include/linux/mm.h:1475 [inline]
io_mem_free.part.0+0x1c6/0x220 io_uring/io_uring.c:2640
io_mem_free io_uring/io_uring.c:2637 [inline]
io_rings_free+0xca/0x3d0 io_uring/io_uring.c:2715
io_ring_ctx_free io_uring/io_uring.c:2894 [inline]
io_ring_exit_work+0xe7c/0x1600 io_uring/io_uring.c:3124
process_one_work+0x887/0x15d0 kernel/workqueue.c:2630
process_scheduled_works kernel/workqueue.c:2703 [inline]
worker_thread+0x8bb/0x1290 kernel/workqueue.c:2784
kthread+0x33a/0x430 kernel/kthread.c:388
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304
Modules linked in:
CPU: 1 PID: 6662 Comm: syz-executor.2 Tainted: G B 6.5.0-syzkaller-11812-g7733171926cc #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x125/0x1b0 lib/dump_stack.c:106
bad_page+0xb4/0x200 mm/page_alloc.c:513
free_page_is_bad_report mm/page_alloc.c:949 [inline]
free_page_is_bad mm/page_alloc.c:959 [inline]
free_pages_prepare mm/page_alloc.c:1115 [inline]
free_unref_page_prepare+0x827/0xa40 mm/page_alloc.c:2312
free_unref_page+0x33/0x3b0 mm/page_alloc.c:2405
release_pages+0x51b/0x14e0 mm/swap.c:1008
__folio_batch_release+0x77/0xe0 mm/swap.c:1062
folio_batch_release include/linux/pagevec.h:83 [inline]
shmem_undo_range+0x582/0x1040 mm/shmem.c:1022
shmem_truncate_range mm/shmem.c:1114 [inline]
shmem_evict_inode+0x392/0xb50 mm/shmem.c:1243
evict+0x2ed/0x6b0 fs/inode.c:664
iput_final fs/inode.c:1775 [inline]
iput.part.0+0x55e/0x7a0 fs/inode.c:1801
iput+0x5c/0x80 fs/inode.c:1791
dentry_unlink_inode+0x292/0x430 fs/dcache.c:401
__dentry_kill+0x3b8/0x640 fs/dcache.c:607
dentry_kill fs/dcache.c:733 [inline]
dput+0x8dd/0xfd0 fs/dcache.c:913
__fput+0x536/0xa70 fs/file_table.c:392
task_work_run+0x14d/0x240 kernel/task_work.c:179
exit_task_work include/linux/task_work.h:38 [inline]
do_exit+0xa99/0x2a20 kernel/exit.c:874
do_group_exit+0xd4/0x2a0 kernel/exit.c:1024
get_signal+0x23d1/0x27b0 kernel/signal.c:2892
arch_do_signal_or_restart+0x90/0x7f0 arch/x86/kernel/signal.c:309
exit_to_user_mode_loop kernel/entry/common.c:168 [inline]
exit_to_user_mode_prepare+0x11f/0x240 kernel/entry/common.c:204
irqentry_exit_to_user_mode+0x9/0x40 kernel/entry/common.c:309
asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570
RIP: 0033:0x3bbc7559
Code: Unable to access opcode bytes at 0x3bbc752f.