CVE-2021-47081
Linux Kernel vulnerability analysis and mitigation

Overview

A use-after-free vulnerability (CVE-2021-47081) was discovered in the Linux kernel, affecting the gaudi component. The vulnerability occurs when a reference attempt to cb->id is made after it may have been previously freed during a call to the hl_cb_put() function in the gaudi_memset_device_memory function (Red Hat CVE).

Technical details

The vulnerability exists in the gaudi_memset_device_memory function where cb is obtained via hl_cb_kernel_create() with 2 refcount. If hl_cs_allocate_job() fails, execution runs into the release_cb branch. One reference of cb is dropped by hl_cb_put(cb) and could be freed if another thread also drops one reference. The cb is then used via cb->id later, which creates a potential use-after-free condition (Kernel Commit).

Impact

The vulnerability has been assessed with a CVSS v3 base score of 4.4, indicating moderate severity. The vulnerability affects the availability of the system but does not impact confidentiality or integrity (Red Hat CVE).

Exploitability

The vulnerability requires local access and high privileges to exploit. The attack complexity is rated as low, but user interaction is not required for exploitation (Red Hat CVE).

Mitigation and workarounds

The vulnerability has been fixed by adding a variable 'id' to store the value of cb->id before the hl_cb_put(cb) is called, thus avoiding the potential use-after-free condition. The fix has been implemented in the Linux kernel (Kernel Commit).

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-aws-6.14
NoYesSep 04, 2026
CVE-2026-80905MEDIUM5.5
  • Linux Kernel logoLinux Kernel
  • linux-gkeop
NoYesSep 04, 2026
CVE-2026-80913MEDIUM4.4
  • Linux Kernel logoLinux Kernel
  • linux-ibm-5.4
NoYesSep 04, 2026
CVE-2026-80912MEDIUM4.4
  • Linux Kernel logoLinux Kernel
  • linux-oem-6.14
NoYesSep 04, 2026
CVE-2026-80906NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-nvidia-6.14
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