{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2025-40354 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2025-40354 is a high-severity vulnerability in Linux, published on 16 Dec 2025. 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-2025-40354 and fix it if it is affected.\n\nWhat it is: CVE-2025-40354 is a high-severity vulnerability in Linux, published on 16 Dec 2025. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-40354 in the wild and no public exploit code.\n\nAffected product: Linux. 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-2025-40354/ (Markdown: https://insights.sbomify.com/CVE-2025-40354/index.md)","id":"CVE-2025-40354","markdown":"https://insights.sbomify.com/CVE-2025-40354/index.md","name":"CVE-2025-40354","record":{"aliases":["BELL-CVE-2025-40354","DEBIAN-CVE-2025-40354","GHSA-4hhj-gxrr-2grg","ROOT-OS-DEBIAN-11-CVE-2025-40354","ROOT-OS-DEBIAN-12-CVE-2025-40354","ROOT-OS-UBUNTU-2204-CVE-2025-40354","ROOT-OS-UBUNTU-2404-CVE-2025-40354","UBUNTU-CVE-2025-40354"],"analysis":{"component_type":"kernel","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Linux kernel","requires_auth":"low_privilege","summary":"A null pointer dereference in the AMD display driver can cause a system crash, requiring a kernel patch to resolve.","user_interaction":"not_required","vuln_class":"null_dereference"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Linux","cpe":[],"cvss":{"score":7.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[],"description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd/display: increase max link count and fix link-\u003eenc NULL pointer access\n\n[why]\n1.) dc-\u003elinks[MAX_LINKS] array size smaller than actual requested.\nmax_connector + max_dpia + 4 virtual = 14.\nincrease from 12 to 14.\n\n2.) hw_init() access null LINK_ENC for dpia non display_endpoint.\n\n(cherry picked from commit d7f5a61e1b04ed87b008c8d327649d184dc5bb45)","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"drm/amd/display: increase max link count and fix link-\u003eenc NULL pointer access","id":"CVE-2025-40354","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"null_dereference","year":"2025"},"n_packages":0,"n_references":3,"next":{"headline":"sysfs: check visibility before changing group attribute ownership","id":"CVE-2025-40355"},"packages":[],"prev":{"headline":"arm64: mte: Do not warn if the page is already tagged in copy_highpage()","id":"CVE-2025-40353"},"products":["Linux"],"published":"2025-12-16","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2026-08-05","vendors":["Linux"]},"summary":"A null pointer dereference in the AMD display driver can cause a system crash, requiring a kernel patch to resolve.","url":"https://insights.sbomify.com/CVE-2025-40354/"}