{"answers":{"affected":"It affects 4 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-6241 exists.","fix":"Apply the vendor's patch.","what":"CVE-2023-6241 is a high-severity use after free vulnerability in Arm Valhall Gpu Kernel Driver, published on 4 Mar 2024. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-6241 and fix it if it is affected.\n\nWhat it is: CVE-2023-6241 is a high-severity use after free vulnerability in Arm Valhall Gpu Kernel Driver, published on 4 Mar 2024. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-6241 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-2023-6241/ (Markdown: https://insights.sbomify.com/CVE-2023-6241/index.md)","id":"CVE-2023-6241","markdown":"https://insights.sbomify.com/CVE-2023-6241/index.md","name":"CVE-2023-6241","record":{"aliases":["A-316206835","ASB-A-316206835","GHSA-p6cr-4f2h-m98v"],"analysis":{"component_type":"kernel","fix_type":"patch","impacts":["privilege_escalation","code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Mali GPU Kernel Driver","requires_auth":"low_privilege","summary":"A local attacker can exploit a race condition in Mali GPU drivers to trigger a use-after-free, potentially leading to privilege escalation or code execution.","user_interaction":"not_required","vuln_class":"use_after_free"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Arm","cpe":[{"product":"5th_gen_gpu_architecture_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":7.8,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:L/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":"Use After Free vulnerability in Arm Ltd Midgard GPU Kernel Driver, Arm Ltd Bifrost GPU Kernel Driver, Arm Ltd Valhall GPU Kernel Driver, Arm Ltd Arm 5th Gen GPU Architecture Kernel Driver allows a local non-privileged user to exploit a software race condition to perform improper memory processing operations. If the system’s memory is carefully prepared by the user, then this in turn cause a use-after-free.This issue affects Midgard GPU Kernel Driver: from r13p0 through r32p0; Bifrost GPU Kernel Driver: from r11p0 through r25p0; Valhall GPU Kernel Driver: from r19p0 through r25p0, from r29p0 through r46p0; Arm 5th Gen GPU Architecture Kernel Driver: from r41p0 through r46p0.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2024-05-02","github_poc":2,"max_poc_stars":17,"metasploit":0,"nuclei":0,"refs":[{"date":"2024-05-02T02:17:31Z","kind":"github_poc","ref":"https://github.com/s1204IT/CVE-2023-6241","stars":17,"title":"CVE-2023-6241 for Pixel 8"},{"date":"2024-09-17T07:19:54Z","kind":"github_poc","ref":"https://github.com/ilGobbo00/CVE-2023-6241-Pixel7_Adaptation","stars":15,"title":"Adaptation of CVE-2023-6241 for Google Pixel 7 from Google Pixel 8 taken from securitylab/SecurityExploits/Android/Mali/CVE_2023_6241"}],"tier":"weaponised"},"has_fix":true,"headline":"Mali GPU Kernel Driver allows improper GPU memory processing operations","id":"CVE-2023-6241","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":"2023"},"n_packages":0,"n_references":1,"next":{"headline":"Cross-site request forgery in EventON (Pro) - WordPress Virtual Event Calendar Plugin","id":"CVE-2023-6242"},"packages":[],"prev":{"headline":"Kernel: marvin vulnerability side-channel leakage in the rsa decryption operation","id":"CVE-2023-6240"},"products":["Arm 5th Gen GPU Architecture Kernel Driver","Bifrost GPU Kernel Driver","Midgard GPU Kernel Driver","Valhall GPU Kernel Driver"],"published":"2024-03-04","related":[{"cvss_score":5.5,"headline":"Arm Mali GPU Kernel Driver Use-After-Free","id":"CVE-2023-4211","kev_date_added":"2023-10-03","published":"2023-10-01"},{"cvss_score":3.3,"headline":"Arm Mali GPU Kernel Driver Information Disclosure","id":"CVE-2023-26083","kev_date_added":"2023-04-07","published":"2023-04-06"},{"cvss_score":8.4,"headline":"Mali GPU Kernel Driver allows improper GPU memory processing operations","id":"CVE-2023-6143","kev_date_added":null,"published":"2024-03-04"},{"cvss_score":7.8,"headline":"Mali GPU Kernel Driver allows improper GPU memory processing operations","id":"CVE-2025-0073","kev_date_added":null,"published":"2025-06-02"},{"cvss_score":7.8,"headline":"Mali GPU Kernel Driver allows access to already freed memory","id":"CVE-2025-0819","kev_date_added":null,"published":"2025-06-02"},{"cvss_score":7.8,"headline":"Mali GPU Kernel Driver allows improper GPU memory processing operations","id":"CVE-2025-0072","kev_date_added":null,"published":"2025-05-02"},{"cvss_score":7.8,"headline":"Mali GPU Kernel Driver allows access to already freed memory","id":"CVE-2025-0427","kev_date_added":null,"published":"2025-05-02"}],"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":"2025-03-13","vendors":["Arm Ltd"]},"summary":"A local attacker can exploit a race condition in Mali GPU drivers to trigger a use-after-free, potentially leading to privilege escalation or code execution.","url":"https://insights.sbomify.com/CVE-2023-6241/"}