CVE-2025-68316
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
16/12/2025
Last modified:
16/12/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
scsi: ufs: core: Fix invalid probe error return value<br />
<br />
After DME Link Startup, the error return value is set to the MIPI UniPro<br />
GenericErrorCode which can be 0 (SUCCESS) or 1 (FAILURE). Upon failure<br />
during driver probe, the error code 1 is propagated back to the driver<br />
probe function which must return a negative value to indicate an error,<br />
but 1 is not negative, so the probe is considered to be successful even<br />
though it failed. Subsequently, removing the driver results in an oops<br />
because it is not in a valid state.<br />
<br />
This happens because none of the callers of ufshcd_init() expect a<br />
non-negative error code.<br />
<br />
Fix the return value and documentation to match actual usage.



