wifi: iwlegacy: 3945: free EEPROM data on remove
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.6.160, 6.12.113, 6.18.56, 7.2.10
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 073d3f5f1b3b6512eb82a3d40c84dedb14dc6f73 · fixed in 3ebc529726c0c038f49e513a7a6f1893552ee803; From 073d3f5f1b3b6512eb82a3d40c84dedb14dc6f73 · fixed in ab7bee2cd55f665cb29fa0ace2ec14020e0a452e; From 073d3f5f1b3b6512eb82a3d40c84dedb14dc6f73 · fixed in cd8f8f45d81aac384311701d7ffe26567af2e783; From 073d3f5f1b3b6512eb82a3d40c84dedb14dc6f73 · fixed in 89f9d6186dc7429f38132635526e28549c913c0b; From 073d3f5f1b3b6512eb82a3d40c84dedb14dc6f73 · fixed in f8ebe286394c0bbb4a6dbacb182a34ab6376922d
- Linux Linux
2.6.27
- KernelLinux
From 2.6.27 · fixed in 6.6.160; From 6.7.0 · fixed in 6.12.113; From 6.13.0 · fixed in 6.18.56; From 6.19.0 · fixed in 7.2.10