CVE-2024-48876

stackdepot: fix stack_depot_save_flags() in NMI context

published January 11, 2025

CVSS
—
EPSS
0%
Percentile
3.3
In the wild
Unconfirmed
What it is

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

stackdepot: fix stack_depot_save_flags() in NMI context

Per documentation, stack_depot_save_flags() was meant to be usable from

NMI context if STACK_DEPOT_FLAG_CAN_ALLOC is unset. However, it still

would try to take the pool_lock in an attempt to save a stack trace in the

current pool (if space is available).

This could result in deadlock if an NMI is handled while pool_lock is

already held. To avoid deadlock, only try to take the lock in NMI context

and give up if unsuccessful.

The documentation is fixed to clearly convey this.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00143 · 3.3th percentile
Published
2025-01-11T12:25Z
EPSS history
Timeline
  • 11 JAN 12:25Z
    stackdepot: fix stack_depot_save_flags() in NMI context
    cvelistv5