# CVE-2021-47133: HID: amd\_sfh: Fix memory leak in amd\_sfh\_work

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.19% (percentile 5, 2026-11-26)
- **CWE:** CWE-401
- **Published:** 2024-03-15T20:14:36.044Z
- **Modified:** 2026-06-17T04:16:36.717Z

## Who should check

- Anyone running Linux \>= 4b2c53d93a4bc9d52cc0ec354629cfc9dc217f93, \< 29beadea66a226d744d5ffdcde6b984623053d24; \>= 4b2c53d93a4bc9d52cc0ec354629cfc9dc217f93, \< 5ad755fd2b326aa2bc8910b0eb351ee6aece21b1
- Anyone running Linux 5.11

## Description

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

HID: amd\_sfh: Fix memory leak in amd\_sfh\_work

Kmemleak tool detected a memory leak in the amd\_sfh driver.

====================
unreferenced object 0xffff88810228ada0 (size 32):
  comm "insmod", pid 3968, jiffies 4295056001 (age 775.792s)
  hex dump (first 32 bytes):
    00 20 73 1f 81 88 ff ff 00 01 00 00 00 00 ad de  . s.............
    22 01 00 00 00 00 ad de 01 00 02 00 00 00 00 00  "...............
  backtrace:
    \[\<000000007b4c8799\>\] kmem\_cache\_alloc\_trace+0x163/0x4f0
    \[\<0000000005326893\>\] amd\_sfh\_get\_report+0xa4/0x1d0 \[amd\_sfh\]
    \[\<000000002a9e5ec4\>\] amdtp\_hid\_request+0x62/0x80 \[amd\_sfh\]
    \[\<00000000b8a95807\>\] sensor\_hub\_get\_feature+0x145/0x270 \[hid\_sensor\_hub\]
    \[\<00000000fda054ee\>\] hid\_sensor\_parse\_common\_attributes+0x215/0x460 \[hid\_sensor\_iio\_common\]
    \[\<0000000021279ecf\>\] hid\_accel\_3d\_probe+0xff/0x4a0 \[hid\_sensor\_accel\_3d\]
    \[\<00000000915760ce\>\] platform\_probe+0x6a/0xd0
    \[\<0000000060258a1f\>\] really\_probe+0x192/0x620
    \[\<00000000fa812f2d\>\] driver\_probe\_device+0x14a/0x1d0
    \[\<000000005e79f7fd\>\] \_\_device\_attach\_driver+0xbd/0x110
    \[\<0000000070d15018\>\] bus\_for\_each\_drv+0xfd/0x160
    \[\<0000000013a3c312\>\] \_\_device\_attach+0x18b/0x220
    \[\<000000008c7b4afc\>\] device\_initial\_probe+0x13/0x20
    \[\<00000000e6e99665\>\] bus\_probe\_device+0xfe/0x120
    \[\<00000000833fa90b\>\] device\_add+0x6a6/0xe00
    \[\<00000000fa901078\>\] platform\_device\_add+0x180/0x380
====================

The fix is to freeing request\_list entry once the processed entry is
removed from the request\_list.

## Affected and fixed versions

- Linux: \>= 4b2c53d93a4bc9d52cc0ec354629cfc9dc217f93, \< 29beadea66a226d744d5ffdcde6b984623053d24; \>= 4b2c53d93a4bc9d52cc0ec354629cfc9dc217f93, \< 5ad755fd2b326aa2bc8910b0eb351ee6aece21b1 (cvelist)
- Linux: 5.11 (cvelist)

## Mitigation

- Upgrade Linux to 5ad755fd2b326aa2bc8910b0eb351ee6aece21b1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2021-47133. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-47133.md
Affected: Linux >= 4b2c53d93a4bc9d52cc0ec354629cfc9dc217f93, < 29beadea66a226d744d5ffdcde6b984623053d24; >= 4b2c53d93a4bc9d52cc0ec354629cfc9dc217f93, < 5ad755fd2b326aa2bc8910b0eb351ee6aece21b1; Linux 5.11
Fixed in: Linux 29beadea66a226d744d5ffdcde6b984623053d24, Linux 5ad755fd2b326aa2bc8910b0eb351ee6aece21b1

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2021-47133 being exploited?

There is no confirmed exploitation: CVE-2021-47133 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.19% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2021-47133?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2021-47133?

Linux \>= 4b2c53d93a4bc9d52cc0ec354629cfc9dc217f93, \< 29beadea66a226d744d5ffdcde6b984623053d24; \>= 4b2c53d93a4bc9d52cc0ec354629cfc9dc217f93, \< 5ad755fd2b326aa2bc8910b0eb351ee6aece21b1; Linux 5.11.

### Is there a fix for CVE-2021-47133?

Yes. Fixed in Linux 29beadea66a226d744d5ffdcde6b984623053d24, Linux 5ad755fd2b326aa2bc8910b0eb351ee6aece21b1. Upgrade Linux to 5ad755fd2b326aa2bc8910b0eb351ee6aece21b1 or later.

### How do I check if I'm affected by CVE-2021-47133?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/29beadea66a226d744d5ffdcde6b984623053d24>
- patch: <https://git.kernel.org/stable/c/5ad755fd2b326aa2bc8910b0eb351ee6aece21b1>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2021-47133>

HTML: <https://flawdb.com/CVE-2021-47133> · JSON: <https://flawdb.com/api/v1/entries/CVE-2021-47133>
