CVE-2025-68338
kernel: net: dsa: microchip: Don't free uninitialized ksz_irq
Loading…
Severity
UnknownRed Hat Product Security
CVSS
Review impact separately from score.
Published · December 23, 2025
Updated · June 30, 2026
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.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CWE not specified