cveboard RSS feed

CVE-2021-47491

CVE.org · Published

Historical CVEsJSONAI instructions

Record status
Published
Identifier year (not publication year)
2021
Source publication
Source updated
Imported by cveboard
Source snapshot
cve_2026-10-24_midnight_baseline ·

Plain text

CNA source text (English)

mm: khugepaged: skip huge page collapse for special files

In the Linux kernel, the following vulnerability has been resolved: mm: khugepaged: skip huge page collapse for special files The read-only THP for filesystems will collapse THP for files opened readonly and mapped with VM_EXEC. The intended usecase is to avoid TLB misses for large text segments. But it doesn't restrict the file types so a THP could be collapsed for a non-regular file, for example, block device, if it is opened readonly and mapped with EXEC permission. This may cause bugs, like [1] and [2]. This is definitely not the intended usecase, so just collapse THP for regular files in order to close the attack surface. [shy828301@gmail.com: fix vm_file check [3]]

Scoped product and version facts

Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.

Exploitation unknown; this catalogue does not assess exploitation.

Linux

Vendor
Linux
Product
Linux
Platforms
Unknown
Default status
unaffected
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
99cb0dbd47a15d395bf3faa78dc122bc5efe3fc0affectedgit6d67b2a73b8e3a079c355bab3c1aef7d85a044b8UnavailableNone listed
99cb0dbd47a15d395bf3faa78dc122bc5efe3fc0affectedgit5fcb6fce74ffa614d964667110cf1a516c48c6d9UnavailableNone listed
99cb0dbd47a15d395bf3faa78dc122bc5efe3fc0affectedgita4aeaa06d45e90f9b279f0b09de84bd00006e733UnavailableNone listed

Linux

Vendor
Linux
Product
Linux
Platforms
Unknown
Default status
affected
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
5.4affectedUnavailableUnavailableUnavailableNone listed
0unaffectedsemver5.4UnavailableNone listed
5.10.78unaffectedsemverUnavailable5.10.*None listed
5.14.16unaffectedsemverUnavailable5.14.*None listed
5.15unaffectedoriginal_commit_for_fixUnavailable*None listed