Advisory Published
Updated

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

First published: Sat Jan 11 2025(Updated: )

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.

Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Affected SoftwareAffected VersionHow to fix
Linux Kernel
debian/linux
5.10.223-1
5.10.234-1
6.1.129-1
6.1.128-1
6.12.20-1
6.12.21-1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2024-48876?

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

  • What systems are affected by CVE-2024-48876?

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

  • 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.

  • 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.

  • 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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203