[lvc-project] [PATCH 5.10] fbcon: Add check for return value
Fedor Pchelkin
pchelkin at ispras.ru
Tue Dec 23 09:34:21 MSK 2025
On Tue, 23. Dec 06:31, Ваторопин Андрей wrote:
> From: Andrey Vatoropin <a.vatoropin at crpt.ru>
>
> 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 at vger.kernel.org
> Signed-off-by: Andrey Vatoropin <a.vatoropin at crpt.ru>
> ---
Отправлять патчи в stable at vger.kernel.org до их принятия в апстрим
нельзя.
Я просил отправить в для lvc-5.10 ветки, и патч, отправленный в
lvc-patches at linuxtesting.org, мы в lvc-ветку добавили.
More information about the lvc-project
mailing list