{"id":"CVE-2025-68316","published":"2025-12-16T15:39:46Z","modified":"2026-05-11T21:50:49Z","title":"scsi: ufs: core: Fix invalid probe error return value","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: ufs: core: Fix invalid probe error return value\n\nAfter DME Link Startup, the error return value is set to the MIPI UniPro\nGenericErrorCode which can be 0 (SUCCESS) or 1 (FAILURE).  Upon failure\nduring driver probe, the error code 1 is propagated back to the driver\nprobe function which must return a negative value to indicate an error,\nbut 1 is not negative, so the probe is considered to be successful even\nthough it failed.  Subsequently, removing the driver results in an oops\nbecause it is not in a valid state.\n\nThis happens because none of the callers of ufshcd_init() expect a\nnon-negative error code.\n\nFix the return value and documentation to match actual usage.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00262,"percentile":0.11062,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/df96dbe1af7f6591c09f862f1226d3619b07e1b6","tags":[]},{"url":"https://git.kernel.org/stable/c/a2b32bc1d9e359a9f90d0de6af16699facb10935","tags":[]}],"priority":{"score":2.2,"factors":[{"name":"EPSS percentile","points":2.21}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 69f5eb78d4b0cc978fe83dd2bfea1b67547290bf, < df96dbe1af7f6591c09f862f1226d3619b07e1b6",">= 69f5eb78d4b0cc978fe83dd2bfea1b67547290bf, < a2b32bc1d9e359a9f90d0de6af16699facb10935"]},{"vendor":"Linux","product":"Linux","versions":["6.13"]}],"euvd":{"id":"EUVD-2025-203753","exploited":false,"provenance":"source"}}