CVE-2021-47111
published high CVSS 3.1 · 8.8xen-netback: take a reference to the RX task thread
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux2ac061ce97f413bfbbdd768f7d2e0fda2e8170df to < 6b53db8c4c14b4e7256f058d202908b54a7b85b4 · 2ac061ce97f413bfbbdd768f7d2e0fda2e8170df to < caec9bcaeb1a5f03f2d406305355c853af10c13e · 2ac061ce97f413bfbbdd768f7d2e0fda2e8170df to < 107866a8eb0b664675a260f1ba0655010fac1e08 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.5 (affected) · 0 to < 5.5 (unaffected · semver) · 5.10.43 through 5.10.* (unaffected · semver) · 5.12.10 through 5.12.* (unaffected · semver) · 5.13 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2022-002 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2 | kernelaarch64 | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2022-002 |
| Amazon Linux | AL2 | kerneli686 | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2022-002 |
| Amazon Linux | AL2 | kernelsrc | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2022-002 |
Show 1 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2 | kernelx86_64 | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2022-002 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- Scenarios
- en: AV:L - The attack is carried out by a Xen guest through the PV netfront shared rings and event channels on the same host, not via remote network packets or physical device access. AC:L - The guest reliably triggers the bug by posting a malformed TX request (e.g. excess slots or cross-page offsets) to force the RX kthread to exit, then switching the frontend xenstore state to Closing/Closed to cause backend teardown and the UAF; both steps are fully attacker-controlled. PR:L - Exploitation requires a guest domain with a configured PV network frontend (typical cloud/tenant guest control), which is low privilege relative to Dom0 and does not require host-admin rights. UI:N - No victim user action is required; the guest alone can send the malformed frontend requests and drive the disconnect state change. S:C - This is a Xen guest-to-host escape: a DomU compromises Dom0 kernel memory via UAF in xen-netback, crossing the guest/host security boundary. C:H - Use-after-free of a host task_struct can be leveraged for arbitrary kernel memory disclosure; XSA-374 explicitly states information leaks cannot be ruled out. I:H - The same UAF enables heap reuse and control-flow hijacking in Dom0, and XSA-374 states privilege escalation cannot be ruled out. A:H - Calling kthread_stop() on the freed task_struct can crash or hang Dom0, which XSA-374 confirms as a host denial of service.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 2ac061ce97f413bfbbdd768f7d2e0fda2e8170df to < 6b53db8c4c14b4e7256f058d202908b54a7b85b4 (affected · git)2ac061ce97f413bfbbdd768f7d2e0fda2e8170df to < caec9bcaeb1a5f03f2d406305355c853af10c13e (affected · git)2ac061ce97f413bfbbdd768f7d2e0fda2e8170df to < 107866a8eb0b664675a260f1ba0655010fac1e08 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.5 (affected)0 to < 5.5 (unaffected · semver)5.10.43 through 5.10.* (unaffected · semver)5.12.10 through 5.12.* (unaffected · semver)5.13 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
3Linux · cna
xen-netback: take a reference to the RX task thread
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 27bae415cb3802d625ec18a0117dbc54d87b6df87dcc74a3b100bd5be779d698
- Ingested
- 23 Sep 2026, 07:57:04 UTC
- Source record
- Official CVE record