Skip to main content

Linux Kernel macb CVE-2026-43015

| EUVDEUVD-2026-26614 HIGH
Use After Free (CWE-416)
2026-05-01 Linux
7.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Gain local authenticated access
  2. Delivery
    Escalate to root/CAP_SYS_MODULE
  3. Exploit
    Load macb_pci module
  4. Install
    Trigger module removal (rmmod)
  5. C2
    Platform device unregister calls runtime resume
  6. Execute
    Freed clock accessed in clk_prepare
  7. Impact
    Use-after-free triggered
  8. Step 8
    Kernel panic or memory corruption

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires local authenticated access with CAP_SYS_MODULE capability or root privileges to load and unload kernel modules. System must have the macb_pci driver loaded (indicating Cadence MACB/GEM Ethernet controller on PCI bus). Exploitation occurs specifically during module removal (rmmod/modprobe -r macb_pci), not during normal operation. The use-after-free triggers when platform_device_unregister() invokes runtime PM resume callback after clocks have been freed. Most production Linux systems restrict module loading to root only, significantly limiting the attack surface. Systems not using the macb PCI driver variant are unaffected even if running vulnerable kernel versions.

Impact

Real-world risk is moderate despite CVSS 7.8 High rating. CVSS vector (AV:L/AC:L/PR:L/UI:N) indicates local authenticated access with low complexity, limiting remote exploitation scenarios. EPSS probability of 0.02% (7th percentile) suggests minimal observed exploitation activity in the wild. Not present in CISA KEV, confirming no known active exploitation. Attack requires local authenticated access and ability to load/unload kernel modules (typically CAP_SYS_MODULE or root), significantly reducing attack surface in production environments where module loading is restricted. Primary impact is local denial of service via kernel panic; memory corruption aspects could theoretically enable privilege escalation but exploitation complexity is high given the narrow timing window during module unload. This is a reliability/stability issue more than a critical security exposure. Multiple stable kernel patches available reduce urgency for systems with regular update cycles, though systems running affected versions (5.15+) where users can unload modules should prioritize patching.

Exploit ScenarioDerived

Local authenticated attacker with module loading privileges (root or CAP_SYS_MODULE) loads the macb_pci kernel module on a system with Cadence MACB Ethernet hardware on PCI bus. Attacker then issues 'rmmod macb_pci' to trigger module removal. During unload, the platform device unregistration triggers runtime PM resume callback that accesses freed clock structures, causing use-after-free condition. Best case: kernel panic and system crash (denial of service). Worst case: memory corruption enables controlled writes that could potentially be chained with other techniques for privilege escalation, though this requires precise timing and exploitation expertise given the transient nature of the race window.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 07, 2026

Use-after-free in Linux kernel macb driver allows local authenticated attackers to cause denial of service or potentially escalate privileges during module removal. The vulnerability occurs in the PCI glue driver when platform_device_unregister() triggers a runtime resume callback that attempts to access already-freed clock structures. EPSS score is low (0.02%) with no evidence of active exploitation. Vendor patches are available across multiple stable kernel branches (5.10.253, 5.15.203, 6.1.168, 6.6.134, 6.12.81, 6.18.22, 6.19.12, and mainline 7.0).

RemediationAI

Update to patched kernel versions: 5.10.253, 5.15.203, 6.1.168, 6.6.134, 6.12.81, 6.18.22, 6.19.12, or 7.0+ depending on your stable branch. Mainline fix commit: bf64cae913cdd4821f13d5d1d68900c0891bef69. Backport commits available at https://git.kernel.org/stable/ for each affected branch. The fix saves clock pointers to local variables before calling platform_device_unregister(), ensuring clocks remain accessible during the runtime resume callback. If immediate patching is not feasible, prevent module unloading by adding 'install macb_pci /bin/true' to modprobe configuration, though this reduces operational flexibility for driver updates and may cause issues if the module needs reloading. Alternatively, restrict CAP_SYS_MODULE capability to prevent unprivileged users from triggering the module unload path, though this is typically already restricted on production systems. These workarounds prevent triggering the vulnerability but do not fix the underlying race condition.

Affected VersionsENISA

Linux a7d521cc726f30b8e679a6f36d04b18a8ab3c536
Linux patch: 6.1.168
Linux d82d5303c4c539db86588ffb5dc5b26c3f1513e8 <3496fb9e66f79d4def3bb7ec7563e3eaa33a688f
Linux patch: 5.10.253
Linux 5.15
Linux 1da750d1e2140ef43d64d17f301ff6f41b45541e
Linux patch: 7.0
Linux d82d5303c4c539db86588ffb5dc5b26c3f1513e8 <f310a836da90d0f0321b14d446c071af63f9ee4c
Linux d82d5303c4c539db86588ffb5dc5b26c3f1513e8 <b3f799cdf830df1782ae463cf15ace35015be99e
Linux patch: 6.19.12
Linux 7721221e87d25c9840d9ca6b986dbdc410d5ce2b <bf64cae913cdd4821f13d5d1d68900c0891bef69
Linux d82d5303c4c539db86588ffb5dc5b26c3f1513e8 <2d96204e4184d6f7dd2f93c6f218fd0c1f55e9ae
Linux patch: 6.18.22
Linux d82d5303c4c539db86588ffb5dc5b26c3f1513e8 <16ab4c0e2b15df5d33bfcb9ea8e4441b85dd4a57
Linux patch: 0
Linux d82d5303c4c539db86588ffb5dc5b26c3f1513e8 <ce8fe5287b87e24e225c342f3b0ec04f0b3680fe
Linux 46670fb832ee80943715df618632ca13c2e96f2b
Linux 4ad6f2d23b0f6ac0d3e5f3102a4256d1c86c90f5
Linux patch: 5.15.203
Linux patch: 6.6.134
Linux patch: 6.12.81
Linux d82d5303c4c539db86588ffb5dc5b26c3f1513e8 <67f70841a175fa3469119f52d77a3662c07507a2

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The macb network driver's PCI glue layer (macb_pci module) manages clock registration for the Cadence MACB/GEM Ethernet controller when running on PCI platforms. During module removal, the driver calls platform_device_unregister() which may trigger a runtime PM resume callback (macb_runtime_resume) that accesses clock structures via clk_prepare(). The vulnerability stems from incorrect teardown ordering: clocks are unregistered via clk_unregister() before platform_device_unregister() completes, creating a window where the runtime resume callback dereferences freed clock pointers. This is a CWE-416 (Use After Free) condition. The issue is an evolution of a previous fix (commit d82d5303c4c5) that moved clock unregistration but inadvertently created this new race condition. The KASAN trace shows the freed clock object being accessed at clk_prepare+0x5a during the platform device removal sequence.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
SUSE HIGH

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

