# CVE-2024-56566: mm/slub: Avoid list corruption when removing a slab from the full list

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; 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.29% (percentile 15, 2026-11-26)
- **CWE:** CWE-401
- **Published:** 2024-12-27T14:23:10.178Z
- **Modified:** 2026-10-30T13:17:46.840Z

## Who should check

- Anyone running Linux \>= 643b113849d8faa68c9f01c3c9d929bfbffd50bd, \< a81a0e7fc85125248363d5c944bef268218c9718; \>= 643b113849d8faa68c9f01c3c9d929bfbffd50bd, \< 33a213c04faff6c3a7fe77e947db81bc7270fe32; \>= 643b113849d8faa68c9f01c3c9d929bfbffd50bd, \< 943c0f601cd28c1073b92b5f944c6c6c2643e709; \>= 643b113849d8faa68c9f01c3c9d929bfbffd50bd, \< dbc16915279a548a204154368da23d402c141c81
- Anyone running Linux 2.6.22

## Description

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

mm/slub: Avoid list corruption when removing a slab from the full list

Boot with slub\_debug=UFPZ.

If allocated object failed in alloc\_consistency\_checks, all objects of
the slab will be marked as used, and then the slab will be removed from
the partial list.

When an object belonging to the slab got freed later, the remove\_full()
function is called. Because the slab is neither on the partial list nor
on the full list, it eventually lead to a list corruption (actually a
list poison being detected).

So we need to mark and isolate the slab page with metadata corruption,
do not put it back in circulation.

Because the debug caches avoid all the fastpaths, reusing the frozen bit
to mark slab page with metadata corruption seems to be fine.

