---
title: "CVE-2021-47491"
canonical_url: "https://pkgseek.com/security/CVE-2021-47491"
locale: "zh-CN"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# CVE-2021-47491

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 …

CVE-2021-47491 严重级别为 MEDIUM，共索引 36 条受影响软件包构建记录，涉及 2 个发行版。

- **级别 / 评分**: MEDIUM
- **受影响构建数**: 36
- **涉及发行版**: 2
- **已标明修复版本发行版**: Oracle Linux

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Oracle Linux | 8 | bpftool | 4.18.0-553.8.1.el8_10 | 4.18.0-553.16.1.el8_10 |
| Oracle Linux | 8 | kernel | 4.18.0-553.8.1.el8_10 | 4.18.0-553.16.1.el8_10 |
| Oracle Linux | 8 | kernel-abi-stablelists | 4.18.0-553.8.1.el8_10 | 4.18.0-553.16.1.el8_10 |
| Oracle Linux | 8 | kernel-core | 4.18.0-553.8.1.el8_10 | 4.18.0-553.16.1.el8_10 |
| Oracle Linux | 8 | kernel-cross-headers | 4.18.0-553.8.1.el8_10 | 4.18.0-553.16.1.el8_10 |
| Oracle Linux | 8 | kernel-debug | 4.18.0-553.8.1.el8_10 | 4.18.0-553.16.1.el8_10 |
| Oracle Linux | 8 | kernel-debug-core | 4.18.0-553.8.1.el8_10 | 4.18.0-553.16.1.el8_10 |
| Oracle Linux | 8 | kernel-debug-devel | 4.18.0-553.8.1.el8_10 | 4.18.0-553.16.1.el8_10 |
| Oracle Linux | 8 | kernel-debug-modules | 4.18.0-553.8.1.el8_10 | 4.18.0-553.16.1.el8_10 |
| Oracle Linux | 8 | kernel-debug-modules-extra | 4.18.0-553.8.1.el8_10 | 4.18.0-553.16.1.el8_10 |
| Oracle Linux | 8 | kernel-devel | 4.18.0-553.8.1.el8_10 | 4.18.0-553.16.1.el8_10 |
| Oracle Linux | 8 | kernel-doc | 4.18.0-553.8.1.el8_10 | 4.18.0-553.16.1.el8_10 |
| Oracle Linux | 8 | kernel-headers | 4.18.0-553.8.1.el8_10 | 4.18.0-553.16.1.el8_10 |
| Oracle Linux | 8 | kernel-modules | 4.18.0-553.8.1.el8_10 | 4.18.0-553.16.1.el8_10 |
| Oracle Linux | 8 | kernel-modules-extra | 4.18.0-553.8.1.el8_10 | 4.18.0-553.16.1.el8_10 |
| Oracle Linux | 8 | kernel-tools | 4.18.0-553.8.1.el8_10 | 4.18.0-553.16.1.el8_10 |
| Oracle Linux | 8 | kernel-tools-libs | 4.18.0-553.8.1.el8_10 | 4.18.0-553.16.1.el8_10 |
| Oracle Linux | 8 | perf | 4.18.0-553.8.1.el8_10 | 4.18.0-553.16.1.el8_10 |
| Oracle Linux | 8 | python3-perf | 4.18.0-553.8.1.el8_10 | 4.18.0-553.16.1.el8_10 |
| Ubuntu | focal | linux-buildinfo-5.6.0-1007-oem | 5.6.0-1007.7 | — |
| Ubuntu | focal | linux-headers-5.6.0-1007-oem | 5.6.0-1007.7 | — |
| Ubuntu | focal | linux-image-unsigned-5.6.0-1007-oem | 5.6.0-1007.7 | — |
| Ubuntu | focal | linux-modules-5.6.0-1007-oem | 5.6.0-1007.7 | — |
| Ubuntu | focal | linux-oem-5.6-headers-5.6.0-1007 | 5.6.0-1007.7 | — |
| Ubuntu | focal | linux-oem-5.6-tools-5.6.0-1007 | 5.6.0-1007.7 | — |
| Ubuntu | focal | linux-oem-5.6-tools-common | 5.6.0-1007.7 | — |
| Ubuntu | focal | linux-oem-5.6-tools-host | 5.6.0-1007.7 | — |
| Ubuntu | focal | linux-tools-5.6.0-1007-oem | 5.6.0-1007.7 | — |
| Ubuntu | jammy | linux-buildinfo-5.17.0-1003-oem | 5.17.0-1003.3 | — |
| Ubuntu | jammy | linux-headers-5.17.0-1003-oem | 5.17.0-1003.3 | — |
| Ubuntu | jammy | linux-image-unsigned-5.17.0-1003-oem | 5.17.0-1003.3 | — |
| Ubuntu | jammy | linux-modules-5.17.0-1003-oem | 5.17.0-1003.3 | — |
| Ubuntu | jammy | linux-oem-5.17-headers-5.17.0-1003 | 5.17.0-1003.3 | — |
| Ubuntu | jammy | linux-oem-5.17-tools-5.17.0-1003 | 5.17.0-1003.3 | — |
| Ubuntu | jammy | linux-oem-5.17-tools-host | 5.17.0-1003.3 | — |
| Ubuntu | jammy | linux-tools-5.17.0-1003-oem | 5.17.0-1003.3 | — |
