Skip to main content
Network Thinking Solutions Logo

CVE-2024-49976

Linux kernel: tracing/timerlat: Drop interface_lock in stop_kthread()

All CVEs
CVE-2024-49976Published 10/21/2024

Linux kernel: tracing/timerlat: Drop interface_lock in stop_kthread()

Vendor advisory
CVSS5.5Medium

Overview

In the Linux kernel, the following vulnerability has been resolved: tracing/timerlat: Drop interface_lock in stop_kthread() stop_kthread() is the offline callback for "trace/osnoise:online", since commit 5bfbcd1ee57b ("tracing/timerlat: Add interface_lock around clearing of kthread in stop_kthread()"), the following ABBA deadlock scenario is introduced: T1 | T2 [BP] | T3 [AP] osnoise_hotplug_workfn() | work_for_cpu_fn() | cpuhp_thread_fun() | _cpu_down() | osnoise_cpu_die() mutex_lock(&interface_lock) | | stop_kthread() | cpus_write_lock() | mutex_lock(&interface_lock) cpus_read_lock() | cpuhp_kick_ap() | As the interface_lock here in just for protecting the "kthread" field of the osn_var, use xchg() instead to fix this issue. Also use for_each_online_cpu() back in stop_per_cpu_kthreads() as it can take cpu_read_lock() again.

Published
10/21/2024
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 6.6.51, < 6.6.55

Verify advisory

Source
linux kernel
linux
≥ 6.10.10, < 6.10.14

Verify advisory

Source
linux kernel
linux
≥ 6.11, < 6.11.3

Verify advisory

Source
linux kernel
linux
6.12

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
Linux
Linux
≥ b4fdabffae14cca2c80d99bd81f3f27239ac7f5e, < a4a05ceffe8fad68b45de38fe2311bda619e76e2

Verify advisory

Source
Linux
Linux
≥ 4679272d5252720746fd9c5465352cbc5665f230, < 09cb44cc3d3df7ade2cebc939d6257a2fa8afc7a

Verify advisory

Source
Linux
Linux
≥ 5bfbcd1ee57b607fd29e4645c7f350dd385dd9ad, < db8571a9a098086608c11a15856ff585789e67e8

Verify advisory

Source
Linux
Linux
≥ 5bfbcd1ee57b607fd29e4645c7f350dd385dd9ad, < b484a02c9cedf8703eff8f0756f94618004bd165

Verify advisory

Source
Linux
Linux
≥ 6.6.51, < 6.6.55

Verify advisory

Source
Linux
Linux
≥ 6.10.10, < 6.10.14

Verify advisory

Source
Linux
Linux
6.11

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.