GSD-2021-1002304 bpf: Forbid bpf_ktime_get_coarse_ns and bpf_timer_* in tracing progs
Local attackers with high privileges can bypass BPF tracing restrictions to execute forbidden timer and time functions, potentially leading to privilege escalation.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is GSD-2021-1002304?
GSD-2021-1002304 is a vulnerability in Kernel, published on 29 Nov 2021. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
bpf: Forbid bpf_ktime_get_coarse_ns and bpf_timer_* in tracing progs
This is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven. This ID is fixed in Linux Kernel version v5.15.5 by commit 439b99314b635b40f2e0622eabe62d7055bb409b, it was introduced in version v5.11 by commit d055126180564a57fe533728a4e93d0cb53d49b3. For more details please see the references link.
Which versions are affected by GSD-2021-1002304?
1 open source package ship an affected version, including Kernel.
| Package | Affected | Fixed in |
|---|---|---|
Kernel Linux | All versions | None |
How do I fix GSD-2021-1002304?
No fix has been published for GSD-2021-1002304 yet. Limit exposure of the affected software until one is available.
Is GSD-2021-1002304 being exploited?
There is no known exploitation of GSD-2021-1002304 in the wild and no public exploit code.