Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: wifi: iwlwifi: dvm: fix memory leak in iwl_op_mode_dvm_start() In iwl_op_mode_dvm_start(), jumping to out_free_eeprom currently bypasses the out_free_eeprom_blob label. Consequently, error paths triggered after successfully parsing the EEPROM free priv->nvm_data but leak priv->eeprom_blob. Fix this memory leak by reordering the error handling labels so that out_free_eeprom falls through to out_free_eeprom_blob. The bug was first flagged by an experimental analysis tool we are developing for kernel memory-management bugs while analyzing v6.13-rc1. The tool is still under development and is not yet publicly available. Manual inspection confirms that the bug is still present in v7.1-rc6. An x86_64 allyesconfig build showed no new warnings. As we do not have supported Intel DVM wireless hardware and firmware to test with, no runtime testing was able to be performed.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 26a7ca9a71a3f7e1826de96b1a1e907123e11b07 before 7be73911d979bb0f54485c2292043a5703fdc953; affected 26a7ca9a71a3f7e1826de96b1a1e907123e11b07 before 2d593f32efa9ff1c91c508f45eb709c03dfb4945; affected 26a7ca9a71a3f7e1826de96b1a1e907123e11b07 before 84ba017a1e1ea7896ed1e3258c947bdbfc5299c5; affected 26a7ca9a71a3f7e1826de96b1a1e907123e11b07 before ad2a9fdca4a7100472be82ee6048c616fc589720; affected 26a7ca9a71a3f7e1826de96b1a1e907123e11b07 before 67105abd6195a685a84dcb8a5daf54a1f4bfdb60 |
| Linux / Linux | affected 3.6; unaffected 0 before 3.6; unaffected 6.6.160 through 6.6.*; unaffected 6.12.114 through 6.12.*; unaffected 6.18.50 through 6.18.*; unaffected 7.2.4 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/7be73911d979bb0f54485c2292043a5703fdc953
- https://git.kernel.org/stable/c/2d593f32efa9ff1c91c508f45eb709c03dfb4945
- https://git.kernel.org/stable/c/84ba017a1e1ea7896ed1e3258c947bdbfc5299c5
- https://git.kernel.org/stable/c/ad2a9fdca4a7100472be82ee6048c616fc589720
- https://git.kernel.org/stable/c/67105abd6195a685a84dcb8a5daf54a1f4bfdb60