LiveActive security incident?Get immediate response
CVE Record

CVE-2025-68763: crypto: starfive - Correctly handle return of sg_nents_for_len

In the Linux kernel, the following vulnerability has been resolved: crypto: starfive - Correctly handle return of sg_nents_for_len The return value of sg_nents_for_len was assigned to an unsigned long in starfive_hash_digest, causing negative error codes to be converted to large positive integers. Add error checking for sg_nents_for_len and return immediately on failure to prevent potential buffer overflows.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysisunknown

Security readout for executives and security teams

Plain-English summary

This Linux kernel issue affects the StarFive crypto driver. A failed length calculation could be misread as a very large successful value, creating a potential buffer overflow. The public record does not provide CVSS, impact scope, or exploitation details, so urgency depends on whether affected kernels and StarFive crypto hardware support exist in your environment.

Executive priority

Track and patch through normal kernel maintenance, escalating only for systems using StarFive hardware or driver support. Current public evidence does not justify emergency response without confirmed exposure.

Technical view

In starfive_hash_digest, sg_nents_for_len can return a negative error. The vulnerable code stored that result in an unsigned long, converting errors into large positive values. The kernel fix adds explicit error checking and returns immediately on failure to prevent potential buffer overflows.

Likely exposure

Likely limited to Linux systems using affected kernel versions with the StarFive crypto driver path present or enabled. The source bundle does not prove exposure for generic Linux deployments, cloud images, or distributions without StarFive-related hardware or driver use.

Exploitation context

No source in the bundle reports active exploitation, public exploit code, KEV listing, or a practical attack path. The available evidence supports a potential memory-safety risk, not a confirmed exploited vulnerability.

Researcher notes

The key bug is signed error handling: sg_nents_for_len failures were assigned to an unsigned long in starfive_hash_digest. The record names potential buffer overflow prevention but lacks CVSS, CWE, threat model, and exploitability details.

Mitigation direction

  • Apply vendor kernel updates that include the referenced Linux stable fixes.
  • Check distribution advisories for backported fixes before relying on upstream version numbers.
  • Prioritize systems using StarFive SoCs or StarFive crypto driver support.
  • If no vendor fix is published, follow vendor guidance for temporary risk reduction.

Validation and detection

  • Inventory kernel versions and distribution backport status across Linux assets.
  • Confirm whether StarFive crypto driver code is built, loaded, or reachable.
  • Map deployed kernels against the CVE record and referenced stable commits.
  • Review vendor advisories for fixed package versions and reboot requirements.
Prepared
Confidence
medium
Sources
7

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2025-68763 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
3Timeline events
0ADP providers
6Source links

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinux7883d1b28a2b0e62edcacea22de6b36a1918b15a, 7883d1b28a2b0e62edcacea22de6b36a1918b15a, 7883d1b28a2b0e62edcacea22de6b36a1918b15a, 7883d1b28a2b0e62edcacea22de6b36a1918b15a, 7883d1b28a2b0e62edcacea22de6b36a1918b15aunaffected
LinuxLinux6.5, 0, 6.6.120, 6.12.63, 6.17.13, 6.18.2, 6.19affected
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.