CVE REMEDIATION GUIDE
Review reviewHighFixed-version data available

CVE-2021-47081 remediation guide

Linux Linux, linux kernel

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 avo...

Open CVE record
ProductLinux Linux, linux kernel
Affected versions>= 423815bf02e257091d5337be5c63b57fc29e4254 < b49f5af30b0e4064fbd91e83823a4bfcb2c7a3e7, >= 423815bf02e257091d5337be5c63b57fc29e4254 < 115726c5d312b462c9d9931ea42becdfa838a076, >= 5.12, >= 5.12 < 5.12.7, 5.13
Fixed versions5.12.7
Priority basisReview · CVSS 7.8 · EPSS 0.23%
01

Identify the affected asset

Confirm whether Linux Linux, linux kernel is installed, record the deployed version and installation path, and identify exposed interfaces.

  • Record the product name, package or appliance identifier, and installed version.
  • Identify internet-facing, administrative, API, and internal access paths.
  • Preserve the pre-change configuration and relevant service logs.
02

Validate the affected-version match

Compare the deployed version with the affected range: >= 423815bf02e257091d5337be5c63b57fc29e4254 < b49f5af30b0e4064fbd91e83823a4bfcb2c7a3e7, >= 423815bf02e257091d5337be5c63b57fc29e4254 < 115726c5d312b462c9d9931ea42becdfa838a076, >= 5.12, >= 5.12 < 5.12.7, 5.13. Treat incomplete inventory results as unresolved.

03

Prioritize with independent signals

The CVSS severity warrants an early asset and exposure review. Combine this signal with asset criticality, exposure, compensating controls, and business impact.

04

Apply supported remediation

Follow the vendor advisory or supported update path. Current fixed-version status: 5.12.7. Preserve configuration and rollback material before change.

05

Verify the result

Confirm the resulting version, service health, authentication and access paths, monitoring coverage, and relevant security logs.

  • Confirm the expected version and package state.
  • Run a functional health check for critical service paths.
  • Review authentication, error, application, and security monitoring logs.
  • Reassess exposure if the supported fix cannot be applied.

Operational boundary

This page does not replace the vendor advisory, support contract, change-management process, or recovery plan. Do not infer that an asset is unaffected from an incomplete inventory query or a missing fixed-version field.

CVE-2021-47081 Remediation Guide | SECUFOCUS NOW