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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.24% (percentile 9, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2024-03-15T20:14:19.898Z
- **Modified:** 2026-08-05T08:46:04.618Z

## Who should check

- Anyone running Linux \>= 2ac061ce97f413bfbbdd768f7d2e0fda2e8170df, \< 6b53db8c4c14b4e7256f058d202908b54a7b85b4; \>= 2ac061ce97f413bfbbdd768f7d2e0fda2e8170df, \< caec9bcaeb1a5f03f2d406305355c853af10c13e; \>= 2ac061ce97f413bfbbdd768f7d2e0fda2e8170df, \< 107866a8eb0b664675a260f1ba0655010fac1e08
- Anyone running Linux 5.5

## 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 and fixed versions

- Linux: \>= 2ac061ce97f413bfbbdd768f7d2e0fda2e8170df, \< 6b53db8c4c14b4e7256f058d202908b54a7b85b4; \>= 2ac061ce97f413bfbbdd768f7d2e0fda2e8170df, \< caec9bcaeb1a5f03f2d406305355c853af10c13e; \>= 2ac061ce97f413bfbbdd768f7d2e0fda2e8170df, \< 107866a8eb0b664675a260f1ba0655010fac1e08 (cvelist)
- Linux: 5.5 (cvelist)

## Mitigation

- Upgrade Linux to 107866a8eb0b664675a260f1ba0655010fac1e08 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2021-47111. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-47111.md
Affected: Linux >= 2ac061ce97f413bfbbdd768f7d2e0fda2e8170df, < 6b53db8c4c14b4e7256f058d202908b54a7b85b4; >= 2ac061ce97f413bfbbdd768f7d2e0fda2e8170df, < caec9bcaeb1a5f03f2d406305355c853af10c13e; >= 2ac061ce97f413bfbbdd768f7d2e0fda2e8170df, < 107866a8eb0b664675a260f1ba0655010fac1e08; Linux 5.5
Fixed in: Linux 6b53db8c4c14b4e7256f058d202908b54a7b85b4, Linux 107866a8eb0b664675a260f1ba0655010fac1e08

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2021-47111 being exploited?

There is no confirmed exploitation: CVE-2021-47111 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.24% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2021-47111?

High: CVSS 8.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2021-47111?

Linux \>= 2ac061ce97f413bfbbdd768f7d2e0fda2e8170df, \< 6b53db8c4c14b4e7256f058d202908b54a7b85b4; \>= 2ac061ce97f413bfbbdd768f7d2e0fda2e8170df, \< caec9bcaeb1a5f03f2d406305355c853af10c13e; \>= 2ac061ce97f413bfbbdd768f7d2e0fda2e8170df, \< 107866a8eb0b664675a260f1ba0655010fac1e08; Linux 5.5.

### Is there a fix for CVE-2021-47111?

Yes. Fixed in Linux 6b53db8c4c14b4e7256f058d202908b54a7b85b4, Linux 107866a8eb0b664675a260f1ba0655010fac1e08. Upgrade Linux to 107866a8eb0b664675a260f1ba0655010fac1e08 or later.

### How do I check if I'm affected by CVE-2021-47111?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2021-47111>

HTML: <https://flawdb.com/CVE-2021-47111> · JSON: <https://flawdb.com/api/v1/entries/CVE-2021-47111>
