CVE Database›CVE-2025-21873

CVE-2025-21873

kernel: scsi: ufs: core: bsg: Fix crash when arpmb command fails

Loading…

Severity

Moderate

Red Hat Product Security

5.5

CVSS 3.1

Review impact separately from score.

Published · March 27, 2025

Updated · October 31, 2026

Description

A flaw was found in the Linux kernel's Universal Flash Storage (UFS) subsystem. When an unsupported Advanced Replay Protected Memory Block (ARPMB) command fails, improper error handling causes an invalid user-space memory copy operation. A local user with access to block SCSI generic interfaces can exploit this issue by submitting unsupported commands to an attached UFS device, triggering a kernel panic and resulting in a Denial of Service (DoS).

Statement

This vulnerability is rated as Moderate severity because exploitation requires local access to block SCSI generic interfaces on systems equipped with Universal Flash Storage (UFS) hardware, resulting in a denial of service without compromising confidentiality or integrity. The issue can only be triggered when unsupported Advanced Replay Protected Memory Block (ARPMB) commands are executed against an attached UFS device. Earlier releases, including Red Hat Enterprise Linux 8 and 9, do not incorporate the vulnerable code and are unaffected.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

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

CWE-125 · Out-of-bounds Read