# CVE-2024-56610: kcsan: Turn report\_filterlist\_lock into a raw\_spinlock

> 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.30% (percentile 15, 2026-11-28)
- **Published:** 2024-12-27T14:51:15.305Z
- **Modified:** 2026-06-17T08:12:32.547Z

## Who should check

- Anyone running Linux \>= dfd402a4c4baae42398ce9180ff424d589b8bffc, \< f4f2ef66d288ea796ddb8ecbdc2df074ab2d5f4d; \>= dfd402a4c4baae42398ce9180ff424d589b8bffc, \< ea6588abcc15d68fdeae777ffe3dd74c02eab407; \>= dfd402a4c4baae42398ce9180ff424d589b8bffc, \< 0ab4951c1473c7d1ceaf1232eb927109cd1c4859; \>= dfd402a4c4baae42398ce9180ff424d589b8bffc, \< dca4e74a918586913d251c0b359e8cc96a3883ea; \>= dfd402a4c4baae42398ce9180ff424d589b8bffc, \< 889a0d3a35fdedba1c5dcb6410c95c32421680ec; \>= dfd402a4c4baae42398ce9180ff424d589b8bffc, \< 59458fa4ddb47e7891c61b4a928d13d5f5b00aa0
- Anyone running Linux 5.8

## Description

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

kcsan: Turn report\_filterlist\_lock into a raw\_spinlock

Ran Xiaokai reports that with a KCSAN-enabled PREEMPT\_RT kernel, we can see
splats like:

\| BUG: sleeping function called from invalid context at kernel/locking/spinlock\_rt.c:48
\| in\_atomic(): 1, irqs\_disabled(): 1, non\_block: 0, pid: 0, name: swapper/1
\| preempt\_count: 10002, expected: 0
\| RCU nest depth: 0, expected: 0
\| no locks held by swapper/1/0.
\| irq event stamp: 156674
\| hardirqs last  enabled at (156673): \[\<ffffffff81130bd9\>\] do\_idle+0x1f9/0x240
\| hardirqs last disabled at (156674): \[\<ffffffff82254f84\>\] sysvec\_apic\_timer\_interrupt+0x14/0xc0
\| softirqs last  enabled at (0): \[\<ffffffff81099f47\>\] copy\_process+0xfc7/0x4b60
\| softirqs last disabled at (0): \[\<0000000000000000\>\] 0x0
\| Preemption disabled at:
\| \[\<ffffffff814a3e2a\>\] paint\_ptr+0x2a/0x90
\| CPU: 1 UID: 0 PID: 0 Comm: swapper/1 Not tainted 6.11.0+ \#3
\| Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.12.0-0-ga698c8995f-prebuilt.qemu.org 04/01/2014
\| Call Trace:
\|  \<IRQ\>
\|  dump\_stack\_lvl+0x7e/0xc0
\|  dump\_stack+0x1d/0x30
\|  \_\_might\_resched+0x1a2/0x270
\|  rt\_spin\_lock+0x68/0x170
\|  kcsan\_skip\_report\_debugfs+0x43/0xe0
\|  print\_report+0xb5/0x590
\|  kcsan\_report\_known\_origin+0x1b1/0x1d0
\|  kcsan\_setup\_watchpoint+0x348/0x650
\|  \_\_tsan\_unaligned\_write1+0x16d/0x1d0
\|  hrtimer\_interrupt+0x3d6/0x430
\|  \_\_sysvec\_apic\_timer\_interrupt+0xe8/0x3a0
\|  sysvec\_apic\_timer\_interrupt+0x97/0xc0
\|  \</IRQ\>

On a detected data race, KCSAN's reporting logic checks if it should
filter the report. That list is protected by the report\_filterlist\_lock
\*non-raw\* spinlock which may sleep on RT kernels.

Since KCSAN may report data races in any context, convert it to a
raw\_spinlock.

This requires being careful about when to allocate memory for the filter
list itself which can be done via KCSAN's debugfs interface. Concurrent
modification of the filter list via debugfs should be rare: the chosen
strategy is to optimistically pre-allocate memory before the critical
section and discard if unused.

