# CVE-2026-74452: drm/panthor: reject firmware sections with oversized data

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-01)
- Published: 2026-08-15T12:26:56.331Z
- Modified: 2026-08-17T06:19:41.070Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 2718d91816eeed03c09c8abe872e45f59078768c before 0e57165ca025a67d8dfd17efd2765fdd4925fdab; from 2718d91816eeed03c09c8abe872e45f59078768c before 2a761b9be5863e1d26a584f0c2d1e114a684ed9a; from 2718d91816eeed03c09c8abe872e45f59078768c before 7f4674d986c15c74327cb6ac6e2e2afecf061e04; from 2718d91816eeed03c09c8abe872e45f59078768c before a3caaa06809248b996254be5b47e10804a3494e2; 6.10 (not affected: before 6.10; from 6.12.103 up to 6.12.*; from 6.18.44 up to 6.18.*; from 7.1.8 up to 7.1.*; from 7.2 up to *)

## References

- <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>

## Sources

- CVE List: [CVE-2026-74452](https://www.cve.org/CVERecord?id=CVE-2026-74452), CVE Terms of Use, modified 2026-08-17
- NVD: [CVE-2026-74452](https://nvd.nist.gov/vuln/detail/CVE-2026-74452), Public domain, modified 2026-08-17

---

Page: https://cve.day/CVE-2026-74452 · Whole record: https://cve.day/CVE-2026-74452.json · Rebuilt by cve.day 2026-11-25T22:59:33.219Z
