PT-2024-33818 · Linux+3 · Linux Kernel+3

Wei Li

·

Published

2024-09-24

·

Updated

2025-04-01

·

CVE-2024-49976

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions: Linux kernel versions prior to 6.6.58
Description: A vulnerability in the Linux kernel has been resolved, specifically in the tracing/timerlat component. The issue involves a deadlock scenario introduced by the use of interface lock in the stop kthread() function, which is the offline callback for "trace/osnoise:online". This deadlock can occur due to the interaction between multiple threads (T1, T2, and T3) and the locking mechanisms used. The vulnerability is fixed by using xchg() instead of interface lock to protect the "kthread" field of the osn var, and by using for each online cpu() in stop per cpu kthreads() to avoid taking cpu read lock() again.
Recommendations: For Linux kernel versions prior to 6.6.58, update to version 6.6.58 or later to resolve the issue. As a temporary workaround, consider disabling the tracing/timerlat component until a patch is available. Restrict access to the vulnerable stop kthread() function to minimize the risk of exploitation. Avoid using the interface lock in the stop kthread() function until the issue is resolved.

Exploit

Fix

Improper Locking

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2025-16199
CVE-2024-49976
MGASA-2024-0344
MGASA-2024-0345
OESA-2024-2325
OPENSUSE-SU-2024:14500-1
OPENSUSE-SU-2024_4314-1
OPENSUSE-SU-2024_4316-1
OPENSUSE-SU-2025:14705-1
SUSE-SU-2024:4314-1
SUSE-SU-2024:4316-1
SUSE-SU-2024:4318-1
SUSE-SU-2024:4387-1
SUSE-SU-2025:20163-1
SUSE-SU-2025:20164-1
SUSE-SU-2025:20246-1
SUSE-SU-2025:20247-1
USN-7276-1
USN-7277-1
USN-7301-1
USN-7303-1
USN-7303-2
USN-7303-3
USN-7304-1
USN-7310-1
USN-7311-1
USN-7384-1
USN-7384-2
USN-7385-1
USN-7386-1
USN-7403-1

Affected Products

Linuxmint
Linux Kernel
Suse
Ubuntu