Vulnerability in Kernel: Forbid bpf_ktime_get_coarse_ns and bpf_timer_* in tracing progs

Kernel Updated 02 Oct 2025

Summary

29/11/2021
N/A
No i
Unrated
Not published

UVI-2021-1002304: bpf: Forbid bpf_ktime_get_coarse_ns and bpf_timer_* in tracing progs. Affects Kernel versions >= d055126180564a57fe533728a4e93d0cb53d49b3, < 439b99314b635b40f2e0622eabe62d7055bb409b. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Kernel is a fundamental component of the Linux operating system, responsible for managing system resources and providing an interface for applications to interact with the hardware. It is a critical part of the system, handling tasks such as process management, memory management, and device drivers. The vulnerability in question affects the Kernel's tracing progs, specifically the functions bpf_ktime_get_coarse_ns and bpf_timer_*. These functions are used for time-related operations in tracing programs implemented using the Berkeley Packet Filter (BPF) technology.

Vulnerability Detail

The vulnerability arises from the use of bpf_ktime_get_coarse_ns and bpf_timer_* functions in tracing progs. These functions can be misused by an attacker to manipulate time-related operations, potentially leading to various security issues. The impact and attack plausibility of this vulnerability have not been proven yet, but it is essential to address it to prevent any potential risks. The vulnerability was introduced in Kernel version v5.11 and has been fixed in version v5.15.5.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability. The recommended approach is to update the Kernel to the fixed version.

Conclusion

The vulnerability in the Kernel's tracing progs, specifically the functions bpf_ktime_get_coarse_ns and bpf_timer_*, has the potential to be exploited for malicious purposes. It is crucial to update the Kernel to version v5.15.5 or later to mitigate this vulnerability and ensure the security of the system. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The Kernel is a critical component of the Linux operating system, responsible for managing system resources and providing an interface for applications to interact with the hardware.

Tracing progs in the Kernel are programs implemented using the Berkeley Packet Filter (BPF) technology. They are used for various debugging and performance analysis purposes.

The functions bpf_ktime_get_coarse_ns and bpf_timer_* in tracing progs are affected by this vulnerability.

The impact of this vulnerability is not yet proven, but it has the potential to be exploited for malicious purposes, leading to security issues.

To fix this vulnerability, it is recommended to update the Kernel to version v5.15.5 or later.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback