net: emac: Fix NULL pointer dereference in emac_probe
- 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.12.114, 6.18.40, 7.1.5
- 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: net: emac: Fix NULL pointer dereference in emac_probe Move devm_request_irq() after devm_platform_ioremap_resource() so that dev->emacp is mapped before the interrupt handler can fire. An early interrupt hitting emac_irq() would dereference the NULL dev->emacp and crash. Also remove redundant error message. devm_platform_ioremap_resource() already returns an error message with dev_err_probe().
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From dcc34ef7c83473222027f475014a2bf8ab798372 · fixed in 90bb7164878b5e57d447f02c71c238f4f246016a; From dcc34ef7c83473222027f475014a2bf8ab798372 · fixed in a103cdb0681e7185d1b0a12ce6a7c5416c208ccd; From dcc34ef7c83473222027f475014a2bf8ab798372 · fixed in 44068b6863fbda78fc810921ddf61642c377b3ca; From dcc34ef7c83473222027f475014a2bf8ab798372 · fixed in f623d38fe6c4e8c40b23f42cc6fe6963fa49997b
- Linux Linux
6.12
- KernelLinux
From 6.12.0 · fixed in 6.12.114; From 6.13.0 · fixed in 6.18.40; From 6.19.0 · fixed in 7.1.5