CVE-2025-68338 Details
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.
A vulnerability exists in the Linux kernel's DSA Microchip driver, where the function 'ksz_irq_free()' can be called on uninitialized IRQ structures. This issue arises if the 'ksz_ptp_irq_setup()' function fails during setup, leading to the accidental freeing of uninitialized IRQ numbers or domains. The vulnerability affects the stable version of the Linux kernel.
The vulnerability has been addressed by modifying the error handling path to use 'dsa_switch_for_each_user_port_continue_reverse()', ensuring that only fully initialized ports are processed. Users should apply the latest patches available in the Linux kernel stable tree to mitigate this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Dec 23, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/25b62cc5b22c45face094ae3e8717258e46d1d19 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/32abbcf4379a0f851d7eb9d4389e7bf5c64bf6c0 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/9428654c827fa8d38b898135d26d39ee2d544246 | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 23, 2025 | New CVE Received | kernel.org |
Volerion