{"id":"CVE-2025-68338","aliases":["CVE-2025-68338"],"related":[],"kind":"vulnerability","state":"published","title":"net: dsa: microchip: Don't free uninitialized ksz_irq","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: dsa: microchip: Don't free uninitialized ksz_irq\n\nIf something goes wrong at setup, ksz_irq_free() can be called on\nuninitialized ksz_irq (for example when ksz_ptp_irq_setup() fails). It\nleads to freeing uninitialized IRQ numbers and/or domains.\n\nUse dsa_switch_for_each_user_port_continue_reverse() in the error path\nto iterate only over the fully initialized ports.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: dsa: microchip: Don't free uninitialized ksz_irq\n\nIf something goes wrong at setup, ksz_irq_free() can be called on\nuninitialized ksz_irq (for example when ksz_ptp_irq_setup() fails). It\nleads to freeing uninitialized IRQ numbers and/or domains.\n\nUse dsa_switch_for_each_user_port_continue_reverse() in the error path\nto iterate only over the fully initialized ports.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad:\n\nnet: dsa: microchip: No liberar ksz_irq no inicializado\n\nSi algo sale mal durante la configuración, se puede llamar a ksz_irq_free() sobre un ksz_irq no inicializado (por ejemplo, cuando ksz_ptp_irq_setup() falla). Esto lleva a la liberación de números IRQ y/o dominios no inicializados.\n\nUsar dsa_switch_for_each_user_port_continue_reverse() en la ruta de error para iterar solo sobre los puertos completamente inicializados.","source":"nvd"}],"published":"2025-12-23T13:58:24.121Z","modified":"2026-10-19T21:10:00.160Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"cc13ab18b201ab630f03511060ba289b70052959","fixed":"9428654c827fa8d38b898135d26d39ee2d544246","status":"affected"},{"type":"git","introduced":"cc13ab18b201ab630f03511060ba289b70052959","fixed":"32abbcf4379a0f851d7eb9d4389e7bf5c64bf6c0","status":"affected"},{"type":"git","introduced":"cc13ab18b201ab630f03511060ba289b70052959","fixed":"25b62cc5b22c45face094ae3e8717258e46d1d19","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.3","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.3","status":"unaffected"},{"type":"semver","introduced":"6.12.61","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.17.11","lastAffected":"6.17.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.18","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/9428654c827fa8d38b898135d26d39ee2d544246","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/32abbcf4379a0f851d7eb9d4389e7bf5c64bf6c0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/25b62cc5b22c45face094ae3e8717258e46d1d19","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-68338","url":"https://www.cve.org/CVERecord?id=CVE-2025-68338","licence":"CVE Terms of Use","modified":"2026-05-11T21:51:15.675Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-68338","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68338","licence":"Public domain","modified":"2026-10-19T21:10:00.160Z"}],"updatedAt":"2026-11-25T22:59:09.812Z","epss":{"score":0.00197,"percentile":0.09877,"date":"2026-12-01T12:00:22.000Z"}}