Skip to content
Noroxi
NVD / CVE Program· CNA Linux

CVE-2021-46939: tracing: Restructure trace_clock_global() to never block

MediumCVSS 5.5 · v3.1—No exploit Fix available

Noroxi assessment

Priority: Monitor (action score 22/100)

  • The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
  • Probability of exploitation in the next 30 days: 0.24% (FIRST EPSS).
  • Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
  • Fixed version: Linux Linux 1fca00920327be96f3318224f502e4d5460f9545, 2a1bd74b8186d7938bf004f5603f25b84785f63e, 6e2418576228eeb12e7ba82edb8f9500623942ff.
  • Mentioned 1 time in Turkish national cyber security advisories (siberguvenlik.gov.tr).

Low priority for now. Upgrade to Linux Linux 1fca00920327be96f3318224f502e4d5460f9545, 2a1bd74b8186d7938bf004f5603f25b84785f63e, 6e2418576228eeb12e7ba82edb8f9500623942ff or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

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 ? platform_get_irq_byname_optional+0x90/0x90 ? trace_device_pm_callback_start+0x82/0xd0 ? dpm_run_callback+0x49/0xc0 With the following RIP: RIP: 0010:native_queued_spin_lock_slowpath+0x69/0x200 Since the fix to the recursion detection would allow a single recursion to happen while tracing, this lead to the trace_clock_global() taking a spin lock and then trying to take it again: ring_buffer_lock_reserve() { trace_clock_global() { arch_spin_lock() { queued_spin_lock_slowpath() { /* lock taken */ (something else gets traced by function graph tracer) ring_buffer_lock_reserve() { trace_clock_global() { arch_spin_lock() { queued_spin_lock_slowpath() { /* DEAD LOCK! */ Tracing should *never* block, as it can lead to strange lockups like the above. Restructure the trace_clock_global() code to instead of simply taking a lock to update the recorded "prev_time" simply use it, as two events happening on two different CPUs that calls this at the same time, really doesn't matter which one goes first. Use a trylock to grab the lock for updating the prev_time, and if it fails, simply try again the next time. If it failed to be taken, that means something else is already updating it. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=212761

Published
Feb 27, 2024
Updated
Jun 17, 2026
EPSS
0.2% · 16th percentile

Report tools

JSON

Action score

22

Monitor

Low priority for now.

CVSS
22 / 40 · 5.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.2%

CISA SSVC decision

Exploitation
none
Automatable
no
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • No public exploit code on record
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2021-46939

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits every 10 minutes on paid plans, on the hour on the free plan.

Your free account also gets you

  • CVE alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools, at most 30 a day (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools
Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
linuxlinux kernel

Versions reported by the vendor

Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.

  • Linux Linux

    • 2.6.30affected
    • 14131f2f98ac350ee9e73faed916d2238a8b6a0d and later · before 91ca6f6a91f679c8645d7f3307e03ce86ad518c4affected · git
    • 14131f2f98ac350ee9e73faed916d2238a8b6a0d and later · before 859b47a43f5a0e5b9a92b621dc6ceaad39fb5c8baffected · git
    • 14131f2f98ac350ee9e73faed916d2238a8b6a0d and later · before 1fca00920327be96f3318224f502e4d5460f9545affected · git
    • 14131f2f98ac350ee9e73faed916d2238a8b6a0d and later · before d43d56dbf452ccecc1ec735cd4b6840118005d7caffected · git
    • 14131f2f98ac350ee9e73faed916d2238a8b6a0d and later · before c64da3294a7d59a4bf6874c664c13be892f15f44affected · git
    • 14131f2f98ac350ee9e73faed916d2238a8b6a0d and later · before a33614d52e97fc8077eb0b292189ca7d964cc534affected · git
    • 14131f2f98ac350ee9e73faed916d2238a8b6a0d and later · before 6e2418576228eeb12e7ba82edb8f9500623942ffaffected · git
    • 14131f2f98ac350ee9e73faed916d2238a8b6a0d and later · before 2a1bd74b8186d7938bf004f5603f25b84785f63eaffected · git
    • 14131f2f98ac350ee9e73faed916d2238a8b6a0d and later · before aafe104aa9096827a429bc1358f8260ee565b7ccaffected · git

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
AlmaLinux:8bpftoolbefore 4.18.0-553.16.1.el8_104.18.0-553.16.1.el8_10
AlmaLinux:8kernelbefore 4.18.0-553.16.1.el8_104.18.0-553.16.1.el8_10
AlmaLinux:8kernel-abi-stablelistsbefore 4.18.0-553.16.1.el8_104.18.0-553.16.1.el8_10
AlmaLinux:8kernel-corebefore 4.18.0-553.16.1.el8_104.18.0-553.16.1.el8_10
AlmaLinux:8kernel-cross-headersbefore 4.18.0-553.16.1.el8_104.18.0-553.16.1.el8_10
AlmaLinux:8kernel-debugbefore 4.18.0-553.16.1.el8_104.18.0-553.16.1.el8_10
AlmaLinux:8kernel-debug-corebefore 4.18.0-553.16.1.el8_104.18.0-553.16.1.el8_10
AlmaLinux:8kernel-debug-develbefore 4.18.0-553.16.1.el8_104.18.0-553.16.1.el8_10
AlmaLinux:8kernel-debug-modulesbefore 4.18.0-553.16.1.el8_104.18.0-553.16.1.el8_10
AlmaLinux:8kernel-debug-modules-extrabefore 4.18.0-553.16.1.el8_104.18.0-553.16.1.el8_10
AlmaLinux:8kernel-develbefore 4.18.0-553.16.1.el8_104.18.0-553.16.1.el8_10
AlmaLinux:8kernel-docbefore 4.18.0-553.16.1.el8_104.18.0-553.16.1.el8_10
AlmaLinux:8kernel-headersbefore 4.18.0-553.16.1.el8_104.18.0-553.16.1.el8_10
AlmaLinux:8kernel-modulesbefore 4.18.0-553.16.1.el8_104.18.0-553.16.1.el8_10
AlmaLinux:8kernel-modules-extrabefore 4.18.0-553.16.1.el8_104.18.0-553.16.1.el8_10
AlmaLinux:8kernel-rtbefore 4.18.0-553.16.1.rt7.357.el8_104.18.0-553.16.1.rt7.357.el8_10
AlmaLinux:8kernel-rt-corebefore 4.18.0-553.16.1.rt7.357.el8_104.18.0-553.16.1.rt7.357.el8_10
AlmaLinux:8kernel-rt-debugbefore 4.18.0-553.16.1.rt7.357.el8_104.18.0-553.16.1.rt7.357.el8_10
AlmaLinux:8kernel-rt-debug-corebefore 4.18.0-553.16.1.rt7.357.el8_104.18.0-553.16.1.rt7.357.el8_10
AlmaLinux:8kernel-rt-debug-develbefore 4.18.0-553.16.1.rt7.357.el8_104.18.0-553.16.1.rt7.357.el8_10
AlmaLinux:8kernel-rt-debug-kvmbefore 4.18.0-553.16.1.rt7.357.el8_104.18.0-553.16.1.rt7.357.el8_10
AlmaLinux:8kernel-rt-debug-modulesbefore 4.18.0-553.16.1.rt7.357.el8_104.18.0-553.16.1.rt7.357.el8_10
AlmaLinux:8kernel-rt-debug-modules-extrabefore 4.18.0-553.16.1.rt7.357.el8_104.18.0-553.16.1.rt7.357.el8_10
AlmaLinux:8kernel-rt-develbefore 4.18.0-553.16.1.rt7.357.el8_104.18.0-553.16.1.rt7.357.el8_10

+89

Other highest-scoring records for the same primary product.

  • CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV
    90Now
  • CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe…KEV
    89Now
  • CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV
    85Now

Published before and after this one in the same product

  • ← EarlierCVE-2020-36777Feb 27, 2024 · media: dvbdev: Fix memory leak in dvb_media_device_free()
    22Monitor
  • ← EarlierCVE-2021-46938Feb 27, 2024 · dm rq: fix double free of blk_mq_tag_set in dev remove after table load fails
    31Monitor
  • Later →CVE-2021-46940Feb 27, 2024 · tools/power turbostat: Fix offset overflow issue in index converting
    22Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
Linux Linux1fca00920327be96f3318224f502e4d5460f9545Vendor (CNA)
Linux Linux2a1bd74b8186d7938bf004f5603f25b84785f63eVendor (CNA)
Linux Linux6e2418576228eeb12e7ba82edb8f9500623942ffVendor (CNA)
Linux Linux859b47a43f5a0e5b9a92b621dc6ceaad39fb5c8bVendor (CNA)
Linux Linux91ca6f6a91f679c8645d7f3307e03ce86ad518c4Vendor (CNA)
Linux Linuxa33614d52e97fc8077eb0b292189ca7d964cc534Vendor (CNA)
Linux Linuxaafe104aa9096827a429bc1358f8260ee565b7ccVendor (CNA)
Linux Linuxc64da3294a7d59a4bf6874c664c13be892f15f44Vendor (CNA)
Linux Linuxd43d56dbf452ccecc1ec735cd4b6840118005d7cVendor (CNA)
almalinux:bpftool4.18.0-553.16.1.el8_10 · AlmaLinux:8Package registry (OSV)
almalinux:kernel4.18.0-553.16.1.el8_10 · AlmaLinux:8Package registry (OSV)
almalinux:kernel-abi-stablelists4.18.0-553.16.1.el8_10 · AlmaLinux:8Package registry (OSV)
almalinux:kernel-core4.18.0-553.16.1.el8_10 · AlmaLinux:8Package registry (OSV)
almalinux:kernel-cross-headers4.18.0-553.16.1.el8_10 · AlmaLinux:8Package registry (OSV)
almalinux:kernel-debug4.18.0-553.16.1.el8_10 · AlmaLinux:8Package registry (OSV)
almalinux:kernel-debug-core4.18.0-553.16.1.el8_10 · AlmaLinux:8Package registry (OSV)
almalinux:kernel-debug-devel4.18.0-553.16.1.el8_10 · AlmaLinux:8Package registry (OSV)
almalinux:kernel-debug-modules4.18.0-553.16.1.el8_10 · AlmaLinux:8Package registry (OSV)
almalinux:kernel-debug-modules-extra4.18.0-553.16.1.el8_10 · AlmaLinux:8Package registry (OSV)
almalinux:kernel-devel4.18.0-553.16.1.el8_10 · AlmaLinux:8Package registry (OSV)
almalinux:kernel-doc4.18.0-553.16.1.el8_10 · AlmaLinux:8Package registry (OSV)
debian:linux5.10.38-1 · Debian:12Package registry (OSV)
red hat:bpftool0:4.18.0-553.16.1.el8_10 · Red Hat:enterprise_linux:8::baseosPackage registry (OSV)
red hat:bpftool-debuginfo0:4.18.0-553.16.1.el8_10 · Red Hat:enterprise_linux:8::baseosPackage registry (OSV)
red hat:kernel0:4.18.0-553.16.1.el8_10 · Red Hat:enterprise_linux:8::baseosPackage registry (OSV)
red hat:kernel-abi-stablelists0:4.18.0-553.16.1.el8_10 · Red Hat:enterprise_linux:8::baseosPackage registry (OSV)
red hat:kernel-core0:4.18.0-553.16.1.el8_10 · Red Hat:enterprise_linux:8::baseosPackage registry (OSV)
red hat:kernel-debug0:4.18.0-553.16.1.el8_10 · Red Hat:enterprise_linux:8::baseosPackage registry (OSV)
red hat:kernel-debug-core0:4.18.0-553.16.1.el8_10 · Red Hat:enterprise_linux:8::baseosPackage registry (OSV)
red hat:kernel-debug-debuginfo0:4.18.0-553.16.1.el8_10 · Red Hat:enterprise_linux:8::baseosPackage registry (OSV)

+18

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

National notice (Türkiye Cybersecurity Directorate / USOM)

Official security notices citing this record; remediation advice is on the agency's page.

All national notices →

Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • A low-privileged account is enough.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
none
Integrity
none
Availability
high · the service can be disrupted
Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
None
Integrity impact
None
Availability impact
High

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

nvd-primary

References

All records