CVE-2025-68316

published 16 Dec 2025 · updated 11 May 2026

scsi: ufs: core: Fix invalid probe error return value

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel a2b32bc1d9e359a9f90d0de6af16699facb10935 and Kernel df96dbe1af7f6591c09f862f1226d3619b07e1b6.

In the Linux kernel, the following vulnerability has been resolved: scsi: ufs: core: Fix invalid probe error return value After DME Link Startup, the error return value is set to the MIPI UniPro GenericErrorCode which can be 0 (SUCCESS) or 1 (FAILURE). Upon failure during driver probe, the error code 1 is propagated back to the driver probe function which must return a negative value to indicate an error, but 1 is not negative, so the probe is considered to be successful even though it failed. Subsequently, removing the driver results in an oops because it is not in a valid state. This happens because none of the callers of ufshcd_init() expect a non-negative error code. Fix the return value and documentation to match actual usage.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.13, >=69f5eb78d4b0cc978fe83dd2bfea1b67547290bf <a2b32bc1d9e359a9f90d0de6af16699facb10935, >=69f5eb78d4b0cc978fe83dd2bfea1b67547290bf <df96dbe1af7f6591c09f862f1226d3619b07e1b6a2b32bc1d9e359a9f90d0de6af16699facb10935, df96dbe1af7f6591c09f862f1226d3619b07e1b6

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-68316 severity on Zeptric[![CVE-2025-68316](https://zeptric.io/badge/cve/CVE-2025-68316.svg)](https://zeptric.io/cve/CVE-2025-68316)