CVE-2021-47111
JSON

8.8high

xen-netback: take a reference to the RX task thread

Severity
8.8high CVSS:3.1 by Linux
Exploit likelihood
0.24% (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: xen-netback: take a reference to the RX task thread Do this in order to prevent the task from being freed if the thread returns (which can be triggered by the frontend) before the call to kthread_stop done as part of the backend tear down. Not taking the reference will lead to a use-after-free in that scenario. Such reference was taken before but dropped as part of the rework done in 2ac061ce97f4. Reintroduce the reference taking and add a comment this time explaining why it's needed. This is XSA-374 / CVE-2021-28691.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 2ac061ce97f413bfbbdd768f7d2e0fda2e8170df before 6b53db8c4c14b4e7256f058d202908b54a7b85b4, from 2ac061ce97f413bfbbdd768f7d2e0fda2e8170df before caec9bcaeb1a5f03f2d406305355c853af10c13e, from 2ac061ce97f413bfbbdd768f7d2e0fda2e8170df before 107866a8eb0b664675a260f1ba0655010fac1e08, 5.5
Not affected: before 5.5, from 5.10.43 up to 5.10.*, from 5.12.10 up to 5.12.*, from 5.13 up to *
CVE List
linux linux_kernelfrom 5.5 before 5.10.43, from 5.11 before 5.12.10, 5.13NVD

All scores

Linux8.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

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: xen-netback: take a reference to the RX task thread Do this in order to prevent the task from being freed if the thread returns (which can be triggered by the frontend) before the call to kthread_stop done as part of the backend tear down. Not taking the reference will lead to a use-after-free in that scenario. Such reference was taken before but dropped as part of the rework done in 2ac061ce97f4. Reintroduce the reference taking and add a comment this time explaining why it's needed. This is XSA-374 / CVE-2021-28691.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: xen-netback: toma una referencia al hilo de la tarea RX. Haga esto para evitar que la tarea se libere si el hilo regresa (que puede ser activado por el frontend) antes de que llamada a kthread_stop realizada como parte del desmontaje del backend. No tomar la referencia conducirá a un use-after-free en ese escenario. Esta referencia se tomó antes, pero se eliminó como parte de la revisión realizada en 2ac061ce97f4. Vuelva a introducir la toma de referencia y agregue esta vez un comentario explicando por qué es necesario. Este es XSA-374/CVE-2021-28691.

References

Sources

SourceRecordLicence
CVE ListCVE-2021-47111 changed 2026-08-05CVE Terms of Use
NVDCVE-2021-47111 changed 2026-08-04Public domain