# CVE-2023-53765: dm cache: free background tracker's queued work in btracker\_destroy

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.27% (percentile 13, 2026-11-26)
- **Published:** 2025-12-08T01:19:27.831Z
- **Modified:** 2026-06-17T06:46:01.870Z

## Who should check

- Anyone running Linux \>= b29d4986d0da1a27cd35917cdb433672f5c95d7f, \< 673a3af21d5e3ed769f3eaed0c888244290a3506; \>= b29d4986d0da1a27cd35917cdb433672f5c95d7f, \< ed56ad5cacb7a3aeb611494d5d66e2399d2bfecc; \>= b29d4986d0da1a27cd35917cdb433672f5c95d7f, \< 95ab80a8a0fef2ce0cc494a306dd283948066ce7
- Anyone running Linux 4.12

## Description

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

dm cache: free background tracker's queued work in btracker\_destroy

Otherwise the kernel can BUG with:

\[ 2245.426978\] =============================================================================
\[ 2245.435155\] BUG bt\_work (Tainted: G    B   W         ): Objects remaining in bt\_work on \_\_kmem\_cache\_shutdown()
\[ 2245.445233\] -----------------------------------------------------------------------------
\[ 2245.445233\]
\[ 2245.454879\] Slab 0x00000000b0ce2b30 objects=64 used=2 fp=0x000000000a3c6a4e flags=0x17ffffc0000200(slab\|node=0\|zone=2\|lastcpupid=0x1fffff)
\[ 2245.467300\] CPU: 7 PID: 10805 Comm: lvm Kdump: loaded Tainted: G    B   W          6.0.0-rc2 \#19
\[ 2245.476078\] Hardware name: Dell Inc. PowerEdge R7525/0590KW, BIOS 2.5.6 10/06/2021
\[ 2245.483646\] Call Trace:
\[ 2245.486100\]  \<TASK\>
\[ 2245.488206\]  dump\_stack\_lvl+0x34/0x48
\[ 2245.491878\]  slab\_err+0x95/0xcd
\[ 2245.495028\]  \_\_kmem\_cache\_shutdown.cold+0x31/0x136
\[ 2245.499821\]  kmem\_cache\_destroy+0x49/0x130
\[ 2245.503928\]  btracker\_destroy+0x12/0x20 \[dm\_cache\]
\[ 2245.508728\]  smq\_destroy+0x15/0x60 \[dm\_cache\_smq\]
\[ 2245.513435\]  dm\_cache\_policy\_destroy+0x12/0x20 \[dm\_cache\]
\[ 2245.518834\]  destroy+0xc0/0x110 \[dm\_cache\]
\[ 2245.522933\]  dm\_table\_destroy+0x5c/0x120 \[dm\_mod\]
\[ 2245.527649\]  \_\_dm\_destroy+0x10e/0x1c0 \[dm\_mod\]
\[ 2245.532102\]  dev\_remove+0x117/0x190 \[dm\_mod\]
\[ 2245.536384\]  ctl\_ioctl+0x1a2/0x290 \[dm\_mod\]
\[ 2245.540579\]  dm\_ctl\_ioctl+0xa/0x20 \[dm\_mod\]
\[ 2245.544773\]  \_\_x64\_sys\_ioctl+0x8a/0xc0
\[ 2245.548524\]  do\_syscall\_64+0x5c/0x90
\[ 2245.552104\]  ? syscall\_exit\_to\_user\_mode+0x12/0x30
\[ 2245.556897\]  ? do\_syscall\_64+0x69/0x90
\[ 2245.560648\]  ? do\_syscall\_64+0x69/0x90
\[ 2245.564394\]  entry\_SYSCALL\_64\_after\_hwframe+0x63/0xcd
\[ 2245.569447\] RIP: 0033:0x7fe52583ec6b
...
\[ 2245.646771\] ------------\[ cut here \]------------
\[ 2245.651395\] kmem\_cache\_destroy bt\_work: Slab cache still has objects when called from btracker\_destroy+0x12/0x20 \[dm\_cache\]
\[ 2245.651408\] WARNING: CPU: 7 PID: 10805 at mm/slab\_common.c:478 kmem\_cache\_destroy+0x128/0x130

Found using: lvm2-testsuite --only "cache-single-split.sh"

Ben bisected and found that commit 0495e337b703 ("mm/slab\_common:
Deleting kobject in kmem\_cache\_destroy() without holding
slab\_mutex/cpu\_hotplug\_lock") first exposed dm-cache's incomplete
cleanup of its background tracker work objects.

## Affected and fixed versions

- Linux: \>= b29d4986d0da1a27cd35917cdb433672f5c95d7f, \< 673a3af21d5e3ed769f3eaed0c888244290a3506; \>= b29d4986d0da1a27cd35917cdb433672f5c95d7f, \< ed56ad5cacb7a3aeb611494d5d66e2399d2bfecc; \>= b29d4986d0da1a27cd35917cdb433672f5c95d7f, \< 95ab80a8a0fef2ce0cc494a306dd283948066ce7 (cvelist)
- Linux: 4.12 (cvelist)

## Mitigation

- Upgrade Linux to 95ab80a8a0fef2ce0cc494a306dd283948066ce7 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-53765. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53765.md
Affected: Linux >= b29d4986d0da1a27cd35917cdb433672f5c95d7f, < 673a3af21d5e3ed769f3eaed0c888244290a3506; >= b29d4986d0da1a27cd35917cdb433672f5c95d7f, < ed56ad5cacb7a3aeb611494d5d66e2399d2bfecc; >= b29d4986d0da1a27cd35917cdb433672f5c95d7f, < 95ab80a8a0fef2ce0cc494a306dd283948066ce7; Linux 4.12
Fixed in: Linux 673a3af21d5e3ed769f3eaed0c888244290a3506, Linux 95ab80a8a0fef2ce0cc494a306dd283948066ce7

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-53765 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= b29d4986d0da1a27cd35917cdb433672f5c95d7f, \< 673a3af21d5e3ed769f3eaed0c888244290a3506; \>= b29d4986d0da1a27cd35917cdb433672f5c95d7f, \< ed56ad5cacb7a3aeb611494d5d66e2399d2bfecc; \>= b29d4986d0da1a27cd35917cdb433672f5c95d7f, \< 95ab80a8a0fef2ce0cc494a306dd283948066ce7; Linux 4.12.

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

Yes. Fixed in Linux 673a3af21d5e3ed769f3eaed0c888244290a3506, Linux 95ab80a8a0fef2ce0cc494a306dd283948066ce7. Upgrade Linux to 95ab80a8a0fef2ce0cc494a306dd283948066ce7 or later.

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

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

- other: <https://git.kernel.org/stable/c/673a3af21d5e3ed769f3eaed0c888244290a3506>
- other: <https://git.kernel.org/stable/c/ed56ad5cacb7a3aeb611494d5d66e2399d2bfecc>
- other: <https://git.kernel.org/stable/c/95ab80a8a0fef2ce0cc494a306dd283948066ce7>

## 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-53765>

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