CVE-2025-68338

Source
https://cve.org/CVERecord?id=CVE-2025-68338
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-68338.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-68338
Downstream
Published
2025-12-23T13:58:24.121Z
Modified
2026-03-09T23:55:31.069859Z
Summary
net: dsa: microchip: Don't free uninitialized ksz_irq
Details

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, kszirqfree() can be called on uninitialized kszirq (for example when kszptpirqsetup() fails). It leads to freeing uninitialized IRQ numbers and/or domains.

Use dsaswitchforeachuserportcontinue_reverse() in the error path to iterate only over the fully initialized ports.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68338.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
cc13ab18b201ab630f03511060ba289b70052959
Fixed
9428654c827fa8d38b898135d26d39ee2d544246
Fixed
32abbcf4379a0f851d7eb9d4389e7bf5c64bf6c0
Fixed
25b62cc5b22c45face094ae3e8717258e46d1d19

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-68338.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.3.0
Fixed
6.12.61
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.17.11

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-68338.json"