{"id":"CVE-2026-74320","summary":"fbdev: sm501fb: Fix buffer errors in OF binding code","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nfbdev: sm501fb: Fix buffer errors in OF binding code\n\nThe code that gets the frame buffer mode from OF has 'use after free',\n'buffer overrun' and memory leaks.\n\ninfo-\u003eedid_data isn't free if the probe functions fail or if\npd-\u003edef_mode is set.\n\nIf both the CRT and PANEL are enabled info-\u003eedid_data is used after\nbeing freed and is freed twice.\n\nThe string returned by of_get_property(np, \"mode\", &len) is just\nwritten over either the static \"640x480-16@60\" or the module parameter\nstring without any regard for the length (which is most likely longer).\n\nUse kstrump() for the OF mode and free everything before freeing 'info.","modified":"2026-08-18T03:31:07.057994599Z","published":"2026-08-15T05:58:16.805Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74320.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0bc3d909a49e1fd8b8c3f2160d526e672c40621d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/47008d59c60ed896085da95f8d4dd40e1677dd3a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/48cf0f4c6581ec90104cec9c5bf794a8bf347e30"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9057e3f5db39f0ef0dac2f59f2bc59bf17e36c31"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b2ff450f7f5cfc7143cab57c3ad70293ba8b822a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d374f76e1257ecc5d691a765c512ed2c29a44741"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d8421e09382cfe0bd2a044c8b0a822f64855dd4e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/de590cdf7efec8a0b6da90ae2ab5fc5df26810b9"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74320.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74320"},{"type":"PACKAGE","url":"https://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"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"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"}}],"schema_version":"1.9.0"}