RHEL8 gets crash at is_mem_section_removable() while running the lsmem command.
Issue
- The system is getting crash while running the
lsmemcommand. - Also, this is reproducible while running the
sosreportcommand as it invokes the lsmem command.
[ 529.110591] BUG: unable to handle kernel paging request at 0000000000001770
[ 529.110638] PGD 0 P4D 0
[ 529.110656] Oops: 0000 [#1] SMP NOPTI
[ 529.110678] CPU: 444 PID: 38449 Comm: lsmem Kdump: loaded Tainted: P E --------- -t - 4.18.0-305.62.1.el8_4.x86_64 #1
[ 529.110775] RIP: 0010:is_mem_section_removable+0x41/0x140
..
[ 529.111224] Call Trace:
[ 529.111245] removable_show+0x70/0xa0
[ 529.111268] dev_attr_show+0x1c/0x40
[ 529.111289] sysfs_kf_seq_show+0x9b/0x100
[ 529.111317] seq_read+0x163/0x420
[ 529.111336] vfs_read+0x91/0x140
[ 529.111353] ksys_read+0x4f/0xb0
Environment
- Red Hat Enterprise Linux <= 8.5
- Persistent Memory.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.