CVE-2026-74320

fbdev: sm501fb: Fix buffer errors in OF binding code

State
Published
Severity
Not scored
Published
Aug 15, 2026
Updated
Aug 17, 2026
Reserved
Aug 15, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 4295f9bf74a885da390abc49a3b42a011c1bb890 to before 0bc3d909a49e1fd8b8c3f2160d526e672c40621dAffected
  • 4295f9bf74a885da390abc49a3b42a011c1bb890 to before 47008d59c60ed896085da95f8d4dd40e1677dd3aAffected
  • 4295f9bf74a885da390abc49a3b42a011c1bb890 to before d374f76e1257ecc5d691a765c512ed2c29a44741Affected
  • 4295f9bf74a885da390abc49a3b42a011c1bb890 to before b2ff450f7f5cfc7143cab57c3ad70293ba8b822aAffected
  • 4295f9bf74a885da390abc49a3b42a011c1bb890 to before 9057e3f5db39f0ef0dac2f59f2bc59bf17e36c31Affected
  • 4295f9bf74a885da390abc49a3b42a011c1bb890 to before de590cdf7efec8a0b6da90ae2ab5fc5df26810b9Affected
  • 4295f9bf74a885da390abc49a3b42a011c1bb890 to before 48cf0f4c6581ec90104cec9c5bf794a8bf347e30Affected
  • 4295f9bf74a885da390abc49a3b42a011c1bb890 to before d8421e09382cfe0bd2a044c8b0a822f64855dd4eAffected
LinuxLinux
  • 2.6.39Affected
  • before 2.6.39Not affected
  • 5.10.261 through 5.10.*Not affected
  • 5.15.212 through 5.15.*Not affected
  • 6.1.178 through 6.1.*Not affected
  • 6.6.145 through 6.6.*Not affected
  • 6.12.97 through 6.12.*Not affected
  • 6.18.40 through 6.18.*Not affected
  • 7.1.5 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.