Bug 2424612 (CVE-2025-68338) - CVE-2025-68338 kernel: net: dsa: microchip: Don't free uninitialized ksz_irq
Summary: CVE-2025-68338 kernel: net: dsa: microchip: Don't free uninitialized ksz_irq
Keywords:
Status: NEW
Alias: CVE-2025-68338
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-12-23 15:02 UTC by OSIDB Bzimport
Modified: 2025-12-23 16:13 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-12-23 15:02:09 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.