wifi: iwlwifi: dvm: fix memory leak in iwl_op_mode_dvm_start()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 26a7ca9a71a3f7e1826de96b1a1e907123e11b07 · < 67105abd6195a685a84dcb8a5daf54a1f4bfdb60| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s iwlwifi DVM driver can leak memory when certain error paths occur after EEPROM parsing. The input does not describe an attacker-triggered exploit or specify network, authentication, or user-interaction requirements.
Engineers running Linux kernels with the iwlwifi DVM driver should check their builds; the bug was observed in v6.13-rc1 and remained present in v7.1-rc6.