# CVE-2023-53629: fs: dlm: fix use after free in midcomms commit

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

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; 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:** Remote, no login needed
- **EPSS:** 0.56% (percentile 40, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2025-10-07T15:19:32.960Z
- **Modified:** 2026-10-15T22:17:44.730Z

## Who should check

- Anyone running Linux \>= 489d8e559c6596eb08e16447d9830bc39afbe54e, \< 84d6ce2aef1d06a53f606211da68a2085dfeb50d; \>= 489d8e559c6596eb08e16447d9830bc39afbe54e, \< a3b0e9ac3c2447008db942d51f593841d8329e99; \>= 489d8e559c6596eb08e16447d9830bc39afbe54e, \< a2de9f9b686c71b4fa3663ae374f5f643c46a446; \>= 489d8e559c6596eb08e16447d9830bc39afbe54e, \< 724b6bab0d75f1dc01fdfbf7fe8d4217a5cb90ba
- Anyone running Linux 5.14

## Description

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

fs: dlm: fix use after free in midcomms commit

While working on processing dlm message in softirq context I experienced
the following KASAN use-after-free warning:

\[  151.760477\] ==================================================================
\[  151.761803\] BUG: KASAN: use-after-free in dlm\_midcomms\_commit\_mhandle+0x19d/0x4b0
\[  151.763414\] Read of size 4 at addr ffff88811a980c60 by task lock\_torture/1347

\[  151.765284\] CPU: 7 PID: 1347 Comm: lock\_torture Not tainted 6.1.0-rc4+ \#2828
\[  151.766778\] Hardware name: Red Hat KVM/RHEL-AV, BIOS 1.16.0-3.module+el8.7.0+16134+e5908aa2 04/01/2014
\[  151.768726\] Call Trace:
\[  151.769277\]  \<TASK\>
\[  151.769748\]  dump\_stack\_lvl+0x5b/0x86
\[  151.770556\]  print\_report+0x180/0x4c8
\[  151.771378\]  ? kasan\_complete\_mode\_report\_info+0x7c/0x1e0
\[  151.772241\]  ? dlm\_midcomms\_commit\_mhandle+0x19d/0x4b0
\[  151.773069\]  kasan\_report+0x93/0x1a0
\[  151.773668\]  ? dlm\_midcomms\_commit\_mhandle+0x19d/0x4b0
\[  151.774514\]  \_\_asan\_load4+0x7e/0xa0
\[  151.775089\]  dlm\_midcomms\_commit\_mhandle+0x19d/0x4b0
\[  151.775890\]  ? create\_message.isra.29.constprop.64+0x57/0xc0
\[  151.776770\]  send\_common+0x19f/0x1b0
\[  151.777342\]  ? remove\_from\_waiters+0x60/0x60
\[  151.778017\]  ? lock\_downgrade+0x410/0x410
\[  151.778648\]  ? \_\_this\_cpu\_preempt\_check+0x13/0x20
\[  151.779421\]  ? rcu\_lockdep\_current\_cpu\_online+0x88/0xc0
\[  151.780292\]  \_convert\_lock+0x46/0x150
\[  151.780893\]  convert\_lock+0x7b/0xc0
\[  151.781459\]  dlm\_lock+0x3ac/0x580
\[  151.781993\]  ? 0xffffffffc0540000
\[  151.782522\]  ? torture\_stop+0x120/0x120 \[dlm\_locktorture\]
\[  151.783379\]  ? dlm\_scan\_rsbs+0xa70/0xa70
\[  151.784003\]  ? preempt\_count\_sub+0xd6/0x130
\[  151.784661\]  ? is\_module\_address+0x47/0x70
\[  151.785309\]  ? torture\_stop+0x120/0x120 \[dlm\_locktorture\]
\[  151.786166\]  ? 0xffffffffc0540000
\[  151.786693\]  ? lockdep\_init\_map\_type+0xc3/0x360
\[  151.787414\]  ? 0xffffffffc0540000
\[  151.787947\]  torture\_dlm\_lock\_sync.isra.3+0xe9/0x150 \[dlm\_locktorture\]
\[  151.789004\]  ? torture\_stop+0x120/0x120 \[dlm\_locktorture\]
\[  151.789858\]  ? 0xffffffffc0540000
\[  151.790392\]  ? lock\_torture\_cleanup+0x20/0x20 \[dlm\_locktorture\]
\[  151.791347\]  ? delay\_tsc+0x94/0xc0
\[  151.791898\]  torture\_ex\_iter+0xc3/0xea \[dlm\_locktorture\]
\[  151.792735\]  ? torture\_start+0x30/0x30 \[dlm\_locktorture\]
\[  151.793606\]  lock\_torture+0x177/0x270 \[dlm\_locktorture\]
\[  151.794448\]  ? torture\_dlm\_lock\_sync.isra.3+0x150/0x150 \[dlm\_locktorture\]
\[  151.795539\]  ? lock\_torture\_stats+0x80/0x80 \[dlm\_locktorture\]
\[  151.796476\]  ? do\_raw\_spin\_lock+0x11e/0x1e0
\[  151.797152\]  ? mark\_held\_locks+0x34/0xb0
\[  151.797784\]  ? \_raw\_spin\_unlock\_irqrestore+0x30/0x70
\[  151.798581\]  ? \_\_kthread\_parkme+0x79/0x110
\[  151.799246\]  ? trace\_preempt\_on+0x2a/0xf0
\[  151.799902\]  ? \_\_kthread\_parkme+0x79/0x110
\[  151.800579\]  ? preempt\_count\_sub+0xd6/0x130
\[  151.801271\]  ? \_\_kasan\_check\_read+0x11/0x20
\[  151.801963\]  ? \_\_kthread\_parkme+0xec/0x110
\[  151.802630\]  ? lock\_torture\_stats+0x80/0x80 \[dlm\_locktorture\]
\[  151.803569\]  kthread+0x192/0x1d0
\[  151.804104\]  ? kthread\_complete\_and\_exit+0x30/0x30
\[  151.804881\]  ret\_from\_fork+0x1f/0x30
\[  151.805480\]  \</TASK\>

\[  151.806111\] Allocated by task 1347:
\[  151.806681\]  kasan\_save\_stack+0x26/0x50
\[  151.807308\]  kasan\_set\_track+0x25/0x30
\[  151.807920\]  kasan\_save\_alloc\_info+0x1e/0x30
\[  151.808609\]  \_\_kasan\_slab\_alloc+0x63/0x80
\[  151.809263\]  kmem\_cache\_alloc+0x1ad/0x830
\[  151.809916\]  dlm\_allocate\_mhandle+0x17/0x20
\[  151.810590\]  dlm\_midcomms\_get\_mhandle+0x96/0x260
\[  151.811344\]  \_create\_message+0x95/0x180
\[  151.811994\]  create\_message.isra.29.constprop.64+0x57/0xc0
\[  151.812880\]  send\_common+0x129/0x1b0
\[  151.813467\]  \_convert\_lock+0x46/0x150
\[  151.814074\]  convert\_lock+0x7b/0xc0
\[  151.814648\]  dlm\_lock+0x3ac/0x580
\[  151.815199\]  torture\_dlm\_lock\_sync.isra.3+0xe9/0x150 \[dlm\_locktorture\]
\[  151.816258\]  torture\_ex\_iter+0xc3/0xea \[dlm\_locktorture\]
\[  151.817129\]  lock\_t
---truncated---

## Affected and fixed versions

- Linux: \>= 489d8e559c6596eb08e16447d9830bc39afbe54e, \< 84d6ce2aef1d06a53f606211da68a2085dfeb50d; \>= 489d8e559c6596eb08e16447d9830bc39afbe54e, \< a3b0e9ac3c2447008db942d51f593841d8329e99; \>= 489d8e559c6596eb08e16447d9830bc39afbe54e, \< a2de9f9b686c71b4fa3663ae374f5f643c46a446; \>= 489d8e559c6596eb08e16447d9830bc39afbe54e, \< 724b6bab0d75f1dc01fdfbf7fe8d4217a5cb90ba (cvelist)
- Linux: 5.14 (cvelist)

## Mitigation

- Upgrade Linux to 724b6bab0d75f1dc01fdfbf7fe8d4217a5cb90ba or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2023-53629.md
Affected: Linux >= 489d8e559c6596eb08e16447d9830bc39afbe54e, < 84d6ce2aef1d06a53f606211da68a2085dfeb50d; >= 489d8e559c6596eb08e16447d9830bc39afbe54e, < a3b0e9ac3c2447008db942d51f593841d8329e99; >= 489d8e559c6596eb08e16447d9830bc39afbe54e, < a2de9f9b686c71b4fa3663ae374f5f643c46a446; >= 489d8e559c6596eb08e1644…
Fixed in: Linux 84d6ce2aef1d06a53f606211da68a2085dfeb50d, Linux 724b6bab0d75f1dc01fdfbf7fe8d4217a5cb90ba

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-2023-53629 being exploited?

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

### How serious is CVE-2023-53629?

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2023-53629?

Linux \>= 489d8e559c6596eb08e16447d9830bc39afbe54e, \< 84d6ce2aef1d06a53f606211da68a2085dfeb50d; \>= 489d8e559c6596eb08e16447d9830bc39afbe54e, \< a3b0e9ac3c2447008db942d51f593841d8329e99; \>= 489d8e559c6596eb08e16447d9830bc39afbe54e, \< a2de9f9b686c71b4fa3663ae374f5f643c46a446; \>= 489d8e559c6596eb08e16447d9830bc39afbe54e, \< 724b6bab0d75f1dc01fdfbf7fe8d4217a5cb90ba; Linux 5.14.

### Is there a fix for CVE-2023-53629?

Yes. Fixed in Linux 84d6ce2aef1d06a53f606211da68a2085dfeb50d, Linux 724b6bab0d75f1dc01fdfbf7fe8d4217a5cb90ba. Upgrade Linux to 724b6bab0d75f1dc01fdfbf7fe8d4217a5cb90ba or later.

### How do I check if I'm affected by CVE-2023-53629?

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/a3b0e9ac3c2447008db942d51f593841d8329e99>
- patch: <https://git.kernel.org/stable/c/a2de9f9b686c71b4fa3663ae374f5f643c46a446>
- patch: <https://git.kernel.org/stable/c/724b6bab0d75f1dc01fdfbf7fe8d4217a5cb90ba>
- other: <https://git.kernel.org/stable/c/84d6ce2aef1d06a53f606211da68a2085dfeb50d>

## 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-2023-53629>

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