CVE-2024-49976: tracing/timerlat: Drop interface_lock in stop_kthread()

Published Oct 21, 2024
·
Updated

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

tracing/timerlat: Drop interfacelock in stopkthread()

stopkthread() is the offline callback for "trace/osnoise:online", since commit 5bfbcd1ee57b ("tracing/timerlat: Add interfacelock around clearing of kthread in stopkthread()"), the following ABBA deadlock scenario is introduced:

T1 | T2 [BP] | T3 [AP] osnoisehotplugworkfn() | workforcpufn() | cpuhpthreadfun() | cpudown() | osnoisecpudie() mutexlock(&interfacelock) | | stopkthread() | cpuswritelock() | mutexlock(&interfacelock) cpusreadlock() | cpuhpkickap() |

As the interfacelock here in just for protecting the "kthread" field of the osnvar, use xchg() instead to fix this issue. Also use foreachonlinecpu() back in stoppercpukthreads() as it can take cpureadlock() again.

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

5 affected componentsFixes available
Linux Linux kernel>=6.6.51<6.6.55
Linux Linux kernel>=6.10.10<6.10.14
Linux Linux kernel>=6.11<6.11.3
Linux Linux kernel=6.12-rc1
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.22-16.12.25-1

Event History

Oct 21, 2024
CVE Published
via MITRE·06:02 PM
Data Sourced
via MITRE·06:02 PM
Description
Feb 20, 2025
Data Sourced
via Launchpad·12:45 AM
Description
Apr 9, 2025
Data Sourced
via Ubuntu·12:52 AM
RemedyDescriptionSeverityAffected Software
Apr 17, 2025
Data Sourced
via Debian·12:53 AM
DescriptionAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-49976?

CVE-2024-49976 has been rated with medium severity due to its potential impact on system stability.

2

How do I fix CVE-2024-49976?

To fix CVE-2024-49976, upgrade your Linux kernel to versions later than 6.6.55, 6.10.14, or 6.11.3, or use the appropriate patches provided by the maintainers.

3

Which Linux kernel versions are affected by CVE-2024-49976?

CVE-2024-49976 affects Linux kernel versions 6.6.51 to 6.6.55, 6.10.10 to 6.10.14, and 6.11 to 6.11.3.

4

What is the impact of CVE-2024-49976?

The impact of CVE-2024-49976 could potentially involve instability issues during the execution of certain kthread operations.

5

Is CVE-2024-49976 related to kthread operations in the Linux kernel?

Yes, CVE-2024-49976 is specifically related to the handling of kthread operations in the Linux kernel's tracing component.

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