CVE-2026-74320

Source
https://cve.org/CVERecord?id=CVE-2026-74320
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74320.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-74320
Downstream
Published
2026-08-15T05:58:16Z
Modified
2026-08-18T03:31:07Z
Summary
fbdev: sm501fb: Fix buffer errors in OF binding code
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74320.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
4295f9bf74a885da390abc49a3b42a011c1bb890
Fixed
0bc3d909a49e1fd8b8c3f2160d526e672c40621d
Fixed
47008d59c60ed896085da95f8d4dd40e1677dd3a
Fixed
d374f76e1257ecc5d691a765c512ed2c29a44741
Fixed
b2ff450f7f5cfc7143cab57c3ad70293ba8b822a
Fixed
9057e3f5db39f0ef0dac2f59f2bc59bf17e36c31
Fixed
de590cdf7efec8a0b6da90ae2ab5fc5df26810b9
Fixed
48cf0f4c6581ec90104cec9c5bf794a8bf347e30
Fixed
d8421e09382cfe0bd2a044c8b0a822f64855dd4e

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74320.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.6.39
Fixed
5.10.261
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.212
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.178
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.145
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.97
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.40
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74320.json"