Linux
net: emac: Fix NULL pointer dereference in emac_probe
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().
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= dcc34ef7c83473222027f475014a2bf8ab798372, < 90bb7164878b5e57d447f02c71c238f4f246016a
- >= dcc34ef7c83473222027f475014a2bf8ab798372, < a103cdb0681e7185d1b0a12ce6a7c5416c208ccd
- >= dcc34ef7c83473222027f475014a2bf8ab798372, < 44068b6863fbda78fc810921ddf61642c377b3ca
- >= dcc34ef7c83473222027f475014a2bf8ab798372, < f623d38fe6c4e8c40b23f42cc6fe6963fa49997b
Fixed in 90bb7164878b5e57d447f02c71c238f4f246016a, a103cdb0681e7185d1b0a12ce6a7c5416c208ccd, 44068b6863fbda78fc810921ddf61642c377b3ca, f623d38fe6c4e8c40b23f42cc6fe6963fa49997b
- 6.12
Fixed in 0, 6.12.114, 6.18.40, 7.1.5, 7.2
Mitigation
Upgrade Linux to 90bb7164878b5e57d447f02c71c238f4f246016a or a103cdb0681e7185d1b0a12ce6a7c5416c208ccd or 44068b6863fbda78fc810921ddf61642c377b3ca or f623d38fe6c4e8c40b23f42cc6fe6963fa49997b or later.
Upgrade Linux to 0 or 6.12.114 or 6.18.40 or 7.1.5 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.