All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <oliver.sang@intel.com>
To: "Michael S. Tsirkin" <mst@redhat.com>
Cc: <oe-lkp@lists.linux.dev>, <lkp@intel.com>, <linux-mm@kvack.org>,
	<oliver.sang@intel.com>
Subject: [linux-next:master] [mm]  504f40f6bd: kernel_BUG_at_include/linux/page-flags.h
Date: Fri, 5 Jun 2026 13:40:41 +0800	[thread overview]
Message-ID: <202606051117.7b999010-lkp@intel.com> (raw)



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


             reply	other threads:[~2026-06-05  5:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-05  5:40 kernel test robot [this message]
2026-06-05  9:13 ` [linux-next:master] [mm] 504f40f6bd: kernel_BUG_at_include/linux/page-flags.h Michael S. Tsirkin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202606051117.7b999010-lkp@intel.com \
    --to=oliver.sang@intel.com \
    --cc=linux-mm@kvack.org \
    --cc=lkp@intel.com \
    --cc=mst@redhat.com \
    --cc=oe-lkp@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.