Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-46939

published medium CVSS 3.1 · 5.5

tracing: Restructure trace_clock_global() to never block

Published
27 Feb 2024, 18:40:27 UTC
Updated
11 May 2026, 13:44:49 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux14131f2f98ac350ee9e73faed916d2238a8b6a0d to < 91ca6f6a91f679c8645d7f3307e03ce86ad518c4 · 14131f2f98ac350ee9e73faed916d2238a8b6a0d to < 859b47a43f5a0e5b9a92b621dc6ceaad39fb5c8b · 14131f2f98ac350ee9e73faed916d2238a8b6a0d to < 1fca00920327be96f3318224f502e4d5460f9545 · 14131f2f98ac350ee9e73faed916d2238a8b6a0d to < d43d56dbf452ccecc1ec735cd4b6840118005d7c · 14131f2f98ac350ee9e73faed916d2238a8b6a0d to < c64da3294a7d59a4bf6874c664c13be892f15f44 · 14131f2f98ac350ee9e73faed916d2238a8b6a0d to < a33614d52e97fc8077eb0b292189ca7d964cc534 · 14131f2f98ac350ee9e73faed916d2238a8b6a0d to < 6e2418576228eeb12e7ba82edb8f9500623942ff · 14131f2f98ac350ee9e73faed916d2238a8b6a0d to < 2a1bd74b8186d7938bf004f5603f25b84785f63e · 14131f2f98ac350ee9e73faed916d2238a8b6a0d to < aafe104aa9096827a429bc1358f8260ee565b7cc · Other versions: unaffected Affected Not stated Linux
Linux — Linux2.6.30 (affected) · 0 to < 2.6.30 (unaffected · semver) · 4.4.269 through 4.4.* (unaffected · semver) · 4.9.269 through 4.9.* (unaffected · semver) · 4.14.233 through 4.14.* (unaffected · semver) · 4.19.191 through 4.19.* (unaffected · semver) · 5.4.118 through 5.4.* (unaffected · semver) · 5.10.36 through 5.10.* (unaffected · semver) · 5.11.20 through 5.11.* (unaffected · semver) · 5.12.3 through 5.12.* (unaffected · semver) · 5.13 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2-2021-1685 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2022-002 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.4-2022-004 Fixed Not stated Amazon Linux assessment
AlmaLinux 8 bpftool Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
Oracle Linux 6 kernel-uekx86_64 Advisory build 0:4.1.12-124.89.4.el6uek ELSA-2024-12606
Show 99 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Red Hat Enterprise Linux RHEL-8 bpftoolaarch64 Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
AlmaLinux 8 kernel Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-abi-stablelists Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-core Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-cross-headers Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-debug Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-debug-core Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-debug-devel Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-debug-modules Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-debug-modules-extra Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-devel Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-doc Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-headers Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-modules Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-modules-extra Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-rt Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-core Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-debug Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-debug-core Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-debug-devel Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-debug-kvm Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-debug-modules Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-debug-modules-extra Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-devel Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-kvm Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-modules Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-modules-extra Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-tools Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-tools-libs Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-tools-libs-devel Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-zfcpdump Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-zfcpdump-core Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-zfcpdump-devel Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-zfcpdump-modules Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-zfcpdump-modules-extra Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 perf Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 python3-perf Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
Oracle Linux 6 kernel-uek-debugx86_64 Advisory build 0:4.1.12-124.89.4.el6uek ELSA-2024-12606
Oracle Linux 6 kernel-uek-debug-develx86_64 Advisory build 0:4.1.12-124.89.4.el6uek ELSA-2024-12606
Oracle Linux 6 kernel-uek-develx86_64 Advisory build 0:4.1.12-124.89.4.el6uek ELSA-2024-12606
Oracle Linux 6 kernel-uek-docx86_64 Advisory build 0:4.1.12-124.89.4.el6uek ELSA-2024-12606
Oracle Linux 6 kernel-uek-firmwarex86_64 Advisory build 0:4.1.12-124.89.4.el6uek ELSA-2024-12606
Oracle Linux 7 kernel-uekx86_64 Advisory build 0:4.1.12-124.89.4.el7uek ELSA-2024-12606
Oracle Linux 7 kernel-uek-debugx86_64 Advisory build 0:4.1.12-124.89.4.el7uek ELSA-2024-12606
Oracle Linux 7 kernel-uek-debug-develx86_64 Advisory build 0:4.1.12-124.89.4.el7uek ELSA-2024-12606
Oracle Linux 7 kernel-uek-develx86_64 Advisory build 0:4.1.12-124.89.4.el7uek ELSA-2024-12606
Oracle Linux 7 kernel-uek-docx86_64 Advisory build 0:4.1.12-124.89.4.el7uek ELSA-2024-12606
Oracle Linux 7 kernel-uek-firmwarex86_64 Advisory build 0:4.1.12-124.89.4.el7uek ELSA-2024-12606
Oracle Linux 8 bpftoolaarch64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 bpftoolx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernelx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-abi-stablelistsx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-corex86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-cross-headersaarch64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-cross-headersx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-debugx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-debug-corex86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-debug-develx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-debug-modulesx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-debug-modules-extrax86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-develx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-docx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-headersaarch64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-headersx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-modulesx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-modules-extrax86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-toolsaarch64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-toolsx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-tools-libsaarch64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-tools-libsx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-tools-libs-develaarch64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-tools-libs-develx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 perfaarch64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 perfx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 python3-perfaarch64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 python3-perfx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Red Hat Enterprise Linux RHEL-8 bpftoolppc64le Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
Red Hat Enterprise Linux RHEL-8 bpftools390x Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
Red Hat Enterprise Linux RHEL-8 bpftoolx86_64 Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoaarch64 Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoppc64le Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfos390x Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfox86_64 Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
Red Hat Enterprise Linux RHEL-8 kernelaarch64 Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
Red Hat Enterprise Linux RHEL-8 kernelppc64le Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
Red Hat Enterprise Linux RHEL-8 kernels390x Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
Red Hat Enterprise Linux RHEL-8 kernelsrc Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
Red Hat Enterprise Linux RHEL-8 kernelx86_64 Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
Red Hat Enterprise Linux RHEL-8 kernel-abi-stablelistsnoarch Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
Red Hat Enterprise Linux RHEL-8 kernel-coreaarch64 Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
Red Hat Enterprise Linux RHEL-8 kernel-coreppc64le Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
Red Hat Enterprise Linux RHEL-8 kernel-cores390x Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
Red Hat Enterprise Linux RHEL-8 kernel-corex86_64 Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
Red Hat Enterprise Linux RHEL-8 kernel-debugaarch64 Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
Red Hat Enterprise Linux RHEL-8 kernel-debugppc64le Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
Red Hat Enterprise Linux RHEL-8 kernel-debugs390x Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
Red Hat Enterprise Linux RHEL-8 kernel-debugx86_64 Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
Red Hat Enterprise Linux RHEL-8 kernel-debug-coreaarch64 Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101

