{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-47334","published":"2024-05-21T15:15:20.273000Z","last_modified":"2026-06-17T04:17:13.333000Z","status":"Analyzed","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_end_excluding":"4.4.276"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"4.5","version_end_excluding":"4.9.276"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"4.10","version_end_excluding":"4.14.240"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"4.15","version_end_excluding":"4.19.198"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"4.20","version_end_excluding":"5.4.134"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.5","version_end_excluding":"5.10.52"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.11","version_end_excluding":"5.12.19"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.13","version_end_excluding":"5.13.4"}],"cpes_truncated":false,"vendors":["linux"],"products":["linux/linux_kernel"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00365,"percentile":0.22501,"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-47334/","html_en":"/en/cve/CVE-2021-47334/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-47334","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-47334"},"untrusted":{"vendor_name":"Linux","product_name":"Linux Kernel","desc_en":"In the Linux kernel, the following vulnerability has been resolved:\n\nmisc/libmasm/module: Fix two use after free in ibmasm_init_one\n\nIn ibmasm_init_one, it calls ibmasm_init_remote_input_dev().\nInside ibmasm_init_remote_input_dev, mouse_dev and keybd_dev are\nallocated by input_allocate_device(), and assigned to\nsp->remote.mouse_dev and sp->remote.keybd_dev respectively.\n\nIn the err_free_devices error branch of ibmasm_init_one,\nmouse_dev and keybd_dev are freed by input_free_device(), and return\nerror. Then the execution runs into error_send_message error branch\nof ibmasm_init_one, where ibmasm_free_remote_input_dev(sp) is called\nto unregister the freed sp->remote.mouse_dev and sp->remote.keybd_dev.\n\nMy patch add a \"error_init_remote\" label to handle the error of\nibmasm_init_remote_input_dev(), to avoid the uaf bugs.","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]}],"references":[{"url":"https://git.kernel.org/stable/c/1512e7dc5eb08b7d92a12e2bfcd9cb8c4a1ec069","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/29ba8e2ba89ee2862a26d91204dd5fe77ceee25a","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/38660031e80eaa6cc9370b031c180612f414b00d","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/481a76d4749ee3a27f902ba213fdcbb4bb39720e","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/5b06ca113bf197aab2ab61288f42506e0049fbab","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/7272b591c4cb9327c43443f67b8fbae7657dd9ae","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/a7268e8a227d5a4f0bd1584f556246b0224ab274","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/b9c87ce3bc6331f82811a8cf8e930423c22523a3","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/ef1067d2baa847d53c9988510d99fb494de4d12c","tags":["Patch"]}]}}