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

GSD-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 Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Kernel is a critical component of the Linux operating system that provides core functionalities and interfaces between hardware and software. It manages system resources, facilitates communication between processes, and ensures security and stability. The Kernel is responsible for executing system calls, managing memory, and handling device drivers. This vulnerability specifically affects the Kernel's tracing programs, which are used for monitoring and debugging purposes.

Vulnerability Detail

The vulnerability identified in the Kernel's tracing programs involves the usage of two specific functions: bpf_ktime_get_coarse_ns and bpf_timer_*. These functions have been found to pose potential security risks and are therefore forbidden in tracing programs. The exact impact and plausibility of an attack using these functions have not been proven yet. However, it is crucial to address this vulnerability to prevent potential exploitation and ensure the overall security of the system.

How To Fix

No fixed version is published for this vulnerability.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.15.5 or later. The fix for this vulnerability was implemented in commit 439b99314b635b40f2e0622eabe62d7055bb409b. Updating to the latest version will ensure that the forbidden functions are no longer accessible in tracing programs, mitigating the associated security risks.

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. It is advised to follow the recommended fix and update the Kernel to the latest version.

Conclusion

The vulnerability in the Kernel's tracing programs, which forbids the usage of bpf_ktime_get_coarse_ns and bpf_timer_* functions, poses potential security risks. It is crucial to update the Kernel to the latest version (v5.15.5 or later) to mitigate these risks. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The Kernel is a critical component of the Linux operating system that provides core functionalities and interfaces between hardware and software.

Tracing programs in the Kernel are used for monitoring and debugging purposes, allowing users to gather information about system behavior and performance.

The functions bpf_ktime_get_coarse_ns and bpf_timer_* are forbidden in tracing programs due to the identified vulnerability.

The exact impact of this vulnerability is not yet proven. However, it is important to address it to prevent potential security risks and ensure the overall security of the system.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.15.5 or later, as the fix for this vulnerability was implemented in commit 439b99314b635b40f2e0622eabe62d7055bb409b.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.15.5 or later. The fix for this vulnerability was implemented in commit 439b99314b635b40f2e0622eabe62d7055bb409b. Updating to the latest version will ensure that the forbidden functions are no longer accessible in tracing programs, mitigating the associated security risks.

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

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.