{"id":"CVE-2026-74452","summary":"drm/panthor: reject firmware sections with oversized data","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/panthor: reject firmware sections with oversized data\n\nIn panthor_fw_load_section_entry(), the data size to copy is calculated\nwithout validating it against the allocated section_size:\n\n    section-\u003edata.size = hdr.data.end - hdr.data.start;\n\nIf a crafted firmware sets data.size larger than the allocated memory,\nthis could cause a heap buffer overflow in panthor_fw_init_section_mem()\n\n    memcpy(section-\u003emem-\u003ekmap, section-\u003edata.buf, section-\u003edata.size);\n\nAdditionally, if the section-\u003edata.size exceeds the BO size, could this\nmemset underflow the size calculation, leading to a massive out-of-bounds\nzeroing of kernel memory?\n\n    memset(section-\u003emem-\u003ekmap + section-\u003edata.size, 0,\n           panthor_kernel_bo_size(section-\u003emem) - section-\u003edata.size);\n\nReject section entries whose initial data is larger than the section size.","modified":"2026-08-18T03:56:48.599545685Z","published":"2026-08-15T12:26:56.331Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74452.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0e57165ca025a67d8dfd17efd2765fdd4925fdab"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2a761b9be5863e1d26a584f0c2d1e114a684ed9a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7f4674d986c15c74327cb6ac6e2e2afecf061e04"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a3caaa06809248b996254be5b47e10804a3494e2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74452.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74452"},{"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":"2718d91816eeed03c09c8abe872e45f59078768c"},{"fixed":"0e57165ca025a67d8dfd17efd2765fdd4925fdab"},{"fixed":"2a761b9be5863e1d26a584f0c2d1e114a684ed9a"},{"fixed":"7f4674d986c15c74327cb6ac6e2e2afecf061e04"},{"fixed":"a3caaa06809248b996254be5b47e10804a3494e2"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74452.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.10.0"},{"fixed":"6.12.103"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.44"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.1.8"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74452.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}