
PREEMPT_RT trap: VMD used spinlock_t for PCI config access that may run with IRQs disabled. On RT, spinlock_t can sleep, so this hit “sleeping function called from invalid context.” CVE-2025-23161. Learn:wrong lock kind. Repro:RT+VMD config read. Read:PREEMPT_RT locking.
Post summary
The text discloses a PREEMPT_RT-specific Linux kernel vulnerability (CVE-2025-23161) caused by improper spinlock usage in VMD during PCI config access, triggering context-sleep errors.
