# CVE-2021-47111: xen-netback: take a reference to the RX task thread

- Severity: High 8.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/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 15% of CVEs (2026-12-01)
- Published: 2024-03-15T20:14:19.898Z
- Modified: 2026-08-05T08:46:04.618Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 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 *)
- linux linux_kernel: from 5.5 before 5.10.43; from 5.11 before 5.12.10; 5.13

## Every score

- Linux: CVSS:3.1 8.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/6b53db8c4c14b4e7256f058d202908b54a7b85b4> (patch)
- <https://git.kernel.org/stable/c/caec9bcaeb1a5f03f2d406305355c853af10c13e> (patch)
- <https://git.kernel.org/stable/c/107866a8eb0b664675a260f1ba0655010fac1e08> (patch)

## Sources

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

---

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