{"id":"CVE-2021-4202","aliases":["CVE-2021-4202"],"related":[],"kind":"vulnerability","state":"published","title":"A use-after-free flaw was found in ncirequest in net/nfc/nci/core.c in NFC Controller Interface (NCI) in the Linux kernel.","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Se encontró un fallo de uso de memoria previamente liberada en la función nci_request en el archivo net/nfc/nci/core.c en NFC Controller Interface (NCI) en el kernel de Linux. este fallo podría permitir a un atacante local con privilegios de usuario causar un problema de carrera de datos mientras es retirado el dispositivo, conllevando a un problema de escalada de privilegios","source":"nvd"}],"published":"2022-03-25T18:02:45.000Z","modified":"2026-06-17T04:19:12.643Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:L/AC:M/Au:N/C:C/I:C/A:C","score":6.9,"rating":"MEDIUM"}],"cwes":["CWE-362","CWE-416"],"affected":[{"ranges":[{"version":"kernel 5.16 rc2","status":"affected"}],"product":"kernel","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.2","fixed":"4.4.294"},{"status":"affected","introduced":"4.5","fixed":"4.9.292"},{"status":"affected","introduced":"4.10","fixed":"4.14.257"},{"status":"affected","introduced":"4.15","fixed":"4.19.219"},{"status":"affected","introduced":"4.20","fixed":"5.4.163"},{"status":"affected","introduced":"5.5.0","fixed":"5.10.82"},{"status":"affected","introduced":"5.11","fixed":"5.15.5"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2036682","tags":["issue-tracking","patch","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=3e3b5dfcd16a3e254aab61bd1e8c417dd4503102","tags":["exploit","patch","vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=48b71a9e66c2eab60564b1b1c85f4928ed04e406","tags":["exploit","patch","vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=86cdf8e38792545161dbe3350a7eced558ba4d15","tags":["exploit","patch","vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://security.netapp.com/advisory/ntap-20220513-0002/","tags":["third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2022/06/01/2","tags":["mailing-list","third-party-advisory","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2022/06/04/2","tags":["mailing-list","third-party-advisory","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2022/06/07/2","tags":["mailing-list","third-party-advisory","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"redhat","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-4202","url":"https://www.cve.org/CVERecord?id=CVE-2021-4202","licence":"CVE Terms of Use","modified":"2024-08-03T17:16:04.245Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-4202","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-4202","licence":"Public domain","modified":"2026-06-17T04:19:12.643Z"}],"updatedAt":"2026-11-25T22:58:07.266Z","epss":{"score":0.00365,"percentile":0.32396,"date":"2026-12-01T12:00:22.000Z"}}