CVE-2021-47089
Linux Kernel vulnerability analysis and mitigation

Overview

In the Linux kernel, a memory leak vulnerability was discovered in the KFENCE (Kernel Electric-Fence) infrastructure when accessing KFENCE objects. The vulnerability was identified by Hulk Robot and assigned CVE-2021-47089. The issue occurs when using the 'cat' command to read KFENCE objects, where memory allocated during the operation is not properly released due to an unimplemented release function in the file operations (Kernel Git).

Technical details

The vulnerability stems from missing implementation of the release function corresponding to file_operations in KFENCE. When reading KFENCE objects through /sys/kernel/debug/kfence/objects, memory is allocated during seq_open and seq_read_iter operations but not properly freed. The issue can be reproduced by executing 'cat /sys/kernel/debug/kfence/objects' followed by memory leak detection commands. The memory leak occurs in the sequence of operations from do_syscall_64 through full_proxy_open and seq_open, where memory is allocated but not released in the corresponding cleanup path (Kernel Git).

Impact

The vulnerability results in memory leaks in the kernel space when accessing KFENCE objects. This can lead to gradual system memory depletion if the affected operations are performed repeatedly (Kernel Git).

Exploitability

The vulnerability can be triggered by any user with access to the KFENCE debug interface through a simple command line operation. The issue is reproducible using the following commands: 'cat /sys/kernel/debug/kfence/objects', 'echo scan > /sys/kernel/debug/kmemleak', and 'cat /sys/kernel/debug/kmemleak' (Kernel Git).

Mitigation and workarounds

The vulnerability has been fixed by implementing the seq_release function in the file_operations structure for KFENCE objects. The fix involves adding a single line of code to implement the missing release function. Users should update to a patched version of the Linux kernel that includes this fix (Kernel Git).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-80904MEDIUM5.9
  • Linux Kernel logoLinux Kernel
  • linux-hwe-7.0
NoYesSep 04, 2026
CVE-2026-80905MEDIUM5.5
  • Linux Kernel logoLinux Kernel
  • linux-nvidia-7.0
NoYesSep 04, 2026
CVE-2026-80913MEDIUM4.4
  • Linux Kernel logoLinux Kernel
  • linux-intel-iotg-5.15
NoYesSep 04, 2026
CVE-2026-80912MEDIUM4.4
  • Linux Kernel logoLinux Kernel
  • linux-gcp-fips
NoYesSep 04, 2026
CVE-2026-80906NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-7.0
NoYesSep 04, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management