Description
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, macb_mii_init() returns early without allocating the MDIO bus,
leaving bp->mii_bus as NULL.

Two cleanup paths then dereference this NULL bus:

1. On driver unbind, macb_remove() unconditionally calls
mdiobus_unregister(bp->mii_bus), which oopses:

Unable to handle kernel NULL pointer dereference at virtual address 00000000000004a8
pc : mdiobus_unregister+0x14/0xa4
lr : macb_remove+0x38/0xa4
Call trace:
mdiobus_unregister+0x14/0xa4 (P)
macb_remove+0x38/0xa4
platform_remove+0x20/0x30
device_release_driver_internal+0x1c8/0x224
unbind_store+0xb4/0xbc

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

mdiobus_unregister() and mdiobus_free() do not guard against a NULL
bus, so guard the calls in both macb_remove() and the probe error
path.
Published: 2026-09-25
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service due to kernel crash caused by a NULL pointer dereference in the MACB driver
Action: Update kernel
AI Analysis

Impact

A premature return in macb_mii_init() for fixed‑link configurations leaves the MDIO bus pointer null, and later cleanup paths dereference this null pointer. The resulting kernel oops crashes the system, yielding a denial of service. This flaw is equivalent to CWE‑476, a NULL pointer dereference in privileged code.

Affected Systems

The vulnerability resides in the Linux kernel’s macb network driver. Any Linux system that has this driver compiled in and configures a fixed‑link device tree without an mdio child node is affected. Specific kernel versions are not listed, so all pre‑patch kernels containing the bug are vulnerable.

Risk and Exploitability

The flaw requires the ability to unload or unbind the macb driver or to trigger a probe failure, which is usually available to users with local access. The CVSS score of 5.5 indicates medium severity, and the EPSS score is < 1%. The vulnerability is not listed in the CISA KEV catalog, but a NULL pointer dereference in privileged kernel driver presents a significant denial‑of‑service risk. The likely attack surface is local exploitation rather than remote, but once triggered the impact is global to the affected machine.

Generated by OpenCVE AI on September 30, 2026 at 14:20 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest stable Linux kernel that incorporates the macb null‑pointer dereference fix (for example, update to a kernel revision that includes commit 38b6be1 or newer).
  • If a full kernel upgrade is not immediately feasible, manually apply the patch that surrounds mdiobus_unregister and mdiobus_free with NULL checks in macb_remove and the probe error path, then rebuild and load the modified driver.
  • Verify that device tree entries for macb devices either include an mdio child node when using a fixed link or disable fixed‑link configurations until the patch is applied.

Generated by OpenCVE AI on September 30, 2026 at 14:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4817-1 linux-6.12 security update
Debian DLA Debian DLA DLA-4841-1 linux security update
Debian DSA Debian DSA DSA-6528-1 linux security update
History

Sat, 03 Oct 2026 11:15:00 +0000


Tue, 29 Sep 2026 13:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Fri, 25 Sep 2026 17:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-476

Fri, 25 Sep 2026 10:30:00 +0000

Type Values Removed Values Added
Description 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, macb_mii_init() returns early without allocating the MDIO bus, leaving bp->mii_bus as NULL. Two cleanup paths then dereference this NULL bus: 1. On driver unbind, macb_remove() unconditionally calls mdiobus_unregister(bp->mii_bus), which oopses: Unable to handle kernel NULL pointer dereference at virtual address 00000000000004a8 pc : mdiobus_unregister+0x14/0xa4 lr : macb_remove+0x38/0xa4 Call trace: mdiobus_unregister+0x14/0xa4 (P) macb_remove+0x38/0xa4 platform_remove+0x20/0x30 device_release_driver_internal+0x1c8/0x224 unbind_store+0xb4/0xbc 2. On the probe error path in macb_probe(), reached when macb_mii_init() has succeeded but a subsequent step fails, the err_out_unregister_mdio label runs the same unconditional cleanup. mdiobus_unregister() and mdiobus_free() do not guard against a NULL bus, so guard the calls in both macb_remove() and the probe error path.
Title net: macb: fix NULL pointer dereference on unbind with fixed-link
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-19T09:12:13.751Z

Reserved: 2026-09-25T10:19:56.068Z

Link: CVE-2026-98008

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-25T11:17:29.080

Modified: 2026-10-19T10:17:52.177

Link: CVE-2026-98008

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-09-25T00:00:00Z

Links: CVE-2026-98008 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-30T14:30:18Z

Weaknesses