# CVE-2026-43015: net: macb: fix clk handling on PCI glue driver removal

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 4, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2026-05-01T14:15:20.242Z
- **Modified:** 2026-11-11T23:10:00.263Z

## Who should check

- Anyone running Linux \>= 7721221e87d25c9840d9ca6b986dbdc410d5ce2b, \< bf64cae913cdd4821f13d5d1d68900c0891bef69; \>= d82d5303c4c539db86588ffb5dc5b26c3f1513e8, \< 67f70841a175fa3469119f52d77a3662c07507a2; \>= d82d5303c4c539db86588ffb5dc5b26c3f1513e8, \< 2d96204e4184d6f7dd2f93c6f218fd0c1f55e9ae; \>= d82d5303c4c539db86588ffb5dc5b26c3f1513e8, \< b3f799cdf830df1782ae463cf15ace35015be99e; \>= d82d5303c4c539db86588ffb5dc5b26c3f1513e8, \< f310a836da90d0f0321b14d446c071af63f9ee4c; \>= d82d5303c4c539db86588ffb5dc5b26c3f1513e8, \< 16ab4c0e2b15df5d33bfcb9ea8e4441b85dd4a57; \>= d82d5303c4c539db86588ffb5dc5b26c3f1513e8, \< 3496fb9e66f79d4def3bb7ec7563e3eaa33a688f; \>= d82d5303c4c539db86588ffb5dc5b26c3f1513e8, \< ce8fe5287b87e24e225c342f3b0ec04f0b3680fe; a7d521cc726f30b8e679a6f36d04b18a8ab3c536; 46670fb832ee80943715df618632ca13c2e96f2b; …
- Anyone running Linux 5.15

## Description

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

## Affected and fixed versions

- Linux: \>= 7721221e87d25c9840d9ca6b986dbdc410d5ce2b, \< bf64cae913cdd4821f13d5d1d68900c0891bef69; \>= d82d5303c4c539db86588ffb5dc5b26c3f1513e8, \< 67f70841a175fa3469119f52d77a3662c07507a2; \>= d82d5303c4c539db86588ffb5dc5b26c3f1513e8, \< 2d96204e4184d6f7dd2f93c6f218fd0c1f55e9ae; \>= d82d5303c4c539db86588ffb5dc5b26c3f1513e8, \< b3f799cdf830df1782ae463cf15ace35015be99e; \>= d82d5303c4c539db86588ffb5dc5b26c3f1513e8, \< f310a836da90d0f0321b14d446c071af63f9ee4c; \>= d82d5303c4c539db86588ffb5dc5b26c3f1513e8, \< 16ab4c0e2b15df5d33bfcb9ea8e4441b85dd4a57; \>= d82d5303c4c539db86588ffb5dc5b26c3f1513e8, \< 3496fb9e66f79d4def3bb7ec7563e3eaa33a688f; \>= d82d5303c4c539db86588ffb5dc5b26c3f1513e8, \< ce8fe5287b87e24e225c342f3b0ec04f0b3680fe; a7d521cc726f30b8e679a6f36d04b18a8ab3c536; 46670fb832ee80943715df618632ca13c2e96f2b; … (cvelist)
- Linux: 5.15 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-43015. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-43015.md
Affected: Linux >= 7721221e87d25c9840d9ca6b986dbdc410d5ce2b, < bf64cae913cdd4821f13d5d1d68900c0891bef69; >= d82d5303c4c539db86588ffb5dc5b26c3f1513e8, < 67f70841a175fa3469119f52d77a3662c07507a2; >= d82d5303c4c539db86588ffb5dc5b26c3f1513e8, < 2d96204e4184d6f7dd2f93c6f218fd0c1f55e9ae; >= d82d5303c4c539db86588ff…
Fixed in: Linux 67f70841a175fa3469119f52d77a3662c07507a2, Linux 2d96204e4184d6f7dd2f93c6f218fd0c1f55e9ae, Linux 16ab4c0e2b15df5d33bfcb9ea8e4441b85dd4a57, Linux 3496fb9e66f79d4def3bb7ec7563e3eaa33a688f

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-43015 being exploited?

There is no confirmed exploitation: CVE-2026-43015 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-43015?

High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-43015?

Linux \>= 7721221e87d25c9840d9ca6b986dbdc410d5ce2b, \< bf64cae913cdd4821f13d5d1d68900c0891bef69; \>= d82d5303c4c539db86588ffb5dc5b26c3f1513e8, \< 67f70841a175fa3469119f52d77a3662c07507a2; \>= d82d5303c4c539db86588ffb5dc5b26c3f1513e8, \< 2d96204e4184d6f7dd2f93c6f218fd0c1f55e9ae; \>= d82d5303c4c539db86588ffb5dc5b26c3f1513e8, \< b3f799cdf830df1782ae463cf15ace35015be99e; \>= d82d5303c4c539db86588ffb5dc5b26c3f1513e8, \< f310a836da90d0f0321b14d446c071af63f9ee4c; \>= d82d5303c4c539db86588ffb5dc5b26c3f1513e8, \< 16ab4c0e2b15df5d33bfcb9ea8e4441b85dd4a57; \>= d82d5303c4c539db86588ffb5dc5b26c3f1513e8, \< 3496fb9e66f79d4def3bb7ec7563e3eaa33a688f; \>= d82d5303c4c539db86588ffb5dc5b26c3f1513e8, \< ce8fe5287b87e24e225c342f3b0ec04f0b3680fe; a7d521cc726f30b8e679a6f36d04b18a8ab3c536; 46670fb832ee80943715df618632ca13c2e96f2b; …; Linux 5.15.

### Is there a fix for CVE-2026-43015?

Yes. Fixed in Linux 67f70841a175fa3469119f52d77a3662c07507a2, Linux 2d96204e4184d6f7dd2f93c6f218fd0c1f55e9ae, Linux 16ab4c0e2b15df5d33bfcb9ea8e4441b85dd4a57, Linux 3496fb9e66f79d4def3bb7ec7563e3eaa33a688f. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-43015?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/bf64cae913cdd4821f13d5d1d68900c0891bef69>
- patch: <https://git.kernel.org/stable/c/67f70841a175fa3469119f52d77a3662c07507a2>
- patch: <https://git.kernel.org/stable/c/2d96204e4184d6f7dd2f93c6f218fd0c1f55e9ae>
- patch: <https://git.kernel.org/stable/c/b3f799cdf830df1782ae463cf15ace35015be99e>
- patch: <https://git.kernel.org/stable/c/f310a836da90d0f0321b14d446c071af63f9ee4c>
- patch: <https://git.kernel.org/stable/c/16ab4c0e2b15df5d33bfcb9ea8e4441b85dd4a57>
- patch: <https://git.kernel.org/stable/c/3496fb9e66f79d4def3bb7ec7563e3eaa33a688f>
- patch: <https://git.kernel.org/stable/c/ce8fe5287b87e24e225c342f3b0ec04f0b3680fe>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-43015>

HTML: <https://flawdb.com/CVE-2026-43015> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-43015>
