Description
In the Linux kernel, the following vulnerability has been resolved: net: ipa: Fix double free of the interrupt structure on config error Since ipa_interrupt_init() allocates struct ipa_interrupt in ipa_probe(), the structure is owned by ipa_probe() and released with ipa_interrupt_exit() on its error paths and in ipa_remove(). The error path of ipa_interrupt_config() still frees it with kfree(). If ipa_interrupt_config() fails (called from ipa_config() via ipa_setup()), ipa_probe() unwinds through err_interrupt_exit, which frees the same structure again. Drop the kfree() from ipa_interrupt_config(); it should only undo what it set up itself. Drop the leftover initialization and cleanup of ipa->interrupt now managed in ipa_proble() and ipa_remove() of ipa_main.c.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
ad1be80d75827aad9582541ecc9d7953d354634f to < d5ab0ec59d4bd9c1265d4977b332d40968aa4bf9affectedad1be80d75827aad9582541ecc9d7953d354634f to < e756faaa266cb22cbe7cf8d9b42eb8c8a77e54beaffectedad1be80d75827aad9582541ecc9d7953d354634f to < 3e8c7e6ac840c2e7fc7ae97f2492e0ea1ba8958eaffectedad1be80d75827aad9582541ecc9d7953d354634f to < cb284914e749388eef402938bdb3115fe1f6d337affected
Linux Linux
Default version status: affected
6.9affected0 to < 6.9unaffected6.12.120 to ≤ 6.12.*unaffected6.18.66 to ≤ 6.18.*unaffected7.3.7 to ≤ 7.3.*unaffected7.4-rc2 to ≤ *unaffected