## Affected and fixed versions

- Linux: \>= dfd402a4c4baae42398ce9180ff424d589b8bffc, \< f4f2ef66d288ea796ddb8ecbdc2df074ab2d5f4d; \>= dfd402a4c4baae42398ce9180ff424d589b8bffc, \< ea6588abcc15d68fdeae777ffe3dd74c02eab407; \>= dfd402a4c4baae42398ce9180ff424d589b8bffc, \< 0ab4951c1473c7d1ceaf1232eb927109cd1c4859; \>= dfd402a4c4baae42398ce9180ff424d589b8bffc, \< dca4e74a918586913d251c0b359e8cc96a3883ea; \>= dfd402a4c4baae42398ce9180ff424d589b8bffc, \< 889a0d3a35fdedba1c5dcb6410c95c32421680ec; \>= dfd402a4c4baae42398ce9180ff424d589b8bffc, \< 59458fa4ddb47e7891c61b4a928d13d5f5b00aa0 (cvelist)
- Linux: 5.8 (cvelist)

## Mitigation

- Upgrade Linux to 59458fa4ddb47e7891c61b4a928d13d5f5b00aa0 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2024-56610.md
Affected: Linux >= dfd402a4c4baae42398ce9180ff424d589b8bffc, < f4f2ef66d288ea796ddb8ecbdc2df074ab2d5f4d; >= dfd402a4c4baae42398ce9180ff424d589b8bffc, < ea6588abcc15d68fdeae777ffe3dd74c02eab407; >= dfd402a4c4baae42398ce9180ff424d589b8bffc, < 0ab4951c1473c7d1ceaf1232eb927109cd1c4859; >= dfd402a4c4baae42398ce91…
Fixed in: Linux 0ab4951c1473c7d1ceaf1232eb927109cd1c4859, Linux 889a0d3a35fdedba1c5dcb6410c95c32421680ec, Linux 59458fa4ddb47e7891c61b4a928d13d5f5b00aa0

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

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

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

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

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

Linux \>= dfd402a4c4baae42398ce9180ff424d589b8bffc, \< f4f2ef66d288ea796ddb8ecbdc2df074ab2d5f4d; \>= dfd402a4c4baae42398ce9180ff424d589b8bffc, \< ea6588abcc15d68fdeae777ffe3dd74c02eab407; \>= dfd402a4c4baae42398ce9180ff424d589b8bffc, \< 0ab4951c1473c7d1ceaf1232eb927109cd1c4859; \>= dfd402a4c4baae42398ce9180ff424d589b8bffc, \< dca4e74a918586913d251c0b359e8cc96a3883ea; \>= dfd402a4c4baae42398ce9180ff424d589b8bffc, \< 889a0d3a35fdedba1c5dcb6410c95c32421680ec; \>= dfd402a4c4baae42398ce9180ff424d589b8bffc, \< 59458fa4ddb47e7891c61b4a928d13d5f5b00aa0; Linux 5.8.

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

Yes. Fixed in Linux 0ab4951c1473c7d1ceaf1232eb927109cd1c4859, Linux 889a0d3a35fdedba1c5dcb6410c95c32421680ec, Linux 59458fa4ddb47e7891c61b4a928d13d5f5b00aa0. Upgrade Linux to 59458fa4ddb47e7891c61b4a928d13d5f5b00aa0 or later.

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

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/f4f2ef66d288ea796ddb8ecbdc2df074ab2d5f4d>
- patch: <https://git.kernel.org/stable/c/ea6588abcc15d68fdeae777ffe3dd74c02eab407>
- patch: <https://git.kernel.org/stable/c/0ab4951c1473c7d1ceaf1232eb927109cd1c4859>
- patch: <https://git.kernel.org/stable/c/dca4e74a918586913d251c0b359e8cc96a3883ea>
- patch: <https://git.kernel.org/stable/c/889a0d3a35fdedba1c5dcb6410c95c32421680ec>
- patch: <https://git.kernel.org/stable/c/59458fa4ddb47e7891c61b4a928d13d5f5b00aa0>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>

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

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