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.
Published: 2026-08-15
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

In the Linux kernel’s Panthor DRM driver, a firmware loader incorrectly computes the amount of data to copy into a section without verifying that the computed size does not exceed the memory allocated for that section. This leads to a classic heap overflow when a crafted firmware file contains a data field larger than the allocated size, potentially corrupting arbitrary kernel memory through a memcpy operation and, if the overflow is large enough, zeroing out memory beyond the intended region during a memset. The resulting memory corruption can allow a local attacker who can load firmware to gain kernel privileges or execute arbitrary code.

Affected Systems

The vulnerability affects the Linux kernel, specifically the Panthor DRM driver responsible for handling external firmware files. No specific kernel versions are listed, indicating that the flaw exists in the driver code before the latest patch. Users running any kernel that includes the panthor firmware loading path and has not received the patch are potentially exposed.

Risk and Exploitability

The risk level is significant because the flaw modifies kernel memory and is not mitigated by sandboxing. The EPSS score is not available, but the absence from the CISA KEV catalog does not diminish the severity. The attack vector is likely local or requires privileged firmware injection, so an attacker must be able to provide a custom firmware image to the kernel. If that condition is met, the exploitation could lead to total compromise of the targeted system.

Generated by OpenCVE AI on August 15, 2026 at 13:32 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest kernel patch that implements bounds checking and overflow protection for firmware sections in the Panthor DRM driver.
  • If a patch is not yet available, disable the Panthor DRM driver or block the loading of external firmware until the vulnerability is fixed.
  • Regularly monitor kernel logs for oops or out‑of‑bounds error messages, and restrict firmware sources to trusted providers only.

Generated by OpenCVE AI on August 15, 2026 at 13:32 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 15 Aug 2026 14:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119
CWE-787

Sat, 15 Aug 2026 12:45:00 +0000

Type Values Removed Values Added
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.
Title drm/panthor: reject firmware sections with oversized data
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-15T12:26:56.331Z

Reserved: 2026-08-15T05:44:03.899Z

Link: CVE-2026-74452

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T13:17:49.790

Modified: 2026-08-15T13:17:49.790

Link: CVE-2026-74452

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-15T13:45:03Z

Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

  • CWE-787

    Out-of-bounds Write