---
id: CVE-2026-74320
title: 'fbdev: sm501fb: Fix buffer errors in OF binding code'
summary: |-
  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->e…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 4295f9bf74a885da390abc49a3b42a011c1bb890 <
    0bc3d909a49e1fd8b8c3f2160d526e672c40621d
  - >-
    Linux >= 4295f9bf74a885da390abc49a3b42a011c1bb890 <
    47008d59c60ed896085da95f8d4dd40e1677dd3a
  - >-
    Linux >= 4295f9bf74a885da390abc49a3b42a011c1bb890 <
    d374f76e1257ecc5d691a765c512ed2c29a44741
  - >-
    Linux >= 4295f9bf74a885da390abc49a3b42a011c1bb890 <
    b2ff450f7f5cfc7143cab57c3ad70293ba8b822a
  - >-
    Linux >= 4295f9bf74a885da390abc49a3b42a011c1bb890 <
    9057e3f5db39f0ef0dac2f59f2bc59bf17e36c31
  - >-
    Linux >= 4295f9bf74a885da390abc49a3b42a011c1bb890 <
    de590cdf7efec8a0b6da90ae2ab5fc5df26810b9
  - >-
    Linux >= 4295f9bf74a885da390abc49a3b42a011c1bb890 <
    48cf0f4c6581ec90104cec9c5bf794a8bf347e30
  - >-
    Linux >= 4295f9bf74a885da390abc49a3b42a011c1bb890 <
    d8421e09382cfe0bd2a044c8b0a822f64855dd4e
  - Linux 2.6.39
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-06T16:56:00.818973Z'
published: '2026-08-15'
updated: '2026-11-06'
sourceUpdated: '2026-11-06T17:05:43.745Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-74320'
references:
  - url: 'https://git.kernel.org/stable/c/0bc3d909a49e1fd8b8c3f2160d526e672c40621d'
  - url: 'https://git.kernel.org/stable/c/47008d59c60ed896085da95f8d4dd40e1677dd3a'
  - url: 'https://git.kernel.org/stable/c/d374f76e1257ecc5d691a765c512ed2c29a44741'
  - url: 'https://git.kernel.org/stable/c/b2ff450f7f5cfc7143cab57c3ad70293ba8b822a'
  - url: 'https://git.kernel.org/stable/c/9057e3f5db39f0ef0dac2f59f2bc59bf17e36c31'
  - url: 'https://git.kernel.org/stable/c/de590cdf7efec8a0b6da90ae2ab5fc5df26810b9'
  - url: 'https://git.kernel.org/stable/c/48cf0f4c6581ec90104cec9c5bf794a8bf347e30'
  - url: 'https://git.kernel.org/stable/c/d8421e09382cfe0bd2a044c8b0a822f64855dd4e'
tags:
  - cve.org
epss: 0.0022
epssPercentile: 0.12553
ingestedAt: '2026-11-06T18:00:12.570Z'
---

## Overview

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.

## Affected

- `Linux >= 4295f9bf74a885da390abc49a3b42a011c1bb890 < 0bc3d909a49e1fd8b8c3f2160d526e672c40621d`
- `Linux >= 4295f9bf74a885da390abc49a3b42a011c1bb890 < 47008d59c60ed896085da95f8d4dd40e1677dd3a`
- `Linux >= 4295f9bf74a885da390abc49a3b42a011c1bb890 < d374f76e1257ecc5d691a765c512ed2c29a44741`
- `Linux >= 4295f9bf74a885da390abc49a3b42a011c1bb890 < b2ff450f7f5cfc7143cab57c3ad70293ba8b822a`
- `Linux >= 4295f9bf74a885da390abc49a3b42a011c1bb890 < 9057e3f5db39f0ef0dac2f59f2bc59bf17e36c31`
- `Linux >= 4295f9bf74a885da390abc49a3b42a011c1bb890 < de590cdf7efec8a0b6da90ae2ab5fc5df26810b9`
- `Linux >= 4295f9bf74a885da390abc49a3b42a011c1bb890 < 48cf0f4c6581ec90104cec9c5bf794a8bf347e30`
- `Linux >= 4295f9bf74a885da390abc49a3b42a011c1bb890 < d8421e09382cfe0bd2a044c8b0a822f64855dd4e`
- `Linux 2.6.39`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