\[ 4277.385669\] list\_del corruption, ffffea00044b3e50-\>next is LIST\_POISON1 (dead000000000100)
\[ 4277.387023\] ------------\[ cut here \]------------
\[ 4277.387880\] kernel BUG at lib/list\_debug.c:56!
\[ 4277.388680\] invalid opcode: 0000 \[\#1\] PREEMPT SMP PTI
\[ 4277.389562\] CPU: 5 PID: 90 Comm: kworker/5:1 Kdump: loaded Tainted: G           OE      6.6.1-1 \#1
\[ 4277.392113\] Workqueue: xfs-inodegc/vda1 xfs\_inodegc\_worker \[xfs\]
\[ 4277.393551\] RIP: 0010:\_\_list\_del\_entry\_valid\_or\_report+0x7b/0xc0
\[ 4277.394518\] Code: 48 91 82 e8 37 f9 9a ff 0f 0b 48 89 fe 48 c7 c7 28 49 91 82 e8 26 f9 9a ff 0f 0b 48 89 fe 48 c7 c7 58 49 91
\[ 4277.397292\] RSP: 0018:ffffc90000333b38 EFLAGS: 00010082
\[ 4277.398202\] RAX: 000000000000004e RBX: ffffea00044b3e50 RCX: 0000000000000000
\[ 4277.399340\] RDX: 0000000000000002 RSI: ffffffff828f8715 RDI: 00000000ffffffff
\[ 4277.400545\] RBP: ffffea00044b3e40 R08: 0000000000000000 R09: ffffc900003339f0
\[ 4277.401710\] R10: 0000000000000003 R11: ffffffff82d44088 R12: ffff888112cf9910
\[ 4277.402887\] R13: 0000000000000001 R14: 0000000000000001 R15: ffff8881000424c0
\[ 4277.404049\] FS:  0000000000000000(0000) GS:ffff88842fd40000(0000) knlGS:0000000000000000
\[ 4277.405357\] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
\[ 4277.406389\] CR2: 00007f2ad0b24000 CR3: 0000000102a3a006 CR4: 00000000007706e0
\[ 4277.407589\] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
\[ 4277.408780\] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
\[ 4277.410000\] PKRU: 55555554
\[ 4277.410645\] Call Trace:
\[ 4277.411234\]  \<TASK\>
\[ 4277.411777\]  ? die+0x32/0x80
\[ 4277.412439\]  ? do\_trap+0xd6/0x100
\[ 4277.413150\]  ? \_\_list\_del\_entry\_valid\_or\_report+0x7b/0xc0
\[ 4277.414158\]  ? do\_error\_trap+0x6a/0x90
\[ 4277.414948\]  ? \_\_list\_del\_entry\_valid\_or\_report+0x7b/0xc0
\[ 4277.415915\]  ? exc\_invalid\_op+0x4c/0x60
\[ 4277.416710\]  ? \_\_list\_del\_entry\_valid\_or\_report+0x7b/0xc0
\[ 4277.417675\]  ? asm\_exc\_invalid\_op+0x16/0x20
\[ 4277.418482\]  ? \_\_list\_del\_entry\_valid\_or\_report+0x7b/0xc0
\[ 4277.419466\]  ? \_\_list\_del\_entry\_valid\_or\_report+0x7b/0xc0
\[ 4277.420410\]  free\_to\_partial\_list+0x515/0x5e0
\[ 4277.421242\]  ? xfs\_iext\_remove+0x41a/0xa10 \[xfs\]
\[ 4277.422298\]  xfs\_iext\_remove+0x41a/0xa10 \[xfs\]
\[ 4277.423316\]  ? xfs\_inodegc\_worker+0xb4/0x1a0 \[xfs\]
\[ 4277.424383\]  xfs\_bmap\_del\_extent\_delay+0x4fe/0x7d0 \[xfs\]
\[ 4277.425490\]  \_\_xfs\_bunmapi+0x50d/0x840 \[xfs\]
\[ 4277.426445\]  xfs\_itruncate\_extents\_flags+0x13a/0x490 \[xfs\]
\[ 4277.427553\]  xfs\_inactive\_truncate+0xa3/0x120 \[xfs\]
\[ 4277.428567\]  xfs\_inactive+0x22d/0x290 \[xfs\]
\[ 4277.429500\]  xfs\_inodegc\_worker+0xb4/0x1a0 \[xfs\]
\[ 4277.430479\]  process\_one\_work+0x171/0x340
\[ 4277.431227\]  worker\_thread+0x277/0x390
\[ 4277.431962\]  ? \_\_pfx\_worker\_thread+0x10/0x10
\[ 4277.432752\]  kthread+0xf0/0x120
\[ 4277.433382\]  ? \_\_pfx\_kthread+0x10/0x10
\[ 4277.434134\]  ret\_from\_fork+0x2d/0x50
\[ 4277.434837\]  ? \_\_pfx\_kthread+0x10/0x10
\[ 4277.435566\]  ret\_from\_fork\_asm+0x1b/0x30
\[ 4277.436280\]  \</TASK\>

## Affected and fixed versions

- Linux: \>= 643b113849d8faa68c9f01c3c9d929bfbffd50bd, \< a81a0e7fc85125248363d5c944bef268218c9718; \>= 643b113849d8faa68c9f01c3c9d929bfbffd50bd, \< 33a213c04faff6c3a7fe77e947db81bc7270fe32; \>= 643b113849d8faa68c9f01c3c9d929bfbffd50bd, \< 943c0f601cd28c1073b92b5f944c6c6c2643e709; \>= 643b113849d8faa68c9f01c3c9d929bfbffd50bd, \< dbc16915279a548a204154368da23d402c141c81 (cvelist)
- Linux: 2.6.22 (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-56566. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-56566.md
Affected: Linux >= 643b113849d8faa68c9f01c3c9d929bfbffd50bd, < a81a0e7fc85125248363d5c944bef268218c9718; >= 643b113849d8faa68c9f01c3c9d929bfbffd50bd, < 33a213c04faff6c3a7fe77e947db81bc7270fe32; >= 643b113849d8faa68c9f01c3c9d929bfbffd50bd, < 943c0f601cd28c1073b92b5f944c6c6c2643e709; >= 643b113849d8faa68c9f01c…
Fixed in: Linux 33a213c04faff6c3a7fe77e947db81bc7270fe32, Linux 943c0f601cd28c1073b92b5f944c6c6c2643e709

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

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

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

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

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

Linux \>= 643b113849d8faa68c9f01c3c9d929bfbffd50bd, \< a81a0e7fc85125248363d5c944bef268218c9718; \>= 643b113849d8faa68c9f01c3c9d929bfbffd50bd, \< 33a213c04faff6c3a7fe77e947db81bc7270fe32; \>= 643b113849d8faa68c9f01c3c9d929bfbffd50bd, \< 943c0f601cd28c1073b92b5f944c6c6c2643e709; \>= 643b113849d8faa68c9f01c3c9d929bfbffd50bd, \< dbc16915279a548a204154368da23d402c141c81; Linux 2.6.22.

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

Yes. Fixed in Linux 33a213c04faff6c3a7fe77e947db81bc7270fe32, Linux 943c0f601cd28c1073b92b5f944c6c6c2643e709. No fix listed yet: follow the vendor advisory.

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

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/33a213c04faff6c3a7fe77e947db81bc7270fe32>
- patch: <https://git.kernel.org/stable/c/943c0f601cd28c1073b92b5f944c6c6c2643e709>
- patch: <https://git.kernel.org/stable/c/dbc16915279a548a204154368da23d402c141c81>
- other: <https://git.kernel.org/stable/c/a81a0e7fc85125248363d5c944bef268218c9718>

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

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