Executive Summary

Informations
Name CVE-2021-47081 First vendor Publication 2024-03-01
Vendor Cve Last vendor Modification 2024-12-09

Security-Database Scoring CVSS v3

Cvss vector : CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Overall CVSS Score 7.8
Base Score 7.8 Environmental Score 7.8
impact SubScore 5.9 Temporal Score 7.8
Exploitabality Sub Score 1.8
 
Attack Vector Local Attack Complexity Low
Privileges Required Low User Interaction None
Scope Unchanged Confidentiality Impact High
Integrity Impact High Availability Impact High
Calculate full CVSS 3.0 Vectors scores

Security-Database Scoring CVSS v2

Cvss vector :
Cvss Base Score N/A Attack Range N/A
Cvss Impact Score N/A Attack Complexity N/A
Cvss Expoit Score N/A Authentication N/A
Calculate full CVSS 2.0 Vectors scores

Detail

In the Linux kernel, the following vulnerability has been resolved:

habanalabs/gaudi: Fix a potential use after free in gaudi_memset_device_memory

Our code analyzer reported a uaf.

In gaudi_memset_device_memory, cb is get via hl_cb_kernel_create() with 2 refcount. If hl_cs_allocate_job() failed, the execution runs into release_cb branch. One ref of cb is dropped by hl_cb_put(cb) and could be freed if other thread also drops one ref. Then cb is used by cb->id later, which is a potential uaf.

My patch add a variable 'id' to accept the value of cb->id before the hl_cb_put(cb) is called, to avoid the potential uaf.

Original Source

Url : http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-47081

CWE : Common Weakness Enumeration

% Id Name
100 % CWE-416 Use After Free

CPE : Common Platform Enumeration

TypeDescriptionCount
Application 1
Os 3462

Sources (Detail)

https://git.kernel.org/stable/c/115726c5d312b462c9d9931ea42becdfa838a076
https://git.kernel.org/stable/c/b49f5af30b0e4064fbd91e83823a4bfcb2c7a3e7
Source Url

Alert History

If you want to see full details history, please login or register.
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Date Informations
2025-07-15 01:52:57
  • Multiple Updates
2025-07-14 12:16:34
  • Multiple Updates
2025-06-26 01:51:48
  • Multiple Updates
2025-06-25 12:16:02
  • Multiple Updates
2025-06-24 01:56:16
  • Multiple Updates
2025-03-29 02:57:15
  • Multiple Updates
2025-03-28 13:27:37
  • Multiple Updates
2025-03-28 02:42:11
  • Multiple Updates
2025-03-18 02:50:01
  • Multiple Updates
2025-03-14 02:40:05
  • Multiple Updates
2025-01-08 02:34:51
  • Multiple Updates
2025-01-07 02:34:28
  • Multiple Updates
2024-12-11 21:21:46
  • Multiple Updates
2024-12-09 21:20:43
  • Multiple Updates
2024-11-25 09:26:38
  • Multiple Updates
2024-03-02 00:27:29
  • First insertion