summaryrefslogtreecommitdiff
path: root/lib/bootconfig-data.S
diff options
context:
space:
mode:
authorAndrey Vatoropin <a.vatoropin@crpt.ru>2025-12-17 09:11:05 +0000
committerSasha Levin <sashal@kernel.org>2026-03-04 07:20:55 -0500
commit3b5a754ec86bc6064af9aca76eb191c2405e6b0c (patch)
treecacf0416892dfdc34fb8c1ab6aad68774fc6e450 /lib/bootconfig-data.S
parentfb3c662fafebc5b9d74417ed1de8759f6bb72143 (diff)
fbcon: check return value of con2fb_acquire_newinfo()
[ Upstream commit 011a0502801c8536f64141a2b61362c14f456544 ] If fbcon_open() fails when called from con2fb_acquire_newinfo() then info->fbcon_par pointer remains NULL which is later dereferenced. Add check for return value of the function con2fb_acquire_newinfo() to avoid it. Found by Linux Verification Center (linuxtesting.org) with SVACE. Fixes: d1baa4ffa677 ("fbcon: set_con2fb_map fixes") Cc: stable@vger.kernel.org Signed-off-by: Andrey Vatoropin <a.vatoropin@crpt.ru> Signed-off-by: Helge Deller <deller@gmx.de> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'lib/bootconfig-data.S')
0 files changed, 0 insertions, 0 deletions