CVE Database›CVE-2025-40142

CVE-2025-40142

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

Loading…

Severity

Moderate

Red Hat Product Security

5.8

CVSS 3.1

Review impact separately from score.

Published · November 12, 2025

Updated · June 30, 2026

Description

A flaw was found in the Linux kernel’s Advanced Linux Sound Architecture PCM subsystem when built with the PREEMPT_RT (real-time) configuration. In snd_pcm_group_lock_irq(), the code uses spin_lock_irq() to acquire a spinlock and disable interrupts. However, on PREEMPT_RT systems, softirqs (e.g., TIMER_SOFTIRQ) remain preemptible, so a timer softirq may be raised on the same CPU during the lock. This interacts badly with softirq_ctrl.lock (a per-CPU lock used by local_bh_disable()), potentially causing a deadlock.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

CVSS / CWE

CVSS 3.1 · 5.8
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H

CWE-833 · Deadlock