fbdev: sm501fb: Fix buffer errors in OF binding code
Summary
| CVE | CVE-2026-74320 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-08-15 06:22:32 UTC |
| Updated | 2026-08-15 06:22:32 UTC |
| 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. |
Risk And Classification
EPSS: 0.001760000 probability, percentile 0.074260000 (date 2026-08-15)
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 4295f9bf74a885da390abc49a3b42a011c1bb890 0bc3d909a49e1fd8b8c3f2160d526e672c40621d git | Not specified |
| CNA | Linux | Linux | affected 4295f9bf74a885da390abc49a3b42a011c1bb890 47008d59c60ed896085da95f8d4dd40e1677dd3a git | Not specified |
| CNA | Linux | Linux | affected 4295f9bf74a885da390abc49a3b42a011c1bb890 d374f76e1257ecc5d691a765c512ed2c29a44741 git | Not specified |
| CNA | Linux | Linux | affected 4295f9bf74a885da390abc49a3b42a011c1bb890 b2ff450f7f5cfc7143cab57c3ad70293ba8b822a git | Not specified |
| CNA | Linux | Linux | affected 4295f9bf74a885da390abc49a3b42a011c1bb890 9057e3f5db39f0ef0dac2f59f2bc59bf17e36c31 git | Not specified |
| CNA | Linux | Linux | affected 4295f9bf74a885da390abc49a3b42a011c1bb890 de590cdf7efec8a0b6da90ae2ab5fc5df26810b9 git | Not specified |
| CNA | Linux | Linux | affected 4295f9bf74a885da390abc49a3b42a011c1bb890 48cf0f4c6581ec90104cec9c5bf794a8bf347e30 git | Not specified |
| CNA | Linux | Linux | affected 4295f9bf74a885da390abc49a3b42a011c1bb890 d8421e09382cfe0bd2a044c8b0a822f64855dd4e git | Not specified |
| CNA | Linux | Linux | affected 2.6.39 | Not specified |
| CNA | Linux | Linux | unaffected 2.6.39 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.261 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.212 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.178 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.145 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.97 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.40 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.1.5 7.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.2-rc1 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/48cf0f4c6581ec90104cec9c5bf794a8bf347e30 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/d374f76e1257ecc5d691a765c512ed2c29a44741 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/47008d59c60ed896085da95f8d4dd40e1677dd3a | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/9057e3f5db39f0ef0dac2f59f2bc59bf17e36c31 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/0bc3d909a49e1fd8b8c3f2160d526e672c40621d | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/de590cdf7efec8a0b6da90ae2ab5fc5df26810b9 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/d8421e09382cfe0bd2a044c8b0a822f64855dd4e | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/b2ff450f7f5cfc7143cab57c3ad70293ba8b822a | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.