{"answers":{"affected":"It affects 3 products.","exploited":"Yes. Attackers have exploited CVE-2021-29256 in the wild since at least 7 Jul 2023.","fix":"Apply the vendor's patch. US federal agencies must fix it by 28 Jul 2023.","what":"CVE-2021-29256 is a high-severity use after free vulnerability in Arm Valhall Gpu Kernel Driver, published on 24 May 2021. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-29256 and fix it if it is affected.\n\nWhat it is: CVE-2021-29256 is a high-severity use after free vulnerability in Arm Valhall Gpu Kernel Driver, published on 24 May 2021. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2021-29256 in the wild since at least 7 Jul 2023.\n\nAffected product: Arm Valhall Gpu Kernel Driver. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2021-29256/ (Markdown: https://insights.sbomify.com/CVE-2021-29256/index.md)","id":"CVE-2021-29256","markdown":"https://insights.sbomify.com/CVE-2021-29256/index.md","name":"CVE-2021-29256","record":{"aliases":["A-283489460","ASB-A-283489460","GHSA-gm4q-9jx5-3gfv"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["privilege_escalation","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Android GPU driver","requires_auth":"low_privilege","summary":"An unprivileged user can exploit a use-after-free in the Arm Mali GPU kernel driver to disclose information or escalate privileges to root.","user_interaction":"not_required","vuln_class":"use_after_free"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"bifrost_gpu_kernel_driver","vendor":"arm"},{"product":"midgard_gpu_kernel_driver","vendor":"arm"},{"product":"valhall_gpu_kernel_driver","vendor":"arm"}],"cvss":{"score":8.8,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"description":". The Arm Mali GPU kernel driver allows an unprivileged user to achieve access to freed memory, leading to information disclosure or root privilege escalation. This affects Bifrost r16p0 through r29p0 before r30p0, Valhall r19p0 through r29p0 before r30p0, and Midgard r28p0 through r30p0.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"exploited"},"has_fix":true,"headline":"Arm Mali GPU Kernel Driver Use-After-Free","id":"CVE-2021-29256","indexable":true,"kev":{"dateAdded":"2023-07-07","dueDate":"2023-07-28","knownRansomwareCampaignUse":"Unknown","product":"Mali Graphics Processing Unit (GPU)","requiredAction":"Apply updates per vendor instructions or discontinue use of the product if updates are unavailable.","vendorProject":"Arm","vulnerabilityName":"Arm Mali GPU Kernel Driver Use-After-Free Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":"arm:valhall_gpu_kernel_driver","products":["arm:valhall_gpu_kernel_driver"],"type":"use_after_free","year":"2021"},"n_packages":0,"n_references":1,"next":{"headline":"Denial of service in n/a","id":"CVE-2021-29258"},"packages":[],"prev":{"headline":"Information disclosure in n/a","id":"CVE-2021-29255"},"products":["n/a"],"published":"2021-05-24","related":[{"cvss_score":8.8,"headline":"Arm Mali GPU Kernel Driver Use-After-Free","id":"CVE-2022-38181","kev_date_added":"2023-03-30","published":"2022-10-25"},{"cvss_score":8.8,"headline":"Arm Mali Graphics Processing Unit (GPU) Use-After-Free","id":"CVE-2021-28663","kev_date_added":"2021-11-03","published":"2021-05-10"},{"cvss_score":8.8,"headline":"Arm Mali Graphics Processing Unit (GPU) Unspecified","id":"CVE-2021-28664","kev_date_added":"2021-11-03","published":"2021-05-10"},{"cvss_score":7.8,"headline":"Arm Mali GPU Kernel Driver Unspecified","id":"CVE-2022-22706","kev_date_added":"2023-03-30","published":"2022-03-03"},{"cvss_score":7.4,"headline":"Arm Mali GPU Kernel Driver Use-After-Free","id":"CVE-2024-4610","kev_date_added":"2024-06-12","published":"2024-06-07"},{"cvss_score":9.8,"headline":"Use after free in n/a","id":"CVE-2022-28348","kev_date_added":null,"published":"2022-05-19"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-10-21","vendors":["n/a"]},"summary":"An unprivileged user can exploit a use-after-free in the Arm Mali GPU kernel driver to disclose information or escalate privileges to root.","url":"https://insights.sbomify.com/CVE-2021-29256/"}