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

fbdev: sm501fb: Fix buffer errors in OF binding code

The code that gets the frame buffer mode from OF has 'use after free',
'buffer overrun' and memory leaks.

info->edid_data isn't free if the probe functions fail or if
pd->def_mode is set.

If both the CRT and PANEL are enabled info->edid_data is used after
being freed and is freed twice.

The string returned by of_get_property(np, "mode", &len) is just
written over either the static "640x480-16@60" or the module parameter
string without any regard for the length (which is most likely longer).

Use kstrump() for the OF mode and free everything before freeing 'info.
Published: 2026-08-15
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The sm501fb framebuffer driver in the Linux kernel incorrectly handles the frame buffer mode string obtained from the device tree. The driver writes this string into a fixed buffer without checking its length, leading to a buffer overrun. Additionally, the driver frees context structures in multiple places, resulting in use‑after‑free and memory leaks. These bugs cause kernel memory corruption and could corrupt data structures that the kernel uses for critical operations.

Affected Systems

All Linux kernel releases that include the sm501fb fbdev driver and load the driver via device tree bindings containing CRT or PANEL settings are affected. The vulnerability exists in any kernel prior to the commits referenced in the advisory, regardless of distribution patch level.

Risk and Exploitability

The CVSS score of 5.5 indicates a medium severity vulnerability, and the EPSS score is under 1%, reflecting a low expected exploitation probability. The vulnerability is not listed in CISA’s KEV catalog. A local attacker or an entity that can modify the device tree used during boot may potentially trigger the overrun or use‑after‑free paths. The likely attack vector is manipulation of the OF mode string or probe path, but this inference is not explicitly stated in the CVE data; it follows from the description of the flawed code.

Generated by OpenCVE AI on August 22, 2026 at 02:10 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that contains the sm501fb buffer error fix.
  • If upgrading is not possible, unload or disable the sm501fb driver (e.g., by running "modprobe -r sm501fb" or adding "blacklist sm501fb" to /etc/modprobe.d/).
  • Ensure that any device tree configuration for CRT or PANEL that activates the buggy OF binding is removed or commented out so that the driver is never exercised during boot.

Generated by OpenCVE AI on August 22, 2026 at 02:10 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 22 Aug 2026 00:45:00 +0000

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

Wed, 19 Aug 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-120
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


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

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

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

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: fbdev: sm501fb: Fix buffer errors in OF binding code The code that gets the frame buffer mode from OF has 'use after free', 'buffer overrun' and memory leaks. info->edid_data isn't free if the probe functions fail or if pd->def_mode is set. If both the CRT and PANEL are enabled info->edid_data is used after being freed and is freed twice. The string returned by of_get_property(np, "mode", &len) is just written over either the static "640x480-16@60" or the module parameter string without any regard for the length (which is most likely longer). Use kstrump() for the OF mode and free everything before freeing 'info.
Title fbdev: sm501fb: Fix buffer errors in OF binding code
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-17T05:17:10.332Z

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

Link: CVE-2026-74320

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T06:22:32.457

Modified: 2026-08-17T06:19:26.403

Link: CVE-2026-74320

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-15T00:00:00Z

Links: CVE-2026-74320 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-22T02:15:03Z

Weaknesses
  • CWE-120

    Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')