# CVE-2024-53160: rcu/kvfree: Fix data-race in \_\_mod\_timer / kvfree\_call\_rcu

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

- **Severity:** MEDIUM 4.7
- **CVSS:** 4.7 (v3.1, CNA) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; 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.21% (percentile 6, 2026-11-26)
- **CWE:** CWE-362
- **Published:** 2024-12-24T11:29:00.964Z
- **Modified:** 2026-06-17T08:08:27.143Z

## Who should check

- Anyone running Linux \>= 8fc5494ad5face62747a3937db66b00db1e5d80b, \< 967a0e61910825d1fad009d836a6cb41f7402395; \>= 8fc5494ad5face62747a3937db66b00db1e5d80b, \< 05b8ea1f16667f07c8e5843fb4bde3e49d49ead8; \>= 8fc5494ad5face62747a3937db66b00db1e5d80b, \< 5ced426d97ce84299ecfcc7bd8b38f975fd11089; \>= 8fc5494ad5face62747a3937db66b00db1e5d80b, \< a23da88c6c80e41e0503e0b481a22c9eea63f263
- Anyone running Linux 6.3

## Description

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

rcu/kvfree: Fix data-race in \_\_mod\_timer / kvfree\_call\_rcu

KCSAN reports a data race when access the krcp-\>monitor\_work.timer.expires
variable in the schedule\_delayed\_monitor\_work() function:

\<snip\>
BUG: KCSAN: data-race in \_\_mod\_timer / kvfree\_call\_rcu

read to 0xffff888237d1cce8 of 8 bytes by task 10149 on cpu 1:
 schedule\_delayed\_monitor\_work kernel/rcu/tree.c:3520 \[inline\]
 kvfree\_call\_rcu+0x3b8/0x510 kernel/rcu/tree.c:3839
 trie\_update\_elem+0x47c/0x620 kernel/bpf/lpm\_trie.c:441
 bpf\_map\_update\_value+0x324/0x350 kernel/bpf/syscall.c:203
 generic\_map\_update\_batch+0x401/0x520 kernel/bpf/syscall.c:1849
 bpf\_map\_do\_batch+0x28c/0x3f0 kernel/bpf/syscall.c:5143
 \_\_sys\_bpf+0x2e5/0x7a0
 \_\_do\_sys\_bpf kernel/bpf/syscall.c:5741 \[inline\]
 \_\_se\_sys\_bpf kernel/bpf/syscall.c:5739 \[inline\]
 \_\_x64\_sys\_bpf+0x43/0x50 kernel/bpf/syscall.c:5739
 x64\_sys\_call+0x2625/0x2d60 arch/x86/include/generated/asm/syscalls\_64.h:322
 do\_syscall\_x64 arch/x86/entry/common.c:52 \[inline\]
 do\_syscall\_64+0xc9/0x1c0 arch/x86/entry/common.c:83
 entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f

write to 0xffff888237d1cce8 of 8 bytes by task 56 on cpu 0:
 \_\_mod\_timer+0x578/0x7f0 kernel/time/timer.c:1173
 add\_timer\_global+0x51/0x70 kernel/time/timer.c:1330
 \_\_queue\_delayed\_work+0x127/0x1a0 kernel/workqueue.c:2523
 queue\_delayed\_work\_on+0xdf/0x190 kernel/workqueue.c:2552
 queue\_delayed\_work include/linux/workqueue.h:677 \[inline\]
 schedule\_delayed\_monitor\_work kernel/rcu/tree.c:3525 \[inline\]
 kfree\_rcu\_monitor+0x5e8/0x660 kernel/rcu/tree.c:3643
 process\_one\_work kernel/workqueue.c:3229 \[inline\]
 process\_scheduled\_works+0x483/0x9a0 kernel/workqueue.c:3310
 worker\_thread+0x51d/0x6f0 kernel/workqueue.c:3391
 kthread+0x1d1/0x210 kernel/kthread.c:389
 ret\_from\_fork+0x4b/0x60 arch/x86/kernel/process.c:147
 ret\_from\_fork\_asm+0x1a/0x30 arch/x86/entry/entry\_64.S:244

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 UID: 0 PID: 56 Comm: kworker/u8:4 Not tainted 6.12.0-rc2-syzkaller-00050-g5b7c893ed5ed \#0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Workqueue: events\_unbound kfree\_rcu\_monitor
\<snip\>

kfree\_rcu\_monitor() rearms the work if a "krcp" has to be still
offloaded and this is done without holding krcp-\>lock, whereas
the kvfree\_call\_rcu() holds it.

Fix it by acquiring the "krcp-\>lock" for kfree\_rcu\_monitor() so
both functions do not race anymore.

## Affected and fixed versions

- Linux: \>= 8fc5494ad5face62747a3937db66b00db1e5d80b, \< 967a0e61910825d1fad009d836a6cb41f7402395; \>= 8fc5494ad5face62747a3937db66b00db1e5d80b, \< 05b8ea1f16667f07c8e5843fb4bde3e49d49ead8; \>= 8fc5494ad5face62747a3937db66b00db1e5d80b, \< 5ced426d97ce84299ecfcc7bd8b38f975fd11089; \>= 8fc5494ad5face62747a3937db66b00db1e5d80b, \< a23da88c6c80e41e0503e0b481a22c9eea63f263 (cvelist)
- Linux: 6.3 (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-53160. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-53160.md
Affected: Linux >= 8fc5494ad5face62747a3937db66b00db1e5d80b, < 967a0e61910825d1fad009d836a6cb41f7402395; >= 8fc5494ad5face62747a3937db66b00db1e5d80b, < 05b8ea1f16667f07c8e5843fb4bde3e49d49ead8; >= 8fc5494ad5face62747a3937db66b00db1e5d80b, < 5ced426d97ce84299ecfcc7bd8b38f975fd11089; >= 8fc5494ad5face62747a393…
Fixed in: Linux 967a0e61910825d1fad009d836a6cb41f7402395, Linux 05b8ea1f16667f07c8e5843fb4bde3e49d49ead8, Linux 5ced426d97ce84299ecfcc7bd8b38f975fd11089

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

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

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

Medium: CVSS 4.7 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

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

Linux \>= 8fc5494ad5face62747a3937db66b00db1e5d80b, \< 967a0e61910825d1fad009d836a6cb41f7402395; \>= 8fc5494ad5face62747a3937db66b00db1e5d80b, \< 05b8ea1f16667f07c8e5843fb4bde3e49d49ead8; \>= 8fc5494ad5face62747a3937db66b00db1e5d80b, \< 5ced426d97ce84299ecfcc7bd8b38f975fd11089; \>= 8fc5494ad5face62747a3937db66b00db1e5d80b, \< a23da88c6c80e41e0503e0b481a22c9eea63f263; Linux 6.3.

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

Yes. Fixed in Linux 967a0e61910825d1fad009d836a6cb41f7402395, Linux 05b8ea1f16667f07c8e5843fb4bde3e49d49ead8, Linux 5ced426d97ce84299ecfcc7bd8b38f975fd11089. No fix listed yet: follow the vendor advisory.

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

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/967a0e61910825d1fad009d836a6cb41f7402395>
- patch: <https://git.kernel.org/stable/c/05b8ea1f16667f07c8e5843fb4bde3e49d49ead8>
- patch: <https://git.kernel.org/stable/c/5ced426d97ce84299ecfcc7bd8b38f975fd11089>
- patch: <https://git.kernel.org/stable/c/a23da88c6c80e41e0503e0b481a22c9eea63f263>

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

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