# CVE-2024-26724: net/mlx5: DPLL, Fix possible use after free after delayed work timer triggers

> 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.31% (percentile 16, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2024-04-03T14:55:23.349Z
- **Modified:** 2026-06-17T07:18:10.940Z

## Who should check

- Anyone running Linux \>= 496fd0a26bbf73b6b12407ee4fbe5ff49d659a6d, \< 1596126ea50228f0ed96697bae4e9368fda02c56; \>= 496fd0a26bbf73b6b12407ee4fbe5ff49d659a6d, \< aa1eec2f546f2afa8c98ec41e5d8ee488165d685
- Anyone running Linux 6.7

## Description

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

net/mlx5: DPLL, Fix possible use after free after delayed work timer triggers

I managed to hit following use after free warning recently:

\[ 2169.711665\] ==================================================================
\[ 2169.714009\] BUG: KASAN: slab-use-after-free in \_\_run\_timers.part.0+0x179/0x4c0
\[ 2169.716293\] Write of size 8 at addr ffff88812b326a70 by task swapper/4/0

\[ 2169.719022\] CPU: 4 PID: 0 Comm: swapper/4 Not tainted 6.8.0-rc2jiri+ \#2
\[ 2169.720974\] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.13.0-0-gf21b5a4aeb02-prebuilt.qemu.org 04/01/2014
\[ 2169.722457\] Call Trace:
\[ 2169.722756\]  \<IRQ\>
\[ 2169.723024\]  dump\_stack\_lvl+0x58/0xb0
\[ 2169.723417\]  print\_report+0xc5/0x630
\[ 2169.723807\]  ? \_\_virt\_addr\_valid+0x126/0x2b0
\[ 2169.724268\]  kasan\_report+0xbe/0xf0
\[ 2169.724667\]  ? \_\_run\_timers.part.0+0x179/0x4c0
\[ 2169.725116\]  ? \_\_run\_timers.part.0+0x179/0x4c0
\[ 2169.725570\]  \_\_run\_timers.part.0+0x179/0x4c0
\[ 2169.726003\]  ? call\_timer\_fn+0x320/0x320
\[ 2169.726404\]  ? lock\_downgrade+0x3a0/0x3a0
\[ 2169.726820\]  ? kvm\_clock\_get\_cycles+0x14/0x20
\[ 2169.727257\]  ? ktime\_get+0x92/0x150
\[ 2169.727630\]  ? lapic\_next\_deadline+0x35/0x60
\[ 2169.728069\]  run\_timer\_softirq+0x40/0x80
\[ 2169.728475\]  \_\_do\_softirq+0x1a1/0x509
\[ 2169.728866\]  irq\_exit\_rcu+0x95/0xc0
\[ 2169.729241\]  sysvec\_apic\_timer\_interrupt+0x6b/0x80
\[ 2169.729718\]  \</IRQ\>
\[ 2169.729993\]  \<TASK\>
\[ 2169.730259\]  asm\_sysvec\_apic\_timer\_interrupt+0x16/0x20
\[ 2169.730755\] RIP: 0010:default\_idle+0x13/0x20
\[ 2169.731190\] Code: c0 08 00 00 00 4d 29 c8 4c 01 c7 4c 29 c2 e9 72 ff ff ff cc cc cc cc 8b 05 9a 7f 1f 02 85 c0 7e 07 0f 00 2d cf 69 43 00 fb f4 \<fa\> c3 66 66 2e 0f 1f 84 00 00 00 00 00 65 48 8b 04 25 c0 93 04 00
\[ 2169.732759\] RSP: 0018:ffff888100dbfe10 EFLAGS: 00000242
\[ 2169.733264\] RAX: 0000000000000001 RBX: ffff888100d9c200 RCX: ffffffff8241bd62
\[ 2169.733925\] RDX: ffffed109a848b15 RSI: 0000000000000004 RDI: ffffffff8127ac55
\[ 2169.734566\] RBP: 0000000000000004 R08: 0000000000000000 R09: ffffed109a848b14
\[ 2169.735200\] R10: ffff8884d42458a3 R11: 000000000000ba7e R12: ffffffff83d7d3a0
\[ 2169.735835\] R13: 1ffff110201b7fc6 R14: 0000000000000000 R15: ffff888100d9c200
\[ 2169.736478\]  ? ct\_kernel\_exit.constprop.0+0xa2/0xc0
\[ 2169.736954\]  ? do\_idle+0x285/0x290
\[ 2169.737323\]  default\_idle\_call+0x63/0x90
\[ 2169.737730\]  do\_idle+0x285/0x290
\[ 2169.738089\]  ? arch\_cpu\_idle\_exit+0x30/0x30
\[ 2169.738511\]  ? mark\_held\_locks+0x1a/0x80
\[ 2169.738917\]  ? lockdep\_hardirqs\_on\_prepare+0x12e/0x200
\[ 2169.739417\]  cpu\_startup\_entry+0x30/0x40
\[ 2169.739825\]  start\_secondary+0x19a/0x1c0
\[ 2169.740229\]  ? set\_cpu\_sibling\_map+0xbd0/0xbd0
\[ 2169.740673\]  secondary\_startup\_64\_no\_verify+0x15d/0x16b
\[ 2169.741179\]  \</TASK\>

\[ 2169.741686\] Allocated by task 1098:
\[ 2169.742058\]  kasan\_save\_stack+0x1c/0x40
\[ 2169.742456\]  kasan\_save\_track+0x10/0x30
\[ 2169.742852\]  \_\_kasan\_kmalloc+0x83/0x90
\[ 2169.743246\]  mlx5\_dpll\_probe+0xf5/0x3c0 \[mlx5\_dpll\]
\[ 2169.743730\]  auxiliary\_bus\_probe+0x62/0xb0
\[ 2169.744148\]  really\_probe+0x127/0x590
\[ 2169.744534\]  \_\_driver\_probe\_device+0xd2/0x200
\[ 2169.744973\]  device\_driver\_attach+0x6b/0xf0
\[ 2169.745402\]  bind\_store+0x90/0xe0
\[ 2169.745761\]  kernfs\_fop\_write\_iter+0x1df/0x2a0
\[ 2169.746210\]  vfs\_write+0x41f/0x790
\[ 2169.746579\]  ksys\_write+0xc7/0x160
\[ 2169.746947\]  do\_syscall\_64+0x6f/0x140
\[ 2169.747333\]  entry\_SYSCALL\_64\_after\_hwframe+0x46/0x4e

\[ 2169.748049\] Freed by task 1220:
\[ 2169.748393\]  kasan\_save\_stack+0x1c/0x40
\[ 2169.748789\]  kasan\_save\_track+0x10/0x30
\[ 2169.749188\]  kasan\_save\_free\_info+0x3b/0x50
\[ 2169.749621\]  poison\_slab\_object+0x106/0x180
\[ 2169.750044\]  \_\_kasan\_slab\_free+0x14/0x50
\[ 2169.750451\]  kfree+0x118/0x330
\[ 2169.750792\]  mlx5\_dpll\_remove+0xf5/0x110 \[mlx5\_dpll\]
\[ 2169.751271\]  auxiliary\_bus\_remove+0x2e/0x40
\[ 2169.751694\]  device\_release\_driver\_internal+0x24b/0x2e0
\[ 2169.752191\]  unbind\_store+0xa6/0xb0
\[ 2169.752563\]  kernfs\_fo
---truncated---

## Affected and fixed versions

- Linux: \>= 496fd0a26bbf73b6b12407ee4fbe5ff49d659a6d, \< 1596126ea50228f0ed96697bae4e9368fda02c56; \>= 496fd0a26bbf73b6b12407ee4fbe5ff49d659a6d, \< aa1eec2f546f2afa8c98ec41e5d8ee488165d685 (cvelist)
- Linux: 6.7 (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-2024-26724. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-26724.md
Affected: Linux >= 496fd0a26bbf73b6b12407ee4fbe5ff49d659a6d, < 1596126ea50228f0ed96697bae4e9368fda02c56; >= 496fd0a26bbf73b6b12407ee4fbe5ff49d659a6d, < aa1eec2f546f2afa8c98ec41e5d8ee488165d685; Linux 6.7
Fixed in: Linux 1596126ea50228f0ed96697bae4e9368fda02c56

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-2024-26724 being exploited?

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

### How serious is CVE-2024-26724?

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

### Which versions are affected by CVE-2024-26724?

Linux \>= 496fd0a26bbf73b6b12407ee4fbe5ff49d659a6d, \< 1596126ea50228f0ed96697bae4e9368fda02c56; \>= 496fd0a26bbf73b6b12407ee4fbe5ff49d659a6d, \< aa1eec2f546f2afa8c98ec41e5d8ee488165d685; Linux 6.7.

### Is there a fix for CVE-2024-26724?

Yes. Fixed in Linux 1596126ea50228f0ed96697bae4e9368fda02c56. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-26724?

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/1596126ea50228f0ed96697bae4e9368fda02c56>
- patch: <https://git.kernel.org/stable/c/aa1eec2f546f2afa8c98ec41e5d8ee488165d685>

## 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-2024-26724>

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