VDB

CVE-2025-68316

CVE-2025-68316 PUBLISHED

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

Reported by linux · Published December 16, 2025

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.

EPSS 0.18% · 8.1th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux_kernellinux6.18, 6.17.8
LinuxLinuxdf96dbe1af7f6591c09f862f1226d3619b07e1b6, 6.13

Risk scores

EPSS Score
0.18%
8.1th percentile

Affected products

VendorProductVersions
LinuxLinux69f5eb78d4b0cc978fe83dd2bfea1b67547290bf, 69f5eb78d4b0cc978fe83dd2bfea1b67547290bf
LinuxLinux6.13, 0, 6.17.8
linuxlinux_kernel6.13, 6.13
LinuxLinux69f5eb78d4b0cc978fe83dd2bfea1b67547290bf, 69f5eb78d4b0cc978fe83dd2bfea1b67547290bf, 0

Timeline

  • Dec 16, 2025 CVE Published
  • Dec 17, 2025 EPSS Score (30 in total, the first dated here)
  • Mar 26, 2026 Coalition ESS Score (2 in total, the first dated here)
  • Mar 29, 2026 Distribution Patch (186 in total, the first dated here)
  • Mar 29, 2026 Security Advisory (192 in total, the first dated here)
  • Jun 17, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-68316
vulnetix vdb fixes CVE-2025-68316

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-68316/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›