CVE-2021-47491
CVE.org · Published
- Record status
- Published
- Identifier year (not publication year)
- 2021
- Source publication
- Source updated
- Imported by cveboard
- Source snapshot
- cve_2026-10-24_midnight_baseline ·
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
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 99cb0dbd47a15d395bf3faa78dc122bc5efe3fc0 | affected | git | 6d67b2a73b8e3a079c355bab3c1aef7d85a044b8 | Unavailable | None listed |
| 99cb0dbd47a15d395bf3faa78dc122bc5efe3fc0 | affected | git | 5fcb6fce74ffa614d964667110cf1a516c48c6d9 | Unavailable | None listed |
| 99cb0dbd47a15d395bf3faa78dc122bc5efe3fc0 | affected | git | a4aeaa06d45e90f9b279f0b09de84bd00006e733 | Unavailable | None listed |
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
affected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 5.4 | affected | Unavailable | Unavailable | Unavailable | None listed |
| 0 | unaffected | semver | 5.4 | Unavailable | None listed |
| 5.10.78 | unaffected | semver | Unavailable | 5.10.* | None listed |
| 5.14.16 | unaffected | semver | Unavailable | 5.14.* | None listed |
| 5.15 | unaffected | original_commit_for_fix | Unavailable | * | None listed |