wifi: iwlegacy: 3945: free EEPROM data on remove
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 073d3f5f1b3b6512eb82a3d40c84dedb14dc6f73 · < cd8f8f45d81aac384311701d7ffe26567af2e783| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
wifi: iwlegacy: 3945: free EEPROM data on remove
il3945_pci_probe() calls il_eeprom_init(), which allocates memory for the EEPROM data. The probe failure paths release this allocation with il_eeprom_free(), but the remove path does not free it after a successful probe.
As a result, the EEPROM data is leaked when the PCI device is removed.
Free the EEPROM data in il3945_pci_remove() before releasing the mac80211 hardware structure.
This issue was found by manual code inspection.
From the CVE record · Linux
The iwlegacy 3945 driver does not free allocated EEPROM data when a PCI device is removed after a successful probe, causing a memory leak. The input does not describe an attacker, an access requirement, or any required user interaction.
Engineers running Linux kernels with the iwlegacy 3945 driver should check their kernel version; affected versions are not specified.