CVE-2025-68316
Awaiting Analysis Awaiting Analysis - Queue
BaseFortify

Publication date: 2025-12-16

Last updated on: 2025-12-18

Assigner: kernel.org

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-12-16
Last Modified
2025-12-18
Generated
2026-05-06
AI Q&A
2025-12-16
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Currently, no data is known.
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability is in the Linux kernel's SCSI UFS core driver. After the DME Link Startup, the error return value can be 0 (SUCCESS) or 1 (FAILURE). However, the driver probe function expects a negative value to indicate an error. Because the failure code is 1 (not negative), the probe incorrectly considers the operation successful even though it failed. Later, when the driver is removed, this invalid state causes a kernel oops (crash). The issue arises because callers of ufshcd_init() do not expect a non-negative error code.


How can this vulnerability impact me? :

This vulnerability can cause the Linux kernel to incorrectly treat a failed driver probe as successful, leading to an invalid driver state. When the driver is removed, this invalid state can cause a kernel oops (crash), potentially leading to system instability or downtime.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart