title: Kernel: race between task migrating pages and another task calling exit_mmap to release those same pages getting invalid opcode bug in include/linux/swapops.h
description: A flaw was found in pfn_swap_entry_to_page in memory management subsystem in the Linux Kernel. In this flaw, an attacker with a local user privilege may cause a denial of service problem due to a BUG statement referencing pmd_t x.
problem types: Race Condition within a Thread
affected:
{
product: Kernel
vendor: n/a
versions:
version: 5.14-rc1, status: unaffected
}
{
vendor: Red Hat
product: Red Hat Enterprise Linux 8
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: kernel-rt
defaultStatus: affected
versions:
version: 0:4.18.0-513.5.1.rt7.307.el8_9, lessThan: *, versionType: rpm, status: unaffected
cpe: [cpe:/a:redhat:enterprise_linux:8::nfv, cpe:/a:redhat:enterprise_linux:8::realtime]
}
{
vendor: Red Hat
product: Red Hat Enterprise Linux 8
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: kernel
defaultStatus: affected
versions:
version: 0:4.18.0-513.5.1.el8_9, lessThan: *, versionType: rpm, status: unaffected
cpe: [cpe:/a:redhat:enterprise_linux:8::crb, cpe:/o:redhat:enterprise_linux:8::baseos]
}
{
vendor: Red Hat
product: Red Hat Enterprise Linux 8.6 Extended Update Support
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: kernel
defaultStatus: affected
versions:
version: 0:4.18.0-372.87.1.el8_6, lessThan: *, versionType: rpm, status: unaffected
cpe: [cpe:/a:redhat:rhel_eus:8.6::crb, cpe:/o:redhat:rhel_eus:8.6::baseos, cpe:/o:redhat:enterprise_linux:8::hypervisor]
}
{
vendor: Red Hat
product: Red Hat Enterprise Linux 8.8 Extended Update Support
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: kernel
defaultStatus: affected
versions:
version: 0:4.18.0-477.36.1.el8_8, lessThan: *, versionType: rpm, status: unaffected
cpe: [cpe:/o:redhat:rhel_eus:8.8::baseos, cpe:/a:redhat:rhel_eus:8.8::crb]
}
{
vendor: Red Hat
product: Red Hat Virtualization 4 for Red Hat Enterprise Linux 8
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: kernel
defaultStatus: affected
versions:
version: 0:4.18.0-372.87.1.el8_6, lessThan: *, versionType: rpm, status: unaffected
cpe: [cpe:/a:redhat:rhel_eus:8.6::crb, cpe:/o:redhat:rhel_eus:8.6::baseos, cpe:/o:redhat:enterprise_linux:8::hypervisor]
}
{
vendor: Red Hat
product: Red Hat Enterprise Linux 6
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: kernel
defaultStatus: unaffected
cpes: cpe:/o:redhat:enterprise_linux:6
}
{
vendor: Red Hat
product: Red Hat Enterprise Linux 7
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: kernel
defaultStatus: unaffected
cpes: cpe:/o:redhat:enterprise_linux:7
}
{
vendor: Red Hat
product: Red Hat Enterprise Linux 7
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: kernel-rt
defaultStatus: unaffected
cpes: cpe:/o:redhat:enterprise_linux:7
}
{
vendor: Red Hat
product: Red Hat Enterprise Linux 9
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: kernel
defaultStatus: unaffected
cpes: cpe:/o:redhat:enterprise_linux:9
}
{
vendor: Red Hat
product: Red Hat Enterprise Linux 9
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: kernel-rt
defaultStatus: unaffected
cpes: cpe:/o:redhat:enterprise_linux:9
}
{
product: Fedora
vendor: Fedora
collectionURL: https://packages.fedoraproject.org/
packageName: kernel
defaultStatus: unaffected
}
metrics:
other: [
content: {'value': 'Moderate', 'namespace': 'https://access.redhat.com/security/updates/classification/'}
type: Red Hat severity rating
]
workarounds: A possible workaround is disabling Transparent Hugepage