VDB

CVE-2025-40142

CVE-2025-40142 PUBLISHED

ALSA: pcm: Disable bottom softirqs as part of spin_lock_irq() on PREEMPT_RT

Reported by linux · Published November 12, 2025

In the Linux kernel, the following vulnerability has been resolved: ALSA: pcm: Disable bottom softirqs as part of spin_lock_irq() on PREEMPT_RT snd_pcm_group_lock_irq() acquires a spinlock_t and disables interrupts via spin_lock_irq(). This also implicitly disables the handling of softirqs such as TIMER_SOFTIRQ. On PREEMPT_RT softirqs are preemptible and spin_lock_irq() does not disable them. That means a timer can be invoked during spin_lock_irq() on the same CPU. Due to synchronisations reasons local_bh_disable() has a per-CPU lock named softirq_ctrl.lock which synchronizes individual softirq against each other. syz-bot managed to trigger a lockdep report where softirq_ctrl.lock is acquired in hrtimer_cancel() in addition to hrtimer_run_softirq(). This is a possible deadlock. The softirq_ctrl.lock can not be made part of spin_lock_irq() as this would lead to too much synchronisation against individual threads on the system. To avoid the possible deadlock, softirqs must be manually disabled before the lock is acquired. Disable softirqs before the lock is acquired on PREEMPT_RT.

EPSS 0.21% · 11.4th percentile

Risk scores

EPSS Score
0.21%
11.4th percentile

Affected products

VendorProductVersions
LinuxLinuxd2d6422f8bd17c6bb205133e290625a564194496, d2d6422f8bd17c6bb205133e290625a564194496, d2d6422f8bd17c6bb205133e290625a564194496
LinuxLinux6.12, 0, 6.12.53
LinuxLinux*, 6.18, *
linuxlinux_kernel6.12, 6.12, 6.12

Timeline

  • Oct 12, 2025 PoC Published (12 in total, the first dated here)
  • Nov 11, 2025 CVE Published
  • Nov 12, 2025 EPSS Score (30 in total, the first dated here)
  • Nov 17, 2025 CVE Updated
  • Mar 29, 2026 Distribution Patch (164 in total, the first dated here)
  • Mar 29, 2026 Security Advisory (170 in total, the first dated here)
  • Jun 8, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-40142
vulnetix vdb fixes CVE-2025-40142

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-40142/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 ›