fbdev: sm501fb: Fix buffer errors in OF binding code (Linux Linux)

CVE-2026-74320
Non disponible

En bref

Source
NVD
EPSS
EPSS 0.22 % · centile 13 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Received

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.

Références

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected 4295f9bf74a885da390abc49a3b42a011c1bb890 < 0bc3d909a49e1fd8b8c3f2160d526e672c40621d ; affected 4295f9bf74a885da390abc49a3b42a011c1bb890 < 47008d59c60ed896085da95f8d4dd40e1677dd3a ; affected 4295f9bf74a885da390abc49a3b42a011c1bb890 < d374f76e1257ecc5d691a765c512ed2c29a44741 ; affected 4295f9bf74a885da390abc49a3b42a011c1bb890 < b2ff450f7f5cfc7143cab57c3ad70293ba8b822a ; affected 4295f9bf74a885da390abc49a3b42a011c1bb890 < 9057e3f5db39f0ef0dac2f59f2bc59bf17e36c31 ; affected 4295f9bf74a885da390abc49a3b42a011c1bb890 < de590cdf7efec8a0b6da90ae2ab5fc5df26810b9
Linux · Linuxaffected 2.6.39 ; unaffected 0 < 2.6.39 ; unaffected 5.10.261 ≤ 5.10.* ; unaffected 5.15.212 ≤ 5.15.* ; unaffected 6.1.178 ≤ 6.1.* ; unaffected 6.6.145 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD