CVE-2025-38545

Description

From CVE.org

In the Linux kernel, the following vulnerability has been resolved: net: ethernet: ti: am65-cpsw-nuss: Fix skb size by accounting for skb_shared_info While transitioning from netdev_alloc_ip_align() to build_skb(), memory for the "skb_shared_info" member of an "skb" was not allocated. Fix this by allocating "PAGE_SIZE" as the skb length, accounting for the packet length, headroom and tailroom, thereby including the required memory space for skb_shared_info.

Statement

A flaw was found in the Linux kernel's Texas Instruments AM65 CPSW network driver (am65-cpsw-nuss) that affects Red Hat Enterprise Linux 10 and has been assessed as having Low impact. When this driver was converted from netdev_alloc_ip_align() to build_skb(), the memory allocated for the socket buffer (skb) did not account for the skb_shared_info structure, leaving the buffer smaller than the kernel's skb layout requires. While handling packets on the AM65 CPSW ethernet interface, the kernel can access memory beyond the end of the allocated buffer, resulting in memory corruption and a potential kernel crash or panic. The consequence is limited to availability, with no impact on confidentiality or integrity. Red Hat scored this flaw CVSS 3.1 4.4 (AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H), which differs meaningfully from the CVEORG score of 7.5 that assumes a network vector requiring no privileges; Red Hat's scoring reflects a local attack vector with high privileges required and availability-only impact on systems using this specific TI ethernet hardware. The vulnerable code was introduced upstream in Linux 6.10 and is not present in Red Hat Enterprise Linux 6, 7, 8, or 9, nor in Red Hat In-Vehicle OS, so those products are not affected. For Red Hat Enterprise Linux 10, the fix has been deferred to a future update given the Low impact rating; the residual risk on deferred systems is a potential kernel crash (denial of service) during packet processing on the affected AM65 CPSW interface.

Mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score4.45.57.5
Attack VectorLocalLocalNetwork
Attack ComplexityLowLowLow
Privileges RequiredHighLowNone
User InteractionNoneNoneNone
ScopeUnchangedUnchangedUnchanged
ConfidentialityNoneNoneNone
Integrity ImpactNoneNoneNone
Availability ImpactHighHighHigh

Vector

Red Hat: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H

NVD: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

cve.org: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Understanding the Weakness (CWE)

Other

Technical Impact: Varies by Context

If a resource is not initialized, it could contain unpredictable or expired data, or it could be initialized to defaults that are invalid. This can have security implications when the resource is expected to have certain properties or values.

Confidentiality

Technical Impact: Read Memory; Read Application Data

When reusing a resource such as memory or a program variable, the original contents of that resource may not be cleared before it is sent to an untrusted party.

Availability

Technical Impact: DoS: Crash, Exit, or Restart

The uninitialized resource may contain values that cause program flow to change in ways that the programmer did not intend.

Frequently Asked Questions

Want to get errata notifications? Sign up here.