* [linux-next:master] [mm] 504f40f6bd: kernel_BUG_at_include/linux/page-flags.h
@ 2026-06-05 5:40 kernel test robot
2026-06-05 9:13 ` Michael S. Tsirkin
0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2026-06-05 5:40 UTC (permalink / raw)
To: Michael S. Tsirkin; +Cc: oe-lkp, lkp, linux-mm, oliver.sang
Hello,
kernel test robot noticed "kernel_BUG_at_include/linux/page-flags.h" on:
commit: 504f40f6bda6afb3c5dc9924f74c583b6e394554 ("mm: page_reporting: skip redundant zeroing of host-zeroed reported pages")
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master
[test failed on linux-next/master a225caacc36546a09586e3ece36c0313146e7da9]
in testcase: boot
config: i386-randconfig-002-20251019
compiler: gcc-14
test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 32G
(please refer to attached dmesg/kmsg for entire log/backtrace)
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/202606051117.7b999010-lkp@intel.com
[ 0.218502][ T0] ------------[ cut here ]------------
[ 0.219180][ T0] kernel BUG at include/linux/page-flags.h:688!
[ 0.219979][ T0] Oops: invalid opcode: 0000 [#1]
[ 0.220604][ T0] CPU: 0 UID: 0 PID: 0 Comm: swapper Not tainted 7.0.0-rc2-00009-g504f40f6bda6 #1 PREEMPTLAZY 25f758a7ca9ac6ee8258fdb39cd5b7566f523e33
[ 0.222356][ T0] EIP: post_alloc_hook (linux/page-flags.h:688 (discriminator 1) page_alloc.c:1868 (discriminator 1))
[ 0.222995][ T0] Code: 83 7d f0 1f 0f 87 10 01 00 00 83 c4 10 5b 5e 5f 5d 31 c0 31 d2 31 c9 c3 8d b6 00 00 00 00 ba 44 7a 3c 9d 89 f0 e8 f4 31 fc ff <0f> 0b b8 14 5e a0 9d e8 90 53 cb ff 2e 8d b4 26 00 00 00 00 8b 45
All code
========
0: 83 7d f0 1f cmpl $0x1f,-0x10(%rbp)
4: 0f 87 10 01 00 00 ja 0x11a
a: 83 c4 10 add $0x10,%esp
d: 5b pop %rbx
e: 5e pop %rsi
f: 5f pop %rdi
10: 5d pop %rbp
11: 31 c0 xor %eax,%eax
13: 31 d2 xor %edx,%edx
15: 31 c9 xor %ecx,%ecx
17: c3 ret
18: 8d b6 00 00 00 00 lea 0x0(%rsi),%esi
1e: ba 44 7a 3c 9d mov $0x9d3c7a44,%edx
23: 89 f0 mov %esi,%eax
25: e8 f4 31 fc ff call 0xfffffffffffc321e
2a:* 0f 0b ud2 <-- trapping instruction
2c: b8 14 5e a0 9d mov $0x9da05e14,%eax
31: e8 90 53 cb ff call 0xffffffffffcb53c6
36: 2e 8d b4 26 00 00 00 cs lea 0x0(%rsi,%riz,1),%esi
3d: 00
3e: 8b .byte 0x8b
3f: 45 rex.RB
Code starting with the faulting instruction
===========================================
0: 0f 0b ud2
2: b8 14 5e a0 9d mov $0x9da05e14,%eax
7: e8 90 53 cb ff call 0xffffffffffcb539c
c: 2e 8d b4 26 00 00 00 cs lea 0x0(%rsi,%riz,1),%esi
13: 00
14: 8b .byte 0x8b
15: 45 rex.RB
[ 0.225477][ T0] EAX: 00000000 EBX: 00000000 ECX: 00000000 EDX: 00000000
[ 0.226363][ T0] ESI: f4102340 EDI: 9dc37ba0 EBP: 9d633e20 ESP: 9d633e04
[ 0.227277][ T0] DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068 EFLAGS: 00210046
[ 0.228243][ T0] CR0: 80050033 CR2: ffd99000 CR3: 1dd74000 CR4: 00000090
[ 0.229132][ T0] Call Trace:
[ 0.229534][ T0] get_page_from_freelist (page_alloc.c:1938 page_alloc.c:4006)
[ 0.230201][ T0] ? __this_cpu_preempt_check (smp_processor_id.c:64)
[ 0.230883][ T0] __alloc_frozen_pages_noprof (page_alloc.c:5297)
[ 0.231617][ T0] allocate_slab (slub.c:3269 (discriminator 2) slub.c:3458 (discriminator 2))
[ 0.232174][ T0] refill_objects (slub.c:3516 slub.c:7153)
[ 0.232743][ T0] __pcs_replace_empty_main (slub.c:2818 slub.c:2839 slub.c:4602)
[ 0.233433][ T0] ? mm_alloc (fork.c:1157 (discriminator 2))
[ 0.233945][ T0] kmem_cache_alloc_noprof (slub.c:4695 slub.c:4829 slub.c:4851)
[ 0.234624][ T0] ? kmem_cache_alloc_noprof (slub.c:4689 (discriminator 2) slub.c:4829 (discriminator 2) slub.c:4851 (discriminator 2))
[ 0.235315][ T0] mm_alloc (fork.c:1157 (discriminator 2))
[ 0.235814][ T0] poking_init (x86/mm/init.c:824)
[ 0.236341][ T0] start_kernel (main.c:1072)
[ 0.237088][ T0] i386_start_kernel (x86/kernel/head32.c:79)
[ 0.237969][ T0] startup_32_smp (x86/kernel/head_32.S:292)
[ 0.238817][ T0] Modules linked in:
[ 0.239561][ T0] ---[ end trace 0000000000000000 ]---
[ 0.240564][ T0] EIP: post_alloc_hook (linux/page-flags.h:688 (discriminator 1) page_alloc.c:1868 (discriminator 1))
[ 0.241521][ T0] Code: 83 7d f0 1f 0f 87 10 01 00 00 83 c4 10 5b 5e 5f 5d 31 c0 31 d2 31 c9 c3 8d b6 00 00 00 00 ba 44 7a 3c 9d 89 f0 e8 f4 31 fc ff <0f> 0b b8 14 5e a0 9d e8 90 53 cb ff 2e 8d b4 26 00 00 00 00 8b 45
All code
========
0: 83 7d f0 1f cmpl $0x1f,-0x10(%rbp)
4: 0f 87 10 01 00 00 ja 0x11a
a: 83 c4 10 add $0x10,%esp
d: 5b pop %rbx
e: 5e pop %rsi
f: 5f pop %rdi
10: 5d pop %rbp
11: 31 c0 xor %eax,%eax
13: 31 d2 xor %edx,%edx
15: 31 c9 xor %ecx,%ecx
17: c3 ret
18: 8d b6 00 00 00 00 lea 0x0(%rsi),%esi
1e: ba 44 7a 3c 9d mov $0x9d3c7a44,%edx
23: 89 f0 mov %esi,%eax
25: e8 f4 31 fc ff call 0xfffffffffffc321e
2a:* 0f 0b ud2 <-- trapping instruction
2c: b8 14 5e a0 9d mov $0x9da05e14,%eax
31: e8 90 53 cb ff call 0xffffffffffcb53c6
36: 2e 8d b4 26 00 00 00 cs lea 0x0(%rsi,%riz,1),%esi
3d: 00
3e: 8b .byte 0x8b
3f: 45 rex.RB
Code starting with the faulting instruction
===========================================
0: 0f 0b ud2
2: b8 14 5e a0 9d mov $0x9da05e14,%eax
7: e8 90 53 cb ff call 0xffffffffffcb539c
c: 2e 8d b4 26 00 00 00 cs lea 0x0(%rsi,%riz,1),%esi
13: 00
14: 8b .byte 0x8b
15: 45 rex.RB
The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20260605/202606051117.7b999010-lkp@intel.com
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [linux-next:master] [mm] 504f40f6bd: kernel_BUG_at_include/linux/page-flags.h
2026-06-05 5:40 [linux-next:master] [mm] 504f40f6bd: kernel_BUG_at_include/linux/page-flags.h kernel test robot
@ 2026-06-05 9:13 ` Michael S. Tsirkin
0 siblings, 0 replies; 2+ messages in thread
From: Michael S. Tsirkin @ 2026-06-05 9:13 UTC (permalink / raw)
To: kernel test robot; +Cc: oe-lkp, lkp, linux-mm
On Fri, Jun 05, 2026 at 01:40:41PM +0800, kernel test robot wrote:
>
>
> Hello,
>
> kernel test robot noticed "kernel_BUG_at_include/linux/page-flags.h" on:
>
> commit: 504f40f6bda6afb3c5dc9924f74c583b6e394554 ("mm: page_reporting: skip redundant zeroing of host-zeroed reported pages")
> https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master
>
> [test failed on linux-next/master a225caacc36546a09586e3ece36c0313146e7da9]
>
> in testcase: boot
>
> config: i386-randconfig-002-20251019
> compiler: gcc-14
> test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 32G
>
> (please refer to attached dmesg/kmsg for entire log/backtrace)
>
Gift that keeps giving. Same thing - I pushed a wrong branch to next :( Sorry.
Made it a separate remote now so these pushes are intentional.
Donnu why I didn't think of that earlier.
>
> 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/202606051117.7b999010-lkp@intel.com
>
>
>
> [ 0.218502][ T0] ------------[ cut here ]------------
> [ 0.219180][ T0] kernel BUG at include/linux/page-flags.h:688!
> [ 0.219979][ T0] Oops: invalid opcode: 0000 [#1]
> [ 0.220604][ T0] CPU: 0 UID: 0 PID: 0 Comm: swapper Not tainted 7.0.0-rc2-00009-g504f40f6bda6 #1 PREEMPTLAZY 25f758a7ca9ac6ee8258fdb39cd5b7566f523e33
> [ 0.222356][ T0] EIP: post_alloc_hook (linux/page-flags.h:688 (discriminator 1) page_alloc.c:1868 (discriminator 1))
> [ 0.222995][ T0] Code: 83 7d f0 1f 0f 87 10 01 00 00 83 c4 10 5b 5e 5f 5d 31 c0 31 d2 31 c9 c3 8d b6 00 00 00 00 ba 44 7a 3c 9d 89 f0 e8 f4 31 fc ff <0f> 0b b8 14 5e a0 9d e8 90 53 cb ff 2e 8d b4 26 00 00 00 00 8b 45
> All code
> ========
> 0: 83 7d f0 1f cmpl $0x1f,-0x10(%rbp)
> 4: 0f 87 10 01 00 00 ja 0x11a
> a: 83 c4 10 add $0x10,%esp
> d: 5b pop %rbx
> e: 5e pop %rsi
> f: 5f pop %rdi
> 10: 5d pop %rbp
> 11: 31 c0 xor %eax,%eax
> 13: 31 d2 xor %edx,%edx
> 15: 31 c9 xor %ecx,%ecx
> 17: c3 ret
> 18: 8d b6 00 00 00 00 lea 0x0(%rsi),%esi
> 1e: ba 44 7a 3c 9d mov $0x9d3c7a44,%edx
> 23: 89 f0 mov %esi,%eax
> 25: e8 f4 31 fc ff call 0xfffffffffffc321e
> 2a:* 0f 0b ud2 <-- trapping instruction
> 2c: b8 14 5e a0 9d mov $0x9da05e14,%eax
> 31: e8 90 53 cb ff call 0xffffffffffcb53c6
> 36: 2e 8d b4 26 00 00 00 cs lea 0x0(%rsi,%riz,1),%esi
> 3d: 00
> 3e: 8b .byte 0x8b
> 3f: 45 rex.RB
>
> Code starting with the faulting instruction
> ===========================================
> 0: 0f 0b ud2
> 2: b8 14 5e a0 9d mov $0x9da05e14,%eax
> 7: e8 90 53 cb ff call 0xffffffffffcb539c
> c: 2e 8d b4 26 00 00 00 cs lea 0x0(%rsi,%riz,1),%esi
> 13: 00
> 14: 8b .byte 0x8b
> 15: 45 rex.RB
> [ 0.225477][ T0] EAX: 00000000 EBX: 00000000 ECX: 00000000 EDX: 00000000
> [ 0.226363][ T0] ESI: f4102340 EDI: 9dc37ba0 EBP: 9d633e20 ESP: 9d633e04
> [ 0.227277][ T0] DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068 EFLAGS: 00210046
> [ 0.228243][ T0] CR0: 80050033 CR2: ffd99000 CR3: 1dd74000 CR4: 00000090
> [ 0.229132][ T0] Call Trace:
> [ 0.229534][ T0] get_page_from_freelist (page_alloc.c:1938 page_alloc.c:4006)
> [ 0.230201][ T0] ? __this_cpu_preempt_check (smp_processor_id.c:64)
> [ 0.230883][ T0] __alloc_frozen_pages_noprof (page_alloc.c:5297)
> [ 0.231617][ T0] allocate_slab (slub.c:3269 (discriminator 2) slub.c:3458 (discriminator 2))
> [ 0.232174][ T0] refill_objects (slub.c:3516 slub.c:7153)
> [ 0.232743][ T0] __pcs_replace_empty_main (slub.c:2818 slub.c:2839 slub.c:4602)
> [ 0.233433][ T0] ? mm_alloc (fork.c:1157 (discriminator 2))
> [ 0.233945][ T0] kmem_cache_alloc_noprof (slub.c:4695 slub.c:4829 slub.c:4851)
> [ 0.234624][ T0] ? kmem_cache_alloc_noprof (slub.c:4689 (discriminator 2) slub.c:4829 (discriminator 2) slub.c:4851 (discriminator 2))
> [ 0.235315][ T0] mm_alloc (fork.c:1157 (discriminator 2))
> [ 0.235814][ T0] poking_init (x86/mm/init.c:824)
> [ 0.236341][ T0] start_kernel (main.c:1072)
> [ 0.237088][ T0] i386_start_kernel (x86/kernel/head32.c:79)
> [ 0.237969][ T0] startup_32_smp (x86/kernel/head_32.S:292)
> [ 0.238817][ T0] Modules linked in:
> [ 0.239561][ T0] ---[ end trace 0000000000000000 ]---
> [ 0.240564][ T0] EIP: post_alloc_hook (linux/page-flags.h:688 (discriminator 1) page_alloc.c:1868 (discriminator 1))
> [ 0.241521][ T0] Code: 83 7d f0 1f 0f 87 10 01 00 00 83 c4 10 5b 5e 5f 5d 31 c0 31 d2 31 c9 c3 8d b6 00 00 00 00 ba 44 7a 3c 9d 89 f0 e8 f4 31 fc ff <0f> 0b b8 14 5e a0 9d e8 90 53 cb ff 2e 8d b4 26 00 00 00 00 8b 45
> All code
> ========
> 0: 83 7d f0 1f cmpl $0x1f,-0x10(%rbp)
> 4: 0f 87 10 01 00 00 ja 0x11a
> a: 83 c4 10 add $0x10,%esp
> d: 5b pop %rbx
> e: 5e pop %rsi
> f: 5f pop %rdi
> 10: 5d pop %rbp
> 11: 31 c0 xor %eax,%eax
> 13: 31 d2 xor %edx,%edx
> 15: 31 c9 xor %ecx,%ecx
> 17: c3 ret
> 18: 8d b6 00 00 00 00 lea 0x0(%rsi),%esi
> 1e: ba 44 7a 3c 9d mov $0x9d3c7a44,%edx
> 23: 89 f0 mov %esi,%eax
> 25: e8 f4 31 fc ff call 0xfffffffffffc321e
> 2a:* 0f 0b ud2 <-- trapping instruction
> 2c: b8 14 5e a0 9d mov $0x9da05e14,%eax
> 31: e8 90 53 cb ff call 0xffffffffffcb53c6
> 36: 2e 8d b4 26 00 00 00 cs lea 0x0(%rsi,%riz,1),%esi
> 3d: 00
> 3e: 8b .byte 0x8b
> 3f: 45 rex.RB
>
> Code starting with the faulting instruction
> ===========================================
> 0: 0f 0b ud2
> 2: b8 14 5e a0 9d mov $0x9da05e14,%eax
> 7: e8 90 53 cb ff call 0xffffffffffcb539c
> c: 2e 8d b4 26 00 00 00 cs lea 0x0(%rsi,%riz,1),%esi
> 13: 00
> 14: 8b .byte 0x8b
> 15: 45 rex.RB
>
>
> The kernel config and materials to reproduce are available at:
> https://download.01.org/0day-ci/archive/20260605/202606051117.7b999010-lkp@intel.com
>
>
>
> --
> 0-DAY CI Kernel Test Service
> https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-06-05 9:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-05 5:40 [linux-next:master] [mm] 504f40f6bd: kernel_BUG_at_include/linux/page-flags.h kernel test robot
2026-06-05 9:13 ` Michael S. Tsirkin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox