# CVE-2021-4202: A use-after-free flaw was found in ncirequest in net/nfc/nci/core.c in NFC Controller Interface (NCI) in the Linux kernel.

- Severity: High 7.0 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/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.36%, higher than 32% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 3 links below, marked "exploit"
- Published: 2022-03-25T18:02:45.000Z
- Modified: 2026-06-17T04:19:12.643Z
- Weaknesses: CWE-362, CWE-416
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- kernel: kernel 5.16 rc2
- linux linux_kernel: from 3.2 before 4.4.294; from 4.5 before 4.9.292; from 4.10 before 4.14.257; from 4.15 before 4.19.219; from 4.20 before 5.4.163; from 5.5.0 before 5.10.82; from 5.11 before 5.15.5

## Every score

- NVD: CVSS:3.1 7.0 High `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.9 Medium `AV:L/AC:M/Au:N/C:C/I:C/A:C`

## References

- <https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=3e3b5dfcd16a3e254aab61bd1e8c417dd4503102> (exploit, patch, vendor-advisory)
- <https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=48b71a9e66c2eab60564b1b1c85f4928ed04e406> (exploit, patch, vendor-advisory)
- <https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=86cdf8e38792545161dbe3350a7eced558ba4d15> (exploit, patch, vendor-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2036682> (issue-tracking, patch, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20220513-0002/> (third-party-advisory)
- <http://www.openwall.com/lists/oss-security/2022/06/01/2> (mailing-list, third-party-advisory)
- <http://www.openwall.com/lists/oss-security/2022/06/04/2> (mailing-list, third-party-advisory)
- <http://www.openwall.com/lists/oss-security/2022/06/07/2> (mailing-list, third-party-advisory)

## Sources

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

---

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