CVE-2026-98008: net: macb: fix NULL pointer dereference on unbind with fixed-link

Published Sep 25, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

net: macb: fix NULL pointer dereference on unbind with fixed-link

When the device tree describes a fixed-link and has no "mdio" child node, macbmiiinit() returns early without allocating the MDIO bus, leaving bp->miibus as NULL.

Two cleanup paths then dereference this NULL bus:

1. On driver unbind, macbremove() unconditionally calls mdiobusunregister(bp->miibus), which oopses:

Unable to handle kernel NULL pointer dereference at virtual address 00000000000004a8 pc : mdiobusunregister+0x14/0xa4 lr : macbremove+0x38/0xa4 Call trace: mdiobusunregister+0x14/0xa4 (P) macbremove+0x38/0xa4 platformremove+0x20/0x30 devicereleasedriverinternal+0x1c8/0x224 unbindstore+0xb4/0xbc

2. On the probe error path in macbprobe(), reached when macbmiiinit() has succeeded but a subsequent step fails, the erroutunregistermdio label runs the same unconditional cleanup.

mdiobusunregister() and mdiobusfree() do not guard against a NULL bus, so guard the calls in both macbremove() and the probe error path.

Affected Software

1 affected component
Linux Linux kernel

Event History

Sep 25, 2026
CVE Published
via MITRE·10:23 AM
Data Sourced
via MITRE·10:23 AM
Description

Frequently Asked Questions

1

Which systems are exposed to this issue?

Systems using the Linux kernel macb network driver are exposed when the device tree defines a fixed-link but does not include an "mdio" child node. The affected failure occurs during driver unbind or during probe cleanup after a later initialization step fails.

2

What is required to trigger the vulnerability?

The affected macb driver must be bound to hardware described with the fixed-link/no-MDIO device-tree configuration. Triggering can occur when the driver is unbound; it can also occur if probing reaches a subsequent failure after MDIO initialization returns successfully without creating an MDIO bus.

3

What is the impact of successful triggering?

The kernel dereferences a NULL MDIO bus pointer in mdiobus_unregister(), causing an oops. This can disrupt the affected driver or system operation.

4

How can administrators determine whether they are affected?

Review the device tree used by systems with the macb driver for a fixed-link definition and the absence of an "mdio" child node. Kernel logs or crash traces showing macb_remove() calling mdiobus_unregister() during unbind are also indicative.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203