# CVE-2021-47601: tee: amdtee: fix an IS_ERR() vs NULL bug

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2024-06-19T14:54:01.639Z
- Modified: 2026-06-17T04:18:08.373Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

tee: amdtee: fix an IS_ERR() vs NULL bug

The __get_free_pages() function does not return error pointers it returns
NULL so fix this condition to avoid a NULL dereference.

(As written by CVE List.)

## Affected

- Linux Linux: from 757cc3e9ff1d72d014096399d6e2bf03974d9da1 before 640e28d618e82be78fb43b4bf5113bc90d6aa442; from 757cc3e9ff1d72d014096399d6e2bf03974d9da1 before 832f3655c6138c23576ed268e31cc76e0f05f2b1; from 757cc3e9ff1d72d014096399d6e2bf03974d9da1 before 9d7482771fac8d8e38e763263f2ca0ca12dd22c6; 5.6 (not affected: before 5.6; from 5.10.88 up to 5.10.*; from 5.15.11 up to 5.15.*; from 5.16 up to *)
- linux linux_kernel: from 5.6 before 5.10.88; from 5.11 before 5.15.11

## References

- <https://git.kernel.org/stable/c/640e28d618e82be78fb43b4bf5113bc90d6aa442> (patch)
- <https://git.kernel.org/stable/c/832f3655c6138c23576ed268e31cc76e0f05f2b1> (patch)
- <https://git.kernel.org/stable/c/9d7482771fac8d8e38e763263f2ca0ca12dd22c6> (patch)

## Sources

- CVE List: [CVE-2021-47601](https://www.cve.org/CVERecord?id=CVE-2021-47601), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2021-47601](https://nvd.nist.gov/vuln/detail/CVE-2021-47601), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-47601 · Whole record: https://cve.day/CVE-2021-47601.json · Rebuilt by cve.day 2026-11-25T22:58:08.937Z
