CVE-2021-47111

published 15 Mar 2024 · updated 5 Aug 2026

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

8.8HighCVSS 8.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 107866a8eb0b664675a260f1ba0655010fac1e08, Kernel 6b53db8c4c14b4e7256f058d202908b54a7b85b4 and Kernel caec9bcaeb1a5f03f2d406305355c853af10c13e.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.5, >=2ac061ce97f413bfbbdd768f7d2e0fda2e8170df <107866a8eb0b664675a260f1ba0655010fac1e08, >=2ac061ce97f413bfbbdd768f7d2e0fda2e8170df <6b53db8c4c14b4e7256f058d202908b54a7b85b4, >=2ac061ce97f413bfbbdd768f7d2e0fda2e8170df <caec9bcaeb1a5f03f2d406305355c853af10c13e107866a8eb0b664675a260f1ba0655010fac1e08, 6b53db8c4c14b4e7256f058d202908b54a7b85b4, caec9bcaeb1a5f03f2d406305355c853af10c13e

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-47111 severity on Zeptric[![CVE-2021-47111](https://zeptric.io/badge/cve/CVE-2021-47111.svg)](https://zeptric.io/cve/CVE-2021-47111)