{"answers":{"affected":"It affects 4 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-46395 exists.","fix":"Apply the vendor's patch.","what":"CVE-2022-46395 is a high-severity use after free vulnerability in Arm Valhall Gpu Kernel Driver, published on 6 Mar 2023. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-46395 and fix it if it is affected.\n\nWhat it is: CVE-2022-46395 is a high-severity use after free vulnerability in Arm Valhall Gpu Kernel Driver, published on 6 Mar 2023. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-46395 exists.\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-2022-46395/ (Markdown: https://insights.sbomify.com/CVE-2022-46395/index.md)","id":"CVE-2022-46395","markdown":"https://insights.sbomify.com/CVE-2022-46395/index.md","name":"CVE-2022-46395","record":{"aliases":["A-267357916","ASB-A-267357916","GHSA-fpqq-p5q5-4fhw"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["privilege_escalation","code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Android GPU driver","requires_auth":"low_privilege","summary":"A non-privileged user can exploit a use-after-free in the Arm Mali GPU driver to gain elevated privileges or execute code on Android devices.","user_interaction":"not_required","vuln_class":"use_after_free"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"avalon_gpu_kernel_driver","vendor":"arm"},{"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":"nvd","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":"An issue was discovered in the Arm Mali GPU Kernel Driver. A non-privileged user can make improper GPU processing operations to gain access to already freed memory. This affects Midgard r0p0 through r32p0, Bifrost r0p0 through r41p0 before r42p0, Valhall r19p0 through r41p0 before r42p0, and Avalon r41p0 before r42p0.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2023-06-29","github_poc":4,"max_poc_stars":2,"metasploit":0,"nuclei":0,"refs":[{"date":"2024-06-28T16:37:46Z","kind":"github_poc","ref":"https://github.com/SmileTabLabo/CVE-2022-46395","stars":2,"title":null},{"date":"2023-06-29T18:54:27Z","kind":"github_poc","ref":"https://github.com/Pro-me3us/CVE_2022_46395_Gazelle","stars":1,"title":"CVE-2022-46395 POC for FireTV 3rd gen Cube (gazelle) "},{"date":"2023-06-29T18:56:04Z","kind":"github_poc","ref":"https://github.com/Pro-me3us/CVE_2022_46395_Raven","stars":0,"title":"CVE-2022-46395 POC for FireTV 2nd gen Cube (raven) "},{"date":"2026-06-05T00:52:44Z","kind":"github_poc","ref":"https://github.com/Gao-Zuin/cve-2022-46395-qemu","stars":0,"title":null}],"tier":"weaponised"},"has_fix":true,"headline":"Use after free in n/a","id":"CVE-2022-46395","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"arm:valhall_gpu_kernel_driver","products":["arm:valhall_gpu_kernel_driver"],"type":"use_after_free","year":"2022"},"n_packages":0,"n_references":3,"next":{"headline":"Memory corruption in n/a","id":"CVE-2022-46396"},"packages":[],"prev":{"headline":"Use after free in n/a","id":"CVE-2022-46394"},"products":["n/a"],"published":"2023-03-06","related":[{"cvss_score":8.8,"headline":"Use after free in n/a","id":"CVE-2022-46394","kev_date_added":null,"published":"2023-03-08"},{"cvss_score":5.5,"headline":"Use after free in n/a","id":"CVE-2023-28469","kev_date_added":null,"published":"2023-06-02"},{"cvss_score":5.5,"headline":"Use after free in n/a","id":"CVE-2023-28147","kev_date_added":null,"published":"2023-06-01"},{"cvss_score":4.4,"headline":"Memory corruption in n/a","id":"CVE-2022-46396","kev_date_added":null,"published":"2023-04-11"},{"cvss_score":3.3,"headline":"Memory corruption in n/a","id":"CVE-2022-46781","kev_date_added":null,"published":"2023-04-06"}],"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":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-11-27","vendors":["n/a"]},"summary":"A non-privileged user can exploit a use-after-free in the Arm Mali GPU driver to gain elevated privileges or execute code on Android devices.","url":"https://insights.sbomify.com/CVE-2022-46395/"}