CVE-2021-4202
kernel: Race condition in nci_request() leads to use after free while the device is getting removed
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · November 17, 2021
Updated · February 19, 2026
Description
A use-after-free flaw was found in nci_request in net/nfc/nci/core.c in NFC Controller Interface (NCI) in the Linux kernel. This flaw could allow a local attacker with user privileges to cause a data race problem while the device is getting removed, leading to a privilege escalation problem.
Statement
There was no shipped kernel version that was seen affected by this problem. These files are not built in our source code.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
CVSS / CWE
CVSS 3.1 · 7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE-821 · Incorrect Synchronization