Home

Description

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.

PUBLISHED Reserved 2025-12-16 | Published 2025-12-16 | Updated 2025-12-16 | Assigner Linux

Product status

Default status
unaffected

69f5eb78d4b0cc978fe83dd2bfea1b67547290bf (git) before df96dbe1af7f6591c09f862f1226d3619b07e1b6
affected

69f5eb78d4b0cc978fe83dd2bfea1b67547290bf (git) before a2b32bc1d9e359a9f90d0de6af16699facb10935
affected

Default status
affected

6.13
affected

Any version before 6.13
unaffected

6.17.8 (semver)
unaffected

6.18 (original_commit_for_fix)
unaffected

References

git.kernel.org/...c/df96dbe1af7f6591c09f862f1226d3619b07e1b6

git.kernel.org/...c/a2b32bc1d9e359a9f90d0de6af16699facb10935

cve.org (CVE-2025-68316)

nvd.nist.gov (CVE-2025-68316)

Download JSON

Data based on CVE®. Copyright © 1999-2025, The MITRE Corporation. All rights reserved.