{"api_version":"1","generated_at":"2026-04-22T21:37:47+00:00","cve":"CVE-2021-4202","urls":{"html":"https://cve.report/CVE-2021-4202","api":"https://cve.report/api/cve/CVE-2021-4202.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-4202","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-4202"},"summary":{"title":"CVE-2021-4202","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.","state":"PUBLIC","assigner":"secalert@redhat.com","published_at":"2022-03-25 19:15:00","updated_at":"2023-11-07 03:40:00"},"problem_types":["CWE-362","CWE-416"],"metrics":[],"references":[{"url":"http://www.openwall.com/lists/oss-security/2022/06/01/2","name":"[oss-security] 20220601 Re: CVE-2021-4204: Linux Kernel eBPF Improper Input Validation Vulnerability","refsource":"MLIST","tags":[],"title":"oss-security - Re: CVE-2021-4204: Linux Kernel eBPF Improper Input Validation Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"http://www.openwall.com/lists/oss-security/2022/06/07/2","name":"[oss-security] 20220607 Re: CVE-2021-4204: Linux Kernel eBPF Improper Input Validation Vulnerability","refsource":"MLIST","tags":[],"title":"oss-security - Re: CVE-2021-4204: Linux Kernel eBPF Improper Input\n Validation Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2036682","name":"https://bugzilla.redhat.com/show_bug.cgi?id=2036682","refsource":"MISC","tags":[],"title":"2036682 – (CVE-2021-4202) CVE-2021-4202 kernel: Race condition in nci_request() leads to use after free while the device is getting removed","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"http://www.openwall.com/lists/oss-security/2022/06/04/2","name":"[oss-security] 20220604 Re: CVE-2021-4204: Linux Kernel eBPF Improper Input Validation Vulnerability","refsource":"MLIST","tags":[],"title":"oss-security - Re: CVE-2021-4204: Linux Kernel eBPF Improper Input Validation Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=3e3b5dfcd16a3e254aab61bd1e8c417dd4503102","name":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=3e3b5dfcd16a3e254aab61bd1e8c417dd4503102","refsource":"MISC","tags":[],"title":"kernel/git/stable/linux.git - Linux kernel stable tree","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=48b71a9e66c2eab60564b1b1c85f4928ed04e406","name":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=48b71a9e66c2eab60564b1b1c85f4928ed04e406","refsource":"MISC","tags":[],"title":"kernel/git/stable/linux.git - Linux kernel stable tree","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=86cdf8e38792545161dbe3350a7eced558ba4d15","name":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=86cdf8e38792545161dbe3350a7eced558ba4d15","refsource":"MISC","tags":[],"title":"kernel/git/stable/linux.git - Linux kernel stable tree","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://security.netapp.com/advisory/ntap-20220513-0002/","name":"https://security.netapp.com/advisory/ntap-20220513-0002/","refsource":"CONFIRM","tags":[],"title":"CVE-2021-4202 Linux Kernel Vulnerability in NetApp Products | NetApp Product Security","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-4202","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-4202","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"4202","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"linux","cpe5":"linux_kernel","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"4202","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"linux","cpe5":"linux_kernel","cpe6":"5.16","cpe7":"-","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"4202","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"linux","cpe5":"linux_kernel","cpe6":"5.16","cpe7":"rc1","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-4202","qid":"179117","title":"Debian Security Update for linux (DSA 5096-1)"},{"cve":"CVE-2021-4202","qid":"179118","title":"Debian Security Update for linux (DLA 2940-1)"},{"cve":"CVE-2021-4202","qid":"179119","title":"Debian Security Update for linux-4.19 (DLA 2941-1)"},{"cve":"CVE-2021-4202","qid":"179747","title":"Debian Security Update for linux (CVE-2021-4202)"},{"cve":"CVE-2021-4202","qid":"198653","title":"Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-5265-1)"},{"cve":"CVE-2021-4202","qid":"198667","title":"Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-5294-1)"},{"cve":"CVE-2021-4202","qid":"198674","title":"Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-5294-2)"},{"cve":"CVE-2021-4202","qid":"198676","title":"Ubuntu Security Notification for Linux kernel (GKE) Vulnerabilities (USN-5297-1)"},{"cve":"CVE-2021-4202","qid":"198678","title":"Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-5298-1)"},{"cve":"CVE-2021-4202","qid":"353242","title":"Amazon Linux Security Advisory for kernel : ALAC2012-2022-036"},{"cve":"CVE-2021-4202","qid":"353243","title":"Amazon Linux Security Advisory for kmod-mlx5 : ALAC2012-2022-037"},{"cve":"CVE-2021-4202","qid":"353244","title":"Amazon Linux Security Advisory for kmod-sfc : ALAC2012-2022-038"},{"cve":"CVE-2021-4202","qid":"377053","title":"Alibaba Cloud Linux Security Update for cloud-kernel (ALINUX2-SA-2022:0028)"},{"cve":"CVE-2021-4202","qid":"751654","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:0197-1)"},{"cve":"CVE-2021-4202","qid":"751657","title":"OpenSUSE Security Update for the Linux Kernel (openSUSE-SU-2022:0198-1)"},{"cve":"CVE-2021-4202","qid":"751666","title":"OpenSUSE Security Update for the Linux Kernel (openSUSE-SU-2022:0169-1)"},{"cve":"CVE-2021-4202","qid":"751695","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:0367-1)"},{"cve":"CVE-2021-4202","qid":"751696","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:0364-1)"},{"cve":"CVE-2021-4202","qid":"751697","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:0366-1)"},{"cve":"CVE-2021-4202","qid":"751698","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:0362-1)"},{"cve":"CVE-2021-4202","qid":"751701","title":"OpenSUSE Security Update for the Linux Kernel (openSUSE-SU-2022:0366-1)"},{"cve":"CVE-2021-4202","qid":"751702","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:0371-1)"},{"cve":"CVE-2021-4202","qid":"751703","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:0372-1)"},{"cve":"CVE-2021-4202","qid":"751757","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (Live Patch 41 for SLE 12 SP3) (SUSE-SU-2022:0552-1)"},{"cve":"CVE-2021-4202","qid":"751993","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:0198-1)"},{"cve":"CVE-2021-4202","qid":"753191","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (Live Patch 6 for SLE 15 SP3) (SUSE-SU-2022:0463-1)"},{"cve":"CVE-2021-4202","qid":"753194","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:0288-1)"},{"cve":"CVE-2021-4202","qid":"753267","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:0169-1)"},{"cve":"CVE-2021-4202","qid":"753410","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (Live Patch 26 for SLE 12 SP5) (SUSE-SU-2022:0418-1)"},{"cve":"CVE-2021-4202","qid":"753462","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:0289-1)"},{"cve":"CVE-2021-4202","qid":"900804","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (9265)"},{"cve":"CVE-2021-4202","qid":"901315","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (9265-1)"},{"cve":"CVE-2021-4202","qid":"901707","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (9237)"},{"cve":"CVE-2021-4202","qid":"902066","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (9237-1)"},{"cve":"CVE-2021-4202","qid":"906040","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (9265-2)"},{"cve":"CVE-2021-4202","qid":"906498","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (9237-2)"}]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ID":"CVE-2021-4202","ASSIGNER":"secalert@redhat.com","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"vendor_name":"n/a","product":{"product_data":[{"product_name":"kernel","version":{"version_data":[{"version_value":"kernel 5.16 rc2"}]}}]}}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-362->CWE-416"}]}]},"references":{"reference_data":[{"refsource":"MISC","name":"https://bugzilla.redhat.com/show_bug.cgi?id=2036682","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2036682"},{"refsource":"MISC","name":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=3e3b5dfcd16a3e254aab61bd1e8c417dd4503102","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=3e3b5dfcd16a3e254aab61bd1e8c417dd4503102"},{"refsource":"MISC","name":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=48b71a9e66c2eab60564b1b1c85f4928ed04e406","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=48b71a9e66c2eab60564b1b1c85f4928ed04e406"},{"refsource":"MISC","name":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=86cdf8e38792545161dbe3350a7eced558ba4d15","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=86cdf8e38792545161dbe3350a7eced558ba4d15"},{"refsource":"CONFIRM","name":"https://security.netapp.com/advisory/ntap-20220513-0002/","url":"https://security.netapp.com/advisory/ntap-20220513-0002/"},{"refsource":"MLIST","name":"[oss-security] 20220601 Re: CVE-2021-4204: Linux Kernel eBPF Improper Input Validation Vulnerability","url":"http://www.openwall.com/lists/oss-security/2022/06/01/2"},{"refsource":"MLIST","name":"[oss-security] 20220604 Re: CVE-2021-4204: Linux Kernel eBPF Improper Input Validation Vulnerability","url":"http://www.openwall.com/lists/oss-security/2022/06/04/2"},{"refsource":"MLIST","name":"[oss-security] 20220607 Re: CVE-2021-4204: Linux Kernel eBPF Improper Input Validation Vulnerability","url":"http://www.openwall.com/lists/oss-security/2022/06/07/2"}]},"description":{"description_data":[{"lang":"eng","value":"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."}]}},"nvd":{"publishedDate":"2022-03-25 19:15:00","lastModifiedDate":"2023-11-07 03:40:00","problem_types":["CWE-362","CWE-416"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7,"baseSeverity":"HIGH"},"exploitabilityScore":1,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:L/AC:M/Au:N/C:C/I:C/A:C","accessVector":"LOCAL","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE","baseScore":6.9},"severity":"MEDIUM","exploitabilityScore":3.4,"impactScore":10,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11","versionEndExcluding":"5.15.5","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5.0","versionEndExcluding":"5.10.82","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.15","versionEndExcluding":"4.19.219","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.10","versionEndExcluding":"4.14.257","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.5","versionEndExcluding":"4.9.292","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.2","versionEndExcluding":"4.4.294","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.20","versionEndExcluding":"5.4.163","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"4202","Ordinal":"225511","Title":"CVE-2021-4202","CVE":"CVE-2021-4202","Year":"2021"},"notes":[]}}}