1. CVE archive
  2. 2022
  3. CVE-2022-1011

CVE-2022-1011

7.8 High severity CVSS v3.1 · source NVD CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H 7.8 – High

Description

A use-after-free flaw was found in the Linux kernel’s FUSE filesystem in the way a user triggers write(). This flaw allows a local user to gain unauthorized access to data from the FUSE filesystem, resulting in privilege escalation.

Affected products

VendorProductVersionPlatform
debian debian linux 9.0 –
debian debian linux 10.0 –
fedoraproject fedora 34 –
fedoraproject fedora 35 –
linux linux kernel >= 2.6.35 < 4.9.320 –
linux linux kernel >= 4.10 < 4.14.276 –
linux linux kernel >= 4.15 < 4.19.238 –
linux linux kernel >= 4.20 < 5.4.185 –
linux linux kernel >= 5.5 < 5.10.106 –
linux linux kernel >= 5.11 < 5.15.29 –
linux linux kernel >= 5.16 < 5.16.15 –
linux linux kernel 5.17 –
linux linux kernel 5.17 rc1 –
linux linux kernel 5.17 rc2 –
linux linux kernel 5.17 rc3 –
linux linux kernel 5.17 rc4 –
linux linux kernel 5.17 rc5 –
linux linux kernel 5.17 rc6 –
linux linux kernel 5.17 rc7 –
netapp h300e firmware all –
netapp h300s firmware all –
netapp h410c firmware all –
netapp h410s firmware all –
netapp h500e firmware all –
netapp h500s firmware all –
netapp h700e firmware all –
netapp h700s firmware all –
oracle communications cloud native core binding support function 22.1.3 –
redhat build of quarkus 2.0 –
redhat codeready linux builder all –
redhat developer tools 1.0 –
redhat enterprise linux 6.0 –
redhat enterprise linux 7.0 –
redhat enterprise linux 8.0 –
redhat enterprise linux eus 8.6 –
redhat enterprise linux for ibm z systems 8.0 –
redhat enterprise linux for ibm z systems eus 8.6 –
redhat enterprise linux for power little endian 8.0 –
redhat enterprise linux for power little endian eus 8.6 –
redhat enterprise linux for real time 8 –
redhat enterprise linux for real time for nfv 8 –
redhat enterprise linux for real time for nfv tus 8.6 –
redhat enterprise linux for real time tus 8.6 –
redhat enterprise linux server aus 8.6 –
redhat enterprise linux server for power little endian update services for sap solutions 8.6 –
redhat enterprise linux server tus 8.6 –
redhat enterprise linux server update services for sap solutions 8.6 –
redhat virtualization host 4.0 –
All 24,148 Linux Kernel vulnerabilities

Vulnerability type

CWE-416 Use After Free

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory belongs to the code that operates on the new pointer.

Impact on systems

ScopeImpact
Integrity Modify Memory
The use of previously freed memory may corrupt valid data, if the memory area in question has been allocated and used properly elsewhere.
Availability DoS: Crash, Exit, or Restart
If chunk consolidation occurs after the use of previously freed data, the process may crash when invalid data is used as chunk information.
Confidentiality Read Memory
Read operations on freed memory can sometimes leak sensitive information instead of causing a crash
Integrity, Confidentiality, Availability Execute Unauthorized Code or Commands
If malicious data is entered before chunk consolidation can take place, it may be possible to take advantage of a write-what-where primitive to execute arbitrary code. If the newly allocated data happens to hold a class, in C++ for example, various function pointers may be scattered within the heap data. If one of these function pointers is overwritten with an address to valid shellcode, execution of arbitrary code can be achieved.

How to prevent it

Architecture and Design · Language Selection Choose a language that provides automatic memory management.
Implementation · Attack Surface Reduction When freeing pointers, be sure to set them to NULL once they are freed. However, the utilization of multiple or complex data structures may lower the usefulness of this strategy.

All 9,640 CWE-416 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org