CVE-2025-68338 in Kernel products
In the Linux kernel, the following vulnerability has been resolved: net: dsa: microchip: Don't free uninitialized ksz_irq If something goes wrong at setup, ksz_irq_free() can be called on uninitialized ksz_irq (for example when ksz_ptp_irq_setup() fails). It leads to freeing uninitialized IRQ numbers and/or domain...
Affects 1 product from 3 vendors. Facts below cite their sources.
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: microchip: Don't free uninitialized ksz_irq If something goes wrong at setup, ksz_irq_free() can be called on uninitialized ksz_irq (for example when ksz_ptp_irq_setup() fails). It leads to freeing uninitialized IRQ numbers and/or domains. Use dsa_switch_for_each_user_port_continue_reverse() in the error path to iterate only over the fully initialized ports.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-68338 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-032763-I |
| Published | 2025-12-23 |
| Last modified | 2026-10-19 |
| Source | NVD |
Analysis AI-written, not human-reviewed
A vulnerability in the Linux kernel's DSA (Distributed Switch Architecture) driver for Microchip devices could lead to the improper freeing of uninitialized IRQ numbers and/or domains if an error occurs during setup.
The vulnerability arises from the potential execution of ksz_irq_free() on an uninitialized ksz_irq variable, which can happen if ksz_ptp_irq_setup() fails. This could lead to undefined behavior, including potential memory corruption or system instability.
Questions
What is CVE-2025-68338?
A vulnerability in the Linux kernel's DSA (Distributed Switch Architecture) driver for Microchip devices could lead to the improper freeing of uninitialized IRQ numbers and/or domains if an error occurs during setup.
Is CVE-2025-68338 actively exploited?
No confirmed active exploitation of CVE-2025-68338 as of 2026-10-25.
How do I remediate CVE-2025-68338?
Priority: MEDIUM.
What systems are affected by CVE-2025-68338?
CVE-2025-68338 affects Kernel; Linux Linux; Microchip.
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-10-19.