7.8

CVE-2026-74452

drm/panthor: reject firmware sections with oversized data

In the Linux kernel, the following vulnerability has been resolved:

drm/panthor: reject firmware sections with oversized data

In panthor_fw_load_section_entry(), the data size to copy is calculated
without validating it against the allocated section_size:

    section->data.size = hdr.data.end - hdr.data.start;

If a crafted firmware sets data.size larger than the allocated memory,
this could cause a heap buffer overflow in panthor_fw_init_section_mem()

    memcpy(section->mem->kmap, section->data.buf, section->data.size);

Additionally, if the section->data.size exceeds the BO size, could this
memset underflow the size calculation, leading to a massive out-of-bounds
zeroing of kernel memory?

    memset(section->mem->kmap + section->data.size, 0,
           panthor_kernel_bo_size(section->mem) - section->data.size);

Reject section entries whose initial data is larger than the section size.
Daten sind bereitgestellt durch das CVE Programm von einer CVE Numbering Authority (CNA) (Unstrukturiert).
HerstellerLinux
Produkt Linux
Default Statusunaffected
Version 2718d91816eeed03c09c8abe872e45f59078768c
Version < 0e57165ca025a67d8dfd17efd2765fdd4925fdab
Status affected
Version 2718d91816eeed03c09c8abe872e45f59078768c
Version < 2a761b9be5863e1d26a584f0c2d1e114a684ed9a
Status affected
Version 2718d91816eeed03c09c8abe872e45f59078768c
Version < 7f4674d986c15c74327cb6ac6e2e2afecf061e04
Status affected
Version 2718d91816eeed03c09c8abe872e45f59078768c
Version < a3caaa06809248b996254be5b47e10804a3494e2
Status affected
HerstellerLinux
Produkt Linux
Default Statusaffected
Version 6.10
Status affected
Version 0
Version < 6.10
Status unaffected
Version <= 6.12.*
Version 6.12.103
Status unaffected
Version <= 6.18.*
Version 6.18.44
Status unaffected
Version <= 7.1.*
Version 7.1.8
Status unaffected
Version <= *
Version 7.2
Status unaffected
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.14% 0.04
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
416baaa9-dc9f-4396-8d5f-8c081fb06d67 7.8 1.8 5.9
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Es wurden noch keine Informationen zu CWE veröffentlicht.
https://git.kernel.org/stable/c/0e57165ca025a67d8dfd17efd2765fdd4925fdab
https://git.kernel.org/stable/c/2a761b9be5863e1d26a584f0c2d1e114a684ed9a
https://git.kernel.org/stable/c/7f4674d986c15c74327cb6ac6e2e2afecf061e04
https://git.kernel.org/stable/c/a3caaa06809248b996254be5b47e10804a3494e2