CVE-2021-47301
JSON

7.8high

igb: Fix use-after-free error during reset

Severity
7.8high 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: igb: Fix use-after-free error during reset Cleans the next descriptor to watch (next_to_watch) when cleaning the TX ring. Failure to do so can cause invalid memory accesses. If igb_poll() runs while the controller is reset this can lead to the driver try to free a skb that was already freed. (The crash is harder to reproduce with the igb driver, but the same potential problem exists as the code is identical to igc)

Affected

Product or packageVersionsReported by
Linux Linuxfrom 7cc6fd4c60f267e17b0baef1580d7a6258c0a6f0 before d7367f781e5a9ca5df9082b15b272b55e76931f8, from 7cc6fd4c60f267e17b0baef1580d7a6258c0a6f0 before d3ccb18ed5ac3283c7b31ecc685b499e580d5492, from 7cc6fd4c60f267e17b0baef1580d7a6258c0a6f0 before 88e0720133d42d34851c8721cf5f289a50a8710f, from 7cc6fd4c60f267e17b0baef1580d7a6258c0a6f0 before f153664d8e70c11d0371341613651e1130e20240, from 7cc6fd4c60f267e17b0baef1580d7a6258c0a6f0 before 8e24c12f2ff6d32fd9f057382f08e748ec97194c, from 7cc6fd4c60f267e17b0baef1580d7a6258c0a6f0 before 7b292608db23ccbbfbfa50cdb155d01725d7a52e, 4.12
Not affected: before 4.12, from 4.14.241 up to 4.14.*, from 4.19.199 up to 4.19.*, from 5.4.136 up to 5.4.*, from 5.10.54 up to 5.10.*, from 5.13.6 up to 5.13.*
CVE List
linux linux_kernelfrom 4.12 before 4.14.241, from 4.15 before 4.19.199, from 4.20 before 5.4.136, from 5.5 before 5.10.54, from 5.11 before 5.13.6, 5.14NVD

Classification

CWE-416

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: igb: Fix use-after-free error during reset Cleans the next descriptor to watch (next_to_watch) when cleaning the TX ring. Failure to do so can cause invalid memory accesses. If igb_poll() runs while the controller is reset this can lead to the driver try to free a skb that was already freed. (The crash is harder to reproduce with the igb driver, but the same potential problem exists as the code is identical to igc)

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: igb: corrige el error de use after free durante el reinicio. Limpia el siguiente descriptor a observar (next_to_watch) al limpiar el anillo TX. De lo contrario, se pueden producir accesos a la memoria no válidos. Si igb_poll() se ejecuta mientras se reinicia el controlador, esto puede hacer que el controlador intente liberar un skb que ya estaba liberado. (El fallo es más difícil de reproducir con el controlador igb, pero existe el mismo problema potencial ya que el código es idéntico al de igc)

References

Sources

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