CVE-2023-54065 in Kernel products
In the Linux kernel, the following vulnerability has been resolved: net: dsa: realtek: fix out-of-bounds access The probe function sets priv->chip_data to (void *)priv + sizeof(*priv) with the expectation that priv has enough trailing space. However, only realtek-smi actually allocated this chip_data space. Do li...
Affects 1 product from 4 vendors. Facts below cite their sources.
Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
In the Linux kernel, the following vulnerability has been resolved: net: dsa: realtek: fix out-of-bounds access The probe function sets priv->chip_data to (void *)priv + sizeof(*priv) with the expectation that priv has enough trailing space. However, only realtek-smi actually allocated this chip_data space. Do likewise in realtek-mdio to fix out-of-bounds accesses. These accesses likely went unnoticed so far, because of an (unused) buf[4096] member in struct realtek_priv, which caused kmalloc to round up the allocated buffer to a big enough size, so nothing of value was overwritten. With a different allocator (like in the barebox bootloader port of the driver) or with KASAN, the memory corruption becomes quickly apparent.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2023-54065 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-177476-I |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2025-12-24 |
| Last modified | 2026-08-04 |
| Source | NVD |
Analysis AI-written, not human-reviewed
A vulnerability in the Linux kernel's DSA (Distributed Switch Architecture) driver for Realtek switches could lead to out-of-bounds memory access. This issue arises because the probe function in realtek-mdio does not allocate the necessary space for chip_data, unlike realtek-smi.
An attacker with physical access to the network switch or the ability to manipulate the network environment could potentially exploit this vulnerability to execute arbitrary code or cause a denial of service by triggering out-of-bounds memory access.
Questions
What is CVE-2023-54065?
A vulnerability in the Linux kernel's DSA (Distributed Switch Architecture) driver for Realtek switches could lead to out-of-bounds memory access. This issue arises because the probe function in realtek-mdio does not allocate the necessary space for chip_data, unlike realtek-smi.
What is the CVSS score for CVE-2023-54065?
CVE-2023-54065 has CVSS 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.2%.
Is CVE-2023-54065 actively exploited?
No confirmed active exploitation of CVE-2023-54065 as of 2026-08-05.
How do I remediate CVE-2023-54065?
Priority: MEDIUM.
What systems are affected by CVE-2023-54065?
CVE-2023-54065 affects Kernel; Likewise; Linux Linux; Realtek.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Kernel","product":"EDS-518A","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-08-04.