[Intel-wired-lan] [PATCH net v2] i40e: Fix NULL pointer dereference in i40e_dbg_dump_desc

G, GurucharanX gurucharanx.g at intel.com
Wed Nov 24 12:18:05 UTC 2021



> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of
> Mateusz Palczewski
> Sent: Monday, November 22, 2021 4:59 PM
> To: intel-wired-lan at lists.osuosl.org
> Cc: Dziedziuch, SylwesterX <sylwesterx.dziedziuch at intel.com>; Palczewski,
> Mateusz <mateusz.palczewski at intel.com>; Zulinski, NorbertX
> <norbertx.zulinski at intel.com>
> Subject: [Intel-wired-lan] [PATCH net v2] i40e: Fix NULL pointer dereference in
> i40e_dbg_dump_desc
> 
> From: Norbert Zulinski <norbertx.zulinski at intel.com>
> 
> When trying to dump VFs VSI RX/TX descriptors using debugfs there was a crash
> due to NULL pointer dereference in i40e_dbg_dump_desc.
> Added a check to i40e_dbg_dump_desc that checks if VSI type is correct for
> dumping RX/TX descriptors.
> 
> Fixes: 02e9c290814c ("i40e: debugfs interface")
> Signed-off-by: Sylwester Dziedziuch <sylwesterx.dziedziuch at intel.com>
> Signed-off-by: Norbert Zulinski <norbertx.zulinski at intel.com>
> Signed-off-by: Mateusz Palczewski <mateusz.palczewski at intel.com>
> ---
>  v2: Added missing signed-off-by tag
> ---
>  drivers/net/ethernet/intel/i40e/i40e_debugfs.c | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 

Tested-by: Gurucharan G <gurucharanx.g at intel.com> (A Contingent worker at Intel)


More information about the Intel-wired-lan mailing list