{"id":"CVE-2026-139434","summary":"accel/amdxdna: Reject device heap BO when dev_mem_size is not set","details":"In the Linux kernel, the following vulnerability has been resolved:\n\naccel/amdxdna: Reject device heap BO when dev_mem_size is not set\n\nNPU3 devices do not set dev_mem_size, since they do not use a device\nheap. Creating an AMDXDNA_BO_DEV_HEAP BO on such a device hits the\nWARN_ON(!is_power_of_2(dev_mem_size)) check, which any user with\naccess to the device node can trigger.\n\nReturn -EOPNOTSUPP when dev_mem_size is 0.","modified":"2026-12-01T21:02:38.208422888Z","published":"2026-11-30T13:34:43.277Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139434.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/3e32932d3626d0279f9b3531bd648f8c0a16cb08"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a837ade9bec1861a0491346fd2d463385e18df65"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139434.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139434"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"d76856beb4a4a6c42244054cd780c00f2d33de4e"},{"fixed":"a837ade9bec1861a0491346fd2d463385e18df65"},{"fixed":"3e32932d3626d0279f9b3531bd648f8c0a16cb08"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"33819cca7b76d5c2385c054f054c4b672ab989d5"}]}],"versions":["v6.18.66","v6.18.65","v6.18.64","v6.18.63","v6.18.62","v6.18.61","v6.18.60","v6.18.59","v6.18.58","v6.18.57"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139434.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.18.57"},{"fixed":"6.19"}]},{"type":"ECOSYSTEM","events":[{"introduced":"7.1.0"},{"fixed":"7.3.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139434.json"}}],"schema_version":"1.9.2"}