5
CVSS changed
May 07, 2026 - 20:37 NVD
7.8 (HIGH)
Patch available
May 01, 2026 - 16:33 EUVD
Patch released
May 01, 2026 - 15:24 nvd
Patch available
CVE Published
May 01, 2026 - 14:15 nvd
HIGH 7.8
CVE Published
May 01, 2026 - 14:15 nvd
N/A

DescriptionNVD

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

net: macb: fix clk handling on PCI glue driver removal

platform_device_unregister() may still want to use the registered clks during runtime resume callback.

Note that there is a commit d82d5303c4c5 ("net: macb: fix use after free on rmmod") that addressed the similar problem of clk vs platform device unregistration but just moved the bug to another place.

Save the pointers to clks into local variables for reuse after platform device is unregistered.

BUG: KASAN: use-after-free in clk_prepare+0x5a/0x60 Read of size 8 at addr ffff888104f85e00 by task modprobe/597

CPU: 2 PID: 597 Comm: modprobe Not tainted 6.1.164+ #114 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.16.1-0-g3208b098f51a-prebuilt.qemu.org 04/01/2014 Call Trace: <TASK> dump_stack_lvl+0x8d/0xba print_report+0x17f/0x496 kasan_report+0xd9/0x180 clk_prepare+0x5a/0x60 macb_runtime_resume+0x13d/0x410 [macb] pm_generic_runtime_resume+0x97/0xd0 __rpm_callback+0xc8/0x4d0 rpm_callback+0xf6/0x230 rpm_resume+0xeeb/0x1a70 __pm_runtime_resume+0xb4/0x170 bus_remove_device+0x2e3/0x4b0 device_del+0x5b3/0xdc0 platform_device_del+0x4e/0x280 platform_device_unregister+0x11/0x50 pci_device_remove+0xae/0x210 device_remove+0xcb/0x180 device_release_driver_internal+0x529/0x770 driver_detach+0xd4/0x1a0 bus_remove_driver+0x135/0x260 driver_unregister+0x72/0xb0 pci_unregister_driver+0x26/0x220 __do_sys_delete_module+0x32e/0x550 do_syscall_64+0x35/0x80 entry_SYSCALL_64_after_hwframe+0x6e/0xd8 </TASK>

Allocated by task 519: kasan_save_stack+0x2c/0x50 kasan_set_track+0x21/0x30 __kasan_kmalloc+0x8e/0x90 __clk_register+0x458/0x2890 clk_hw_register+0x1a/0x60 __clk_hw_register_fixed_rate+0x255/0x410 clk_register_fixed_rate+0x3c/0xa0 macb_probe+0x1d8/0x42e [macb_pci] local_pci_probe+0xd7/0x190 pci_device_probe+0x252/0x600 really_probe+0x255/0x7f0 __driver_probe_device+0x1ee/0x330 driver_probe_device+0x4c/0x1f0 __driver_attach+0x1df/0x4e0 bus_for_each_dev+0x15d/0x1f0 bus_add_driver+0x486/0x5e0 driver_register+0x23a/0x3d0 do_one_initcall+0xfd/0x4d0 do_init_module+0x18b/0x5a0 load_module+0x5663/0x7950 __do_sys_finit_module+0x101/0x180 do_syscall_64+0x35/0x80 entry_SYSCALL_64_after_hwframe+0x6e/0xd8

Freed by task 597: kasan_save_stack+0x2c/0x50 kasan_set_track+0x21/0x30 kasan_save_free_info+0x2a/0x50 __kasan_slab_free+0x106/0x180 __kmem_cache_free+0xbc/0x320 clk_unregister+0x6de/0x8d0 macb_remove+0x73/0xc0 [macb_pci] pci_device_remove+0xae/0x210 device_remove+0xcb/0x180 device_release_driver_internal+0x529/0x770 driver_detach+0xd4/0x1a0 bus_remove_driver+0x135/0x260 driver_unregister+0x72/0xb0 pci_unregister_driver+0x26/0x220 __do_sys_delete_module+0x32e/0x550 do_syscall_64+0x35/0x80 entry_SYSCALL_64_after_hwframe+0x6e/0xd8

Executive ViewAI

Why It Matters

A use-after-free vulnerability in the Linux kernel macb network driver (CVE-2026-43015) allows authenticated local users to trigger denial of service or privilege escalation during module removal operations. Organizations running affected kernel versions on systems with macb-compatible network hardware face risk of system crashes or local privilege escalation by authorized users with shell access.

Business Impact: Medium
Compensating Controls

Apply vendor patch. If immediate patching is not feasible, restrict local shell access and sudo privileges to only trusted administrative accounts, and disable dynamic module loading/unloading of macb driver where operationally possible.

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Medium

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

SUSE

Severity: High
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy