VDB

CVE-2025-39744

CVE-2025-39744 PUBLISHED

rcu: Fix rcu_read_unlock() deadloop due to IRQ work

Reported by linux · Published September 11, 2025

In the Linux kernel, the following vulnerability has been resolved: rcu: Fix rcu_read_unlock() deadloop due to IRQ work During rcu_read_unlock_special(), if this happens during irq_exit(), we can lockup if an IPI is issued. This is because the IPI itself triggers the irq_exit() path causing a recursive lock up. This is precisely what Xiongfeng found when invoking a BPF program on the trace_tick_stop() tracepoint As shown in the trace below. Fix by managing the irq_work state correctly. irq_exit() __irq_exit_rcu() /* in_hardirq() returns false after this */ preempt_count_sub(HARDIRQ_OFFSET) tick_irq_exit() tick_nohz_irq_exit() tick_nohz_stop_sched_tick() trace_tick_stop() /* a bpf prog is hooked on this trace point */ __bpf_trace_tick_stop() bpf_trace_run2() rcu_read_unlock_special() /* will send a IPI to itself */ irq_work_queue_on(&rdp->defer_qs_iw, rdp->cpu); A simple reproducer can also be obtained by doing the following in tick_irq_exit(). It will hang on boot without the patch: static inline void tick_irq_exit(void) { + rcu_read_lock(); + WRITE_ONCE(current->rcu_read_unlock_special.b.need_qs, true); + rcu_read_unlock(); + [neeraj: Apply Frederic's suggested fix for PREEMPT_RT]

EPSS 0.17% · 6.8th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.12-libbpf-staticAmazon Linux1:6.12.46-66.121.amzn2023
bpftool6.12Amazon Linux1:6.12.46-66.121.amzn2023
kernel-livepatch-6.12.46-66.121Amazon Linux1:1.0-0.amzn2023
kernel6.12-toolsAmazon Linux1:6.12.46-66.121.amzn2023
kernel6.12-headersAmazon Linux1:6.12.46-66.121.amzn2023
linux_kernellinux6.16.2, 6.15.11, 6.12.43, 6.6.103
LinuxLinuxddebb2a7677673cf4438a04e1a48b8ed6b0c8e9a, b41642c87716bbd09797b1e4ea7d904f06c39b7b, 56c5ef194f4509df63fc0f7a91ea5973ce479b1e, 1cfa244f7198d325594e627574930b7b91df5bfe

Risk scores

EPSS Score
0.17%
6.8th percentile

Affected products

VendorProductVersions
LinuxLinux0864f057b050bc6dd68106b3185e02db5140012d, 0864f057b050bc6dd68106b3185e02db5140012d, 0864f057b050bc6dd68106b3185e02db5140012d
LinuxLinux5.3, 0, 6.1.191
amazon:2023kernel6.12-libbpf-static0
amazon:2023bpftool6.120
amazon:2023kernel-livepatch-6.12.46-66.1210
amazon:2023kernel6.12-tools0
amazon:2023kernel6.12-headers0
LinuxLinux5.3, 6.12.43, 6.6.103
amazon:2023kernel6.120
amazon:2023kernel6.12-libbpf0
linuxlinux_kernel5.3, 5.3, 5.3
amazon:2023perf6.120
amazon:2023kernel6.12-libbpf-devel0
amazon:2023kernel6.12-modules-extra0
amazon:2023python3-perf6.120
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel6.12-devel0
amazon:2023kernel6.12-modules-extra-common0

Timeline

  • Sep 11, 2025 Coalition ESS Score (6 in total, the first dated here)
  • Sep 11, 2025 CVE Published
  • Sep 12, 2025 EPSS Score (30 in total, the first dated here)
  • Oct 12, 2025 PoC Published (9 in total, the first dated here)
  • Dec 15, 2025 Security Advisory (188 in total, the first dated here)
  • Mar 29, 2026 Distribution Patch (175 in total, the first dated here)
  • Oct 29, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-39744
vulnetix vdb fixes CVE-2025-39744

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-39744/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›