Menu

Star on GitHub · 3.2k

CVE-2021-46939

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: tracing: Restructure trace_clock_global() to never block It was reported that a fix to the ring buffer recursion detection woul…

Published Feb 27, 2024CWE-662EPSS 0.25%

Overview

CVE-2021-46939 is a medium-severity vulnerability. It was published on February 27, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

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

tracing: Restructure trace_clock_global() to never block

It was reported that a fix to the ring buffer recursion detection would

cause a hung machine when performing suspend / resume testing. The

following backtrace was extracted from debugging that case:

Call Trace:

trace_clock_global+0x91/0xa0

__rb_reserve_next+0x237/0x460

ring_buffer_lock_reserve+0x12a/0x3f0

trace_buffer_lock_reserve+0x10/0x50

__trace_graph_return+0x1f/0x80

trace_graph_return+0xb7/0xf0

? trace_clock_global+0x91/0xa0

ftrace_return_to_handler+0x8b/0xf0

? pv_hash+0xa0/0xa0

return_to_handler+0x15/0x30

? ftrace_graph_caller+0xa0/0xa0

? trace_clock_global+0x91/0xa0

? __rb_reserve_next+0x237/0x460

? ring_buffer_lock_reserve+0x12a/0x3f0

? trace_event_buffer_lock_reserve+0x3c/0x120

? trace_event_buffer_reserve+0x6b/0xc0

? trace_event_raw_event_device_pm_callback_start+0x125/0x2d0

? dpm_run_callback+0x3b/0xc0

? pm_ops_is_empty+0x50/0x50

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2021-46939?

CVE-2021-46939 is a medium-severity vulnerability. It was published on February 27, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2021-46939?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2021-46939?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2021-46939?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2021-46939 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2021

View all