{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-47068","published":"2024-02-29T23:15:08.170000Z","last_modified":"2026-06-17T04:16:22.493000Z","status":"Modified","cvss":{"version":"3.1","score":7.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-416"],"cpes":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"4.4.267","version_end_excluding":"4.4.269"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"4.9.267","version_end_excluding":"4.9.269"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"4.14.231","version_end_excluding":"4.14.233"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"4.19.187","version_end_excluding":"4.19.191"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.4.112","version_end_excluding":"5.4.119"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.10.30","version_end_excluding":"5.10.37"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.11.14","version_end_excluding":"5.11.21"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.12","version_end_excluding":"5.12.4"}],"cpes_truncated":false,"vendors":["linux"],"products":["linux/linux_kernel"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"epss":{"score":0.00233,"percentile":0.08498,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"os","platform":"linux","eol":false,"packages":[],"severity":"high","priority_score":47,"links":{"html_es":"/es/cve/CVE-2021-47068/","html_en":"/en/cve/CVE-2021-47068/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-47068","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-47068"},"untrusted":{"vendor_name":"Linux","product_name":"Linux Kernel","desc_en":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/nfc: fix use-after-free llcp_sock_bind/connect\n\nCommits 8a4cd82d (\"nfc: fix refcount leak in llcp_sock_connect()\")\nand c33b1cc62 (\"nfc: fix refcount leak in llcp_sock_bind()\")\nfixed a refcount leak bug in bind/connect but introduced a\nuse-after-free if the same local is assigned to 2 different sockets.\n\nThis can be triggered by the following simple program:\n    int sock1 = socket( AF_NFC, SOCK_STREAM, NFC_SOCKPROTO_LLCP );\n    int sock2 = socket( AF_NFC, SOCK_STREAM, NFC_SOCKPROTO_LLCP );\n    memset( &addr, 0, sizeof(struct sockaddr_nfc_llcp) );\n    addr.sa_family = AF_NFC;\n    addr.nfc_protocol = NFC_PROTO_NFC_DEP;\n    bind( sock1, (struct sockaddr*) &addr, sizeof(struct sockaddr_nfc_llcp) )\n    bind( sock2, (struct sockaddr*) &addr, sizeof(struct sockaddr_nfc_llcp) )\n    close(sock1);\n    close(sock2);\n\nFix this by assigning NULL to llcp_sock->local after calling\nnfc_llcp_local_put.\n\nThis addresses CVE-2021-23134.","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]}],"references":[{"url":"https://git.kernel.org/stable/c/18175fe17ae043a0b81e5d511f8817825784c299","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/18ae4a192a4496e48a5490b52812645d2413307c","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/26157c82ba756767b2bd66d28a71b1bc454447f6","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/374cdde4dcc9c909a60713abdbbf96d5e3e09f91","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/48fba458fe54cc2a980a05c13e6c19b8b2cfb610","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/6b7021ed36dabf29e56842e3408781cd3b82ef6e","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/c61760e6940dd4039a7f5e84a6afc9cdbf4d82b6","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/ccddad6dd28530e716448e594c9ca7c76ccd0570","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/e32352070bcac22be6ed8ab635debc280bb65b8c","tags":["Patch"]}]}}