CVE-2023-53848

Description

A deadlock vulnerability was found in the md RAID5 cache (r5l) subsystem in the Linux kernel. In r5l_exit_log(), flush_work() is called while holding reconfig_mutex, which waits for disable_writeback_work to complete. However, r5c_disable_writeback_async() calls wait_event() which requires conf->log to be NULL, but that only happens after flush_work() returns, creating a deadlock.

Statement

This is a deadlock vulnerability in the RAID5 journaling cache subsystem that can cause system hangs when stopping RAID5 arrays with caching enabled. The impact is limited to systems using RAID5 with write-back caching.

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 Score4.7N/AN/A
Attack VectorLocalN/AN/A
Attack ComplexityHighN/AN/A
Privileges RequiredLowN/AN/A
User InteractionNoneN/AN/A
ScopeUnchangedN/AN/A
ConfidentialityNoneN/AN/A
Integrity ImpactNoneN/AN/A
Availability ImpactHighN/AN/A

Vector

Red Hat: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

Understanding the Weakness (CWE)

Availability

Technical Impact: DoS: Resource Consumption (CPU); DoS: Resource Consumption (Other); DoS: Crash, Exit, or Restart

Each thread of execution will "hang" and prevent tasks from completing. In some cases, CPU consumption may occur if a lock check occurs in a tight loop.

Frequently Asked Questions

Want to get errata notifications? Sign up here.