VDB

CVE-2024-48876

CVE-2024-48876 PUBLISHED

stackdepot: fix stack_depot_save_flags() in NMI context

Reported by linux · Published January 11, 2025

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.

EPSS 0.14% · 3.7th percentile

Fixed versions

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

PackageEcosystemFixed in
LinuxLinux9bfeeeff2c92b9dd261198b601b45bde4c529841, 6.8, 031e04bdc834cda3b054ef6b698503b2b97e8186

Risk scores

EPSS Score
0.14%
3.7th percentile

Affected products

VendorProductVersions
LinuxLinux4434a56ec20925333d6cf4d4093641d063abd35b, 4434a56ec20925333d6cf4d4093641d063abd35b
LinuxLinux6.8, 0, 6.12.5
LinuxLinux6.12.5, 0, 6.13
linuxlinux_kernel6.8, 6.8

Timeline

  • Jan 11, 2025 CVE Published
  • Jan 12, 2025 EPSS Score (30 in total, the first dated here)
  • May 12, 2025 Coalition ESS Score (7 in total, the first dated here)
  • Jan 3, 2026 Security Advisory (139 in total, the first dated here)
  • Apr 29, 2026 Distribution Patch (123 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-48876
vulnetix vdb fixes CVE-2024-48876

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-2024-48876/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 ›