CVE-2021-47601
JSON

5.5medium

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

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.30% (higher than 15% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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 *
CVE List
linux linux_kernelfrom 5.6 before 5.10.88, from 5.11 before 5.15.11NVD

Classification

CWE-476

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: tee: amdtee: corrige un error IS_ERR() vs NULL La función __get_free_pages() no devuelve punteros de error, devuelve NULL, así que corrija esta condición para evitar una desreferencia a NULL.

References

Sources

SourceRecordLicence
CVE ListCVE-2021-47601 changed 2026-05-11CVE Terms of Use
NVDCVE-2021-47601 changed 2026-06-17Public domain