CVE-2021-47138
JSON

7.1high

cxgb4: avoid accessing registers when clearing filters

Severity
7.1high CVSS:3.1 by NVD
Exploit likelihood
0.24% (higher than 16% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: cxgb4: avoid accessing registers when clearing filters Hardware register having the server TID base can contain invalid values when adapter is in bad state (for example, due to AER fatal error). Reading these invalid values in the register can lead to out-of-bound memory access. So, fix by using the saved server TID base when clearing filters.

Affected

Product or packageVersionsReported by
Linux Linuxfrom b1a79360ee862f8ada4798ad2346fa45bb41b527 before 0bf49b3c8d8b3a43ce09f1b2db70e5484d31fcdf, from b1a79360ee862f8ada4798ad2346fa45bb41b527 before 02f03883fdb10ad7e66717c70ea163a8d27ae6e7, from b1a79360ee862f8ada4798ad2346fa45bb41b527 before 285207a558ab456aa7d8aa877ecc7e91fcc51710, from b1a79360ee862f8ada4798ad2346fa45bb41b527 before 88c380df84fbd03f9b137c2b9d0a44b9f2f553b0, 5.2
Not affected: before 5.2, from 5.4.124 up to 5.4.*, from 5.10.42 up to 5.10.*, from 5.12.9 up to 5.12.*, from 5.13 up to *
CVE List
linux linux_kernelfrom 5.2 before 5.4.124, from 5.5 before 5.10.42, from 5.11 before 5.12.9, 5.13NVD

Classification

CWE-787

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: cxgb4: avoid accessing registers when clearing filters Hardware register having the server TID base can contain invalid values when adapter is in bad state (for example, due to AER fatal error). Reading these invalid values in the register can lead to out-of-bound memory access. So, fix by using the saved server TID base when clearing filters.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: cxgb4: evita acceder a los registros al borrar los filtros El registro de hardware que tiene la base TID del servidor puede contener valores no válidos cuando el adaptador está en mal estado (por ejemplo, debido a un error fatal de AER). Leer estos valores no válidos en el registro puede provocar un acceso a la memoria fuera de límites. Por lo tanto, solucione el problema utilizando la base TID del servidor guardado al borrar los filtros.

References

Sources

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