Package entries are limited to the first 100 builds and 100 linked advisories.

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 ? 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

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

23

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
5.5 / 10
Severity
medium
Provider
CISA-ADP · adp
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 14131f2f98ac350ee9e73faed916d2238a8b6a0d to < 91ca6f6a91f679c8645d7f3307e03ce86ad518c4 (affected · git)14131f2f98ac350ee9e73faed916d2238a8b6a0d to < 859b47a43f5a0e5b9a92b621dc6ceaad39fb5c8b (affected · git)14131f2f98ac350ee9e73faed916d2238a8b6a0d to < 1fca00920327be96f3318224f502e4d5460f9545 (affected · git)14131f2f98ac350ee9e73faed916d2238a8b6a0d to < d43d56dbf452ccecc1ec735cd4b6840118005d7c (affected · git)14131f2f98ac350ee9e73faed916d2238a8b6a0d to < c64da3294a7d59a4bf6874c664c13be892f15f44 (affected · git)14131f2f98ac350ee9e73faed916d2238a8b6a0d to < a33614d52e97fc8077eb0b292189ca7d964cc534 (affected · git)14131f2f98ac350ee9e73faed916d2238a8b6a0d to < 6e2418576228eeb12e7ba82edb8f9500623942ff (affected · git)14131f2f98ac350ee9e73faed916d2238a8b6a0d to < 2a1bd74b8186d7938bf004f5603f25b84785f63e (affected · git)14131f2f98ac350ee9e73faed916d2238a8b6a0d to < aafe104aa9096827a429bc1358f8260ee565b7cc (affected · git)Default: unaffected Linux · cna
Linux Linux 2.6.30 (affected)0 to < 2.6.30 (unaffected · semver)4.4.269 through 4.4.* (unaffected · semver)4.9.269 through 4.9.* (unaffected · semver)4.14.233 through 4.14.* (unaffected · semver)4.19.191 through 4.19.* (unaffected · semver)5.4.118 through 5.4.* (unaffected · semver)5.10.36 through 5.10.* (unaffected · semver)5.11.20 through 5.11.* (unaffected · semver)5.12.3 through 5.12.* (unaffected · semver)5.13 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

1
  • CWE-400 CWE-400 Uncontrolled Resource Consumption (CISA-ADP · adp)

References

9

Provider assertions

3

Linux · cna

tracing: Restructure trace_clock_global() to never block

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
f93fd5b8232212d923adf2d6609493a5366a489264ece8eda31ae4ca0b46c70e
Ingested
23 Sep 2026, 07:57:04 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected