* [arm-integrator:kb-ctor-test] [mm] a95a2d7776: BUG:Bad_page_state_in_process
@ 2025-03-21 9:01 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-03-21 9:01 UTC (permalink / raw)
To: Linus Walleij; +Cc: oe-lkp, lkp, oliver.sang
Hello,
kernel test robot noticed "BUG:Bad_page_state_in_process" on:
commit: a95a2d77760758cdd6379716428c4382d365eeb6 ("mm: Call ctor/dtor for kernel PTEs")
https://git.kernel.org/cgit/linux/kernel/git/linusw/linux-integrator.git kb-ctor-test
in testcase: trinity
version:
with following parameters:
runtime: 600s
config: x86_64-randconfig-001-20250317-CONFIG_PINCTRL_AMD
compiler: clang-20
test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 16G
(please refer to attached dmesg/kmsg for entire log/backtrace)
+--------------------------------------------------+------------+------------+
| | 0e59cb8322 | a95a2d7776 |
+--------------------------------------------------+------------+------------+
| BUG:Bad_page_state_in_process | 0 | 15 |
+--------------------------------------------------+------------+------------+
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <oliver.sang@intel.com>
| Closes: https://lore.kernel.org/oe-lkp/202503211612.e11bd73f-lkp@intel.com
[ 43.101131][ T102] BUG: Bad page state in process udevd pfn:13fae7
[ 43.101632][ T102] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x13fae7
[ 43.102241][ T102] flags: 0x8000000000000000(zone=2)
[ 43.102594][ T102] page_type: f2(table)
[ 43.102881][ T102] raw: 8000000000000000 0000000000000000 dead000000000122 0000000000000000
[ 43.103464][ T102] raw: 0000000000000000 0000000000000000 00000000f2000000 0000000000000000
[ 43.104031][ T102] page dumped because: nonzero mapcount
[ 43.104403][ T102] page_owner tracks the page as allocated
[ 43.104803][ T102] page last allocated via order 0, migratetype Unmovable, gfp_mask 0x40dc0(GFP_KERNEL|__GFP_COMP|__GFP_ZERO), pid 101, tgid 101 (udevd), ts 42486952320, free_ts 0
[ 43.105918][ T102] prep_new_page (ld-temp.o:?)
[ 43.106282][ T102] get_page_from_freelist (ld-temp.o:?)
[ 43.106667][ T102] __alloc_frozen_pages_noprof (ld-temp.o:?)
[ 43.107047][ T102] __alloc_pages_noprof (ld-temp.o:?)
[ 43.107407][ T102] __pte_alloc_kernel (ld-temp.o:?)
[ 43.107774][ T102] __vmap_pages_range_noflush (ld-temp.o:?)
[ 43.108150][ T102] __vmalloc_node_range_noprof (ld-temp.o:?)
[ 43.108787][ T102] vmalloc_noprof (ld-temp.o:?)
[ 43.109104][ T102] kernel_read_file (ld-temp.o:?)
[ 43.109471][ T102] __se_sys_finit_module (ld-temp.o:?)
[ 43.110539][ T102] do_int80_emulation (ld-temp.o:?)
[ 43.110933][ T102] asm_int80_emulation (arch/x86/include/asm/idtentry.h:626)
[ 43.111271][ T102] page_owner free stack trace missing
[ 43.111645][ T102] Modules linked in: bochs(+) drm_shmem_helper sysimgblt syscopyarea sysfillrect fb_sys_fops drm_client_lib drm_kms_helper fb drm polyval_clmulni polyval_generic sha512_ssse3 sha1_ssse3 font drm_panel_orientation_quirks rapl usblp backlight i2c_piix4 serio_raw i2c_core parport_pc
[ 43.113491][ T102] CPU: 0 UID: 0 PID: 102 Comm: udevd Tainted: G T 6.14.0-rc6-00002-ga95a2d777607 #1 4555c09398d9f8416e3faf72f33a35420434152b
[ 43.114470][ T102] Tainted: [T]=RANDSTRUCT
[ 43.114772][ T102] Call Trace:
[ 43.115001][ T102] <TASK>
[ 43.115213][ T102] dump_stack_lvl (ld-temp.o:?)
[ 43.115576][ T102] bad_page (ld-temp.o:?)
[ 43.115858][ T102] free_frozen_pages (ld-temp.o:?)
[ 43.116195][ T102] ? __virt_addr_valid (ld-temp.o:?)
[ 43.116561][ T102] pmd_free_pte_page (ld-temp.o:?)
[ 43.116881][ T102] vmap_range_noflush (ld-temp.o:?)
[ 43.117238][ T102] __ioremap_caller (ld-temp.o:?)
[ 43.117608][ T102] ? bochs_pci_probe (drivers/gpu/drm/tiny/bochs.c:282) bochs
[ 43.118285][ T102] __devm_ioremap (ld-temp.o:?)
[ 43.118763][ T102] bochs_pci_probe (drivers/gpu/drm/tiny/bochs.c:282) bochs
[ 43.119389][ T102] pci_device_probe (ld-temp.o:?)
[ 43.119740][ T102] really_probe (ld-temp.o:?)
[ 43.120081][ T102] driver_probe_device (ld-temp.o:?)
[ 43.120427][ T102] __driver_attach (ld-temp.o:?)
[ 43.120757][ T102] ? driver_attach (ld-temp.o:?)
[ 43.121076][ T102] bus_for_each_dev (ld-temp.o:?)
[ 43.121412][ T102] bus_add_driver (ld-temp.o:?)
[ 43.121751][ T102] driver_register (ld-temp.o:?)
[ 43.122076][ T102] ? 0xffffffffc033e000
[ 43.122363][ T102] do_one_initcall (init/main.c:1257)
[ 43.122756][ T102] ? __lock_acquire (ld-temp.o:?)
[ 43.123191][ T102] ? __lock_acquire (ld-temp.o:?)
[ 43.123548][ T102] ? save_stack (ld-temp.o:?)
[ 43.123869][ T102] ? __slab_alloc_node (ld-temp.o:?)
[ 43.124224][ T102] ? lock_acquire (ld-temp.o:?)
[ 43.124544][ T102] ? __slab_alloc_node (ld-temp.o:?)
[ 43.124886][ T102] ? __slab_alloc_node (ld-temp.o:?)
[ 43.125225][ T102] ? kvm_sched_clock_read (ld-temp.o:?)
[ 43.125582][ T102] ? local_clock_noinstr (ld-temp.o:?)
[ 43.125919][ T102] ? lockdep_hardirqs_on (ld-temp.o:?)
[ 43.126267][ T102] ? _raw_spin_unlock_irqrestore (ld-temp.o:?)
[ 43.126689][ T102] ? __slab_alloc_node (ld-temp.o:?)
[ 43.127038][ T102] ? do_init_module (ld-temp.o:?)
[ 43.127378][ T102] ? slab_alloc_node (ld-temp.o:?)
[ 43.127705][ T102] do_init_module (ld-temp.o:?)
[ 43.128019][ T102] __se_sys_finit_module (ld-temp.o:?)
[ 43.128428][ T102] do_int80_emulation (ld-temp.o:?)
[ 43.128776][ T102] asm_int80_emulation (arch/x86/include/asm/idtentry.h:626)
[ 43.129125][ T102] RIP: 0023:0xf7de3222
[ 43.129419][ T102] Code: 06 89 8a f0 02 00 00 c3 55 57 56 53 8b 6c 24 2c 8b 7c 24 28 8b 74 24 24 8b 54 24 20 8b 4c 24 1c 8b 5c 24 18 8b 44 24 14 cd 80 <5b> 5e 5f 5d 3d 01 f0 ff ff 0f 83 8f b5 f3 ff c3 66 90 66 90 66 90
All code
========
0: 06 (bad)
1: 89 8a f0 02 00 00 mov %ecx,0x2f0(%rdx)
7: c3 ret
8: 55 push %rbp
9: 57 push %rdi
a: 56 push %rsi
b: 53 push %rbx
c: 8b 6c 24 2c mov 0x2c(%rsp),%ebp
10: 8b 7c 24 28 mov 0x28(%rsp),%edi
14: 8b 74 24 24 mov 0x24(%rsp),%esi
18: 8b 54 24 20 mov 0x20(%rsp),%edx
1c: 8b 4c 24 1c mov 0x1c(%rsp),%ecx
20: 8b 5c 24 18 mov 0x18(%rsp),%ebx
24: 8b 44 24 14 mov 0x14(%rsp),%eax
28: cd 80 int $0x80
2a:* 5b pop %rbx <-- trapping instruction
2b: 5e pop %rsi
2c: 5f pop %rdi
2d: 5d pop %rbp
2e: 3d 01 f0 ff ff cmp $0xfffff001,%eax
33: 0f 83 8f b5 f3 ff jae 0xfffffffffff3b5c8
39: c3 ret
3a: 66 90 xchg %ax,%ax
3c: 66 90 xchg %ax,%ax
3e: 66 90 xchg %ax,%ax
Code starting with the faulting instruction
===========================================
0: 5b pop %rbx
1: 5e pop %rsi
2: 5f pop %rdi
3: 5d pop %rbp
4: 3d 01 f0 ff ff cmp $0xfffff001,%eax
9: 0f 83 8f b5 f3 ff jae 0xfffffffffff3b59e
f: c3 ret
10: 66 90 xchg %ax,%ax
12: 66 90 xchg %ax,%ax
14: 66 90 xchg %ax,%ax
[ 43.130736][ T102] RSP: 002b:00000000ffec57cc EFLAGS: 00000292 ORIG_RAX: 000000000000015e
[ 43.131340][ T102] RAX: ffffffffffffffda RBX: 0000000000000016 RCX: 00000000f7eae1e3
[ 43.131887][ T102] RDX: 0000000000000000 RSI: 00000000565fac90 RDI: 00000000565f5650
[ 43.132434][ T102] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
[ 43.132982][ T102] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
[ 43.133516][ T102] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
[ 43.134120][ T102] </TASK>
[ 43.134394][ T102] Disabling lock debugging due to kernel taint
The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20250321/202503211612.e11bd73f-lkp@intel.com
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-03-21 9:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-21 9:01 [arm-integrator:kb-ctor-test] [mm] a95a2d7776: BUG:Bad_page_state_in_process kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.