CVE-2025-68338

published 23 Dec 2025 · updated 5 Nov 2026

net: dsa: microchip: Don't free uninitialized ksz_irq

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 25b62cc5b22c45face094ae3e8717258e46d1d19, Kernel 32abbcf4379a0f851d7eb9d4389e7bf5c64bf6c0 and Kernel 9428654c827fa8d38b898135d26d39ee2d544246.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.3, >=cc13ab18b201ab630f03511060ba289b70052959 <25b62cc5b22c45face094ae3e8717258e46d1d19, >=cc13ab18b201ab630f03511060ba289b70052959 <32abbcf4379a0f851d7eb9d4389e7bf5c64bf6c0, >=cc13ab18b201ab630f03511060ba289b70052959 <9428654c827fa8d38b898135d26d39ee2d54424625b62cc5b22c45face094ae3e8717258e46d1d19, 32abbcf4379a0f851d7eb9d4389e7bf5c64bf6c0, 9428654c827fa8d38b898135d26d39ee2d544246

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-68338 severity on Zeptric[![CVE-2025-68338](https://zeptric.io/badge/cve/CVE-2025-68338.svg)](https://zeptric.io/cve/CVE-2025-68338)