CVE-2024-48876: stackdepot: fix stack_depot_save_flags() in NMI context

Published Jan 11, 2025
·
Updated

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

stackdepot: fix stackdepotsaveflags() in NMI context

Per documentation, stackdepotsaveflags() was meant to be usable from NMI context if STACKDEPOTFLAGCANALLOC is unset. However, it still would try to take the poollock 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 poollock 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.

Other sources

This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.

Launchpad

Affected Software

10 affected componentsFixes available
Linux Linux kernel
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-1
Linux Linux kernel>=6.8.1<6.12.5
Linux Linux kernel=6.8
Linux Linux kernel=6.8-rc3
Linux Linux kernel=6.8-rc4
Linux Linux kernel=6.8-rc5
Linux Linux kernel=6.8-rc6
Linux Linux kernel=6.8-rc7
Linux Linux kernel=6.13-rc1

Event History

Jan 11, 2025
CVE Published
via MITRE·12:25 PM
Data Sourced
via MITRE·12:25 PM
Description
Data Sourced
via NVD·01:15 PM
Description
Data Sourced
via NVD·01:15 PM
RemedySeverityWeaknessAffected Software
Mar 27, 2025
Data Sourced
via Launchpad·06:44 PM
Description
May 2, 2025
Data Sourced
via Ubuntu·06:51 PM
RemedyDescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-48876?

CVE-2024-48876 is considered a moderate severity vulnerability in the Linux kernel.

2

What systems are affected by CVE-2024-48876?

CVE-2024-48876 affects the Linux kernel, particularly in cases involving NMI context.

3

What is the impact of CVE-2024-48876?

The impact of CVE-2024-48876 relates to improper handling of certain flags in NMI context which could affect system stability.

4

How do I fix CVE-2024-48876?

To fix CVE-2024-48876, update your Linux kernel to the latest version that includes the patch for this vulnerability.

5

Is there a workaround for CVE-2024-48876?

There are no known workarounds for CVE-2024-48876; updating the kernel is required to mitigate the risk.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203