[lvc-project] [PATCH 3/3] staging: media: av7110: check dvb_net_init() result in av7110_register()

Fedor Pchelkin pchelkin at ispras.ru
Tue Nov 17 23:11:50 MSK 2026


On Mon, 02. Nov 17:51, Andrey Karelin wrote:
> av7110_register() ignores the return value of dvb_net_init() for both
> dvb_net and the optional budget-patch dvb_net1. dvb_net_init() fails if
> the net device cannot be registered and leaves dvbnet->dvbdev NULL.
> Probing then continues, and on device removal dvb_unregister() calls
> dvb_net_release(), which dereferences dvbnet->dvbdev.
> 
> Check the result and unwind on failure.
> 
> Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
> Cc: stable at vger.kernel.org
> Signed-off-by: Andrey Karelin <a.karelin at ideco.ru>

Серию применяю к 6.12.

Этот патч не применяется к веткам 5.10 и 6.1.  Просьба выслать серию
полностью, в применимом к 5.10 и 6.1 варианте, только в
lvc-patches at linuxtesting.org.  В теме письма нужно будет указать целевую
ветку, например [PATCH 5.10/6.1]



More information about the lvc-project mailing list