Bug 2158222 - kernel: hugepage bug: bad page state in process bash
Summary: kernel: hugepage bug: bad page state in process bash
Keywords:
Status: NEW
Alias: None
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On: 2158225 2158226 2158227 2193106
Blocks: 2152486
TreeView+ depends on / blocked
 
Reported: 2023-01-04 17:26 UTC by Alex
Modified: 2023-07-07 08:28 UTC (History)
47 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the Linux kernels hugepages management. When dynamically allocate and free 1G hugepage through /proc/sys/vm/nr_hugepages, it can lead to a system crash.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Alex 2023-01-04 17:26:40 UTC
A flaw found in the Linux Kernel hugepages management.
The issue actual for Red Hat kernels before 442 build (like kernel-4.18.0-441.el8).

Steps to Reproduce:
1.grubby --args "default_hugepagesz=1G" --update-kernel DEFAULT
2.reboot
3.echo 1 > /proc/sys/vm/nr_hugepages
4.echo 0 > /proc/sys/vm/nr_hugepages

Reference:
https://bugzilla.redhat.com/show_bug.cgi?id=2151884

Comment 11 Alex 2023-05-04 11:01:03 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2193106]


Note You need to log in before you can comment on or make changes to this bug.