* [linux-next:master] [memblock] c7fc9cde41: RIP:__free_reserved_area
@ 2026-03-30 13:41 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-03-30 13:41 UTC (permalink / raw)
To: Mike Rapoport; +Cc: oe-lkp, lkp, linux-mm, ltp, oliver.sang
Hello,
kernel test robot noticed "RIP:__free_reserved_area" on:
commit: c7fc9cde41be029cf6675befbafcbb2dab40b39b ("memblock: warn when freeing reserved memory before memory map is initialized")
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master
[test failed on linux-next/master 3b058d1aeeeff27a7289529c4944291613b364e9]
in testcase: ltp
version:
with following parameters:
disk: 1HDD
fs: btrfs
test: dio-01
config: x86_64-rhel-9.4-ltp
compiler: gcc-14
test machine: 4 threads 1 sockets Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz (Ivy Bridge) with 8G memory
(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/202603302154.b50adaf1-lkp@intel.com
kern :warn : [ 0.609106] [ T0] ------------[ cut here ]------------
kern :warn : [ 0.609305] [ T0] Cannot free reserved memory because of deferred initialization of the memory map
kern :warn : [ 0.609310] [ T0] WARNING: mm/memblock.c:904 at __free_reserved_area+0x3e2/0x530, CPU#0: swapper/0/0
kern :warn : [ 0.609778] [ T0] Modules linked in:
kern :warn : [ 0.609933] [ T0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G S 7.0.0-rc4-00012-gc7fc9cde41be #1 PREEMPT(lazy)
kern :warn : [ 0.610264] [ T0] Tainted: [S]=CPU_OUT_OF_SPEC
kern :warn : [ 0.610428] [ T0] Hardware name: Hewlett-Packard p6-1451cx/2ADA, BIOS 8.15 02/05/2013
kern :warn : [ 0.610686] [ T0] RIP: 0010:__free_reserved_area (mm/memblock.c:904 (discriminator 1))
kern :warn : [ 0.610883] [ T0] Code: 48 c1 e0 09 49 81 e0 00 80 ff ff 4d 8d 2c 00 65 ff 0d 52 f1 51 05 74 29 49 39 dd 0f 82 e2 fd ff ff eb 83 48 8d 3d 8e 2b 53 04 <67> 48 0f b9 3a 45 31 e4 e9 6f ff ff ff e8 4c 71 4d ff e9 88 fd ff
All code
========
0: 48 c1 e0 09 shl $0x9,%rax
4: 49 81 e0 00 80 ff ff and $0xffffffffffff8000,%r8
b: 4d 8d 2c 00 lea (%r8,%rax,1),%r13
f: 65 ff 0d 52 f1 51 05 decl %gs:0x551f152(%rip) # 0x551f168
16: 74 29 je 0x41
18: 49 39 dd cmp %rbx,%r13
1b: 0f 82 e2 fd ff ff jb 0xfffffffffffffe03
21: eb 83 jmp 0xffffffffffffffa6
23: 48 8d 3d 8e 2b 53 04 lea 0x4532b8e(%rip),%rdi # 0x4532bb8
2a:* 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction
2f: 45 31 e4 xor %r12d,%r12d
32: e9 6f ff ff ff jmp 0xffffffffffffffa6
37: e8 4c 71 4d ff call 0xffffffffff4d7188
3c: e9 .byte 0xe9
3d: 88 fd mov %bh,%ch
3f: ff .byte 0xff
Code starting with the faulting instruction
===========================================
0: 67 48 0f b9 3a ud1 (%edx),%rdi
5: 45 31 e4 xor %r12d,%r12d
8: e9 6f ff ff ff jmp 0xffffffffffffff7c
d: e8 4c 71 4d ff call 0xffffffffff4d715e
12: e9 .byte 0xe9
13: 88 fd mov %bh,%ch
15: ff .byte 0xff
kern :warn : [ 0.611363] [ T0] RSP: 0000:ffffffff85207e30 EFLAGS: 00010286
kern :warn : [ 0.611558] [ T0] RAX: 0000000297600001 RBX: 000000021e9ba000 RCX: 0000000080000001
kern :warn : [ 0.611775] [ T0] RDX: 00000000000000cc RSI: 000000021e9c6000 RDI: ffffffff863afa80
kern :warn : [ 0.612016] [ T0] RBP: ffffffff842300c0 R08: ffff88821e9c5fff R09: 0000000000000001
kern :warn : [ 0.612256] [ T0] R10: ffffffff8742a600 R11: 8000000000000063 R12: dffffc0000000000
kern :warn : [ 0.612494] [ T0] R13: 0000000000000000 R14: 0000000000000000 R15: 000000021fdf1000
kern :warn : [ 0.612774] [ T0] FS: 0000000000000000(0000) GS:ffff888214e8c000(0000) knlGS:0000000000000000
kern :warn : [ 0.613034] [ T0] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
kern :warn : [ 0.613231] [ T0] CR2: ffff88821f001000 CR3: 000000021c872001 CR4: 00000000001706f0
kern :warn : [ 0.613471] [ T0] Call Trace:
kern :warn : [ 0.613609] [ T0] <TASK>
kern :warn : [ 0.613811] [ T0] ? __pfx_set_memory_rw (arch/x86/mm/pat/set_memory.c:2319)
kern :warn : [ 0.613991] [ T0] free_reserved_area (mm/memblock.c:958)
kern :warn : [ 0.614165] [ T0] alternative_instructions (arch/x86/kernel/alternative.c:2459)
kern :warn : [ 0.614355] [ T0] arch_cpu_finalize_init (arch/x86/include/asm/page_64.h:142 arch/x86/kernel/cpu/common.c:2616)
kern :warn : [ 0.614538] [ T0] start_kernel (init/main.c:1180)
kern :warn : [ 0.614687] [ T0] x86_64_start_reservations (arch/x86/kernel/head64.c:310)
kern :warn : [ 0.614872] [ T0] x86_64_start_kernel (??:?)
kern :warn : [ 0.615048] [ T0] common_startup_64 (arch/x86/kernel/head_64.S:419)
kern :warn : [ 0.615225] [ T0] </TASK>
kern :warn : [ 0.615355] [ T0] ---[ end trace 0000000000000000 ]---
The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20260330/202603302154.b50adaf1-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:[~2026-03-30 13:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-30 13:41 [linux-next:master] [memblock] c7fc9cde41: RIP:__free_reserved_area kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox