CVE-2022-49651

Description

A flaw was found in the Linux kernel's Sleepable Read-Copy Update (SRCU) subsystem. A local user could exploit this flaw to cause a Denial of Service (DoS) through memory corruption and a kernel crash. The issue occurs because the cleanup function (cleanup_srcu_struct()) fails to check whether a synchronization grace period is pending before freeing internal structures, resulting in a use-after-free error.

Statement

This vulnerability is rated as having a Moderate impact because exploitation requires local access and primarily results in a denial of service via a kernel crash rather than arbitrary privilege escalation. The issue stems from inadequate synchronization handling within the kernel Sleepable Read-Copy Update (SRCU) subsystem, where tearing down an SRCU structure before a required grace period commences can cause memory corruption. Because SRCU is an internal kernel synchronization mechanism, triggering this condition requires specific kernel subsystem operations, which limits attacker reachability on default Red Hat Enterprise Linux deployments.

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 HatNVDcve.org
Base Score5.5N/A7.8
Attack VectorLocalN/ALocal
Attack ComplexityLowN/ALow
Privileges RequiredLowN/ALow
User InteractionNoneN/ANone
ScopeUnchangedN/AUnchanged
ConfidentialityNoneN/AHigh
Integrity ImpactNoneN/AHigh
Availability ImpactHighN/AHigh

Vector

Red Hat: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/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

Want to get errata notifications? Sign up here.