CVE-2022-50095
Description
A flaw was found in the Linux kernel's POSIX CPU timers component. When a secondary thread in a multi-threaded application replaces its process image while CPU timers are active, the kernel fails to properly disarm the timers before freeing their memory. This failure results in a use-after-free condition when the remaining timer queue is subsequently processed. A local user could exploit this vulnerability to crash the operating system, causing a denial of service (DoS), or potentially escalate their privileges.
Statement
This vulnerability is rated as Moderate severity for Red Hat Enterprise Linux because it requires local access and specific multi-threaded process execution conditions to trigger. An attacker must execute a binary where a non-leader thread replaces its process image while armed CPU timers remain active. Although triggering the resulting kernel use-after-free condition could lead to a system crash or privilege escalation, the flaw cannot be exploited remotely or over network interfaces.
Common Vulnerability Scoring System (CVSS) Score Details
Info alert:Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).
CVSS v3 Score Breakdown
| Red Hat | NVD | cve.org | |
|---|---|---|---|
| Base Score | 7 | 7.8 | 7.8 |
| Attack Vector | Local | Local | Local |
| Attack Complexity | High | Low | Low |
| Privileges Required | Low | Low | Low |
| User Interaction | None | None | None |
| Scope | Unchanged | Unchanged | Unchanged |
| Confidentiality | High | High | High |
| Integrity Impact | High | High | High |
| Availability Impact | High | High | High |
Vector
Red Hat: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
cve.org: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Understanding the Weakness (CWE)
Other,Confidentiality,Integrity
Technical Impact: Other; Read Application Data; Modify Application Data; DoS: Resource Consumption (Other)
It is possible to overflow the number of temporary files because directories typically have limits on the number of files allowed. This could create a denial of service problem.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.