{"id":"CVE-2025-40354","published":"2025-12-16T13:30:27Z","modified":"2026-08-05T12:09:51Z","title":"drm/amd/display: increase max link count and fix link->enc NULL pointer access","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd/display: increase max link count and fix link->enc NULL pointer access\n\n[why]\n1.) dc->links[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)","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0023,"percentile":0.08242,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/f28092be4e12b7df9e4f415d25bf0d767bc2d9ed","tags":[]},{"url":"https://git.kernel.org/stable/c/a3fc0d36cfb927f8986b83bf5fba47dbedad3c63","tags":[]},{"url":"https://git.kernel.org/stable/c/bec947cbe9a65783adb475a5fb47980d7b4f4796","tags":[]}],"priority":{"score":7.1,"factors":[{"name":"EPSS percentile","points":1.65},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, < f28092be4e12b7df9e4f415d25bf0d767bc2d9ed",">= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, < a3fc0d36cfb927f8986b83bf5fba47dbedad3c63",">= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, < bec947cbe9a65783adb475a5fb47980d7b4f4796"]},{"vendor":"Linux","product":"Linux","versions":["4.15"]}],"euvd":{"id":"EUVD-2025-203633","exploited":false,"provenance":"source"}}