[SRU][F][PATCH 0/1] CVE-2021-47501

Koichiro Den koichiro.den at canonical.com
Mon Oct 28 07:46:56 UTC 2024


[Impact]

i40e: Fix NULL pointer dereference in i40e_dbg_dump_desc

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.

[Fix]

Noble:  not affected
Jammy:  fixed via stable
Focal:  Backport - context adjustments
Bionic: fix sent to esm ML
Xenial: fix sent to esm ML
Trusty: won't fix

[Test Case]

Compile tested only.

[Where problems could occur]

Due to the limited scope and benefits of the patch, a regression is unlikely.
Also, any future backport is highly unlikely to introduce code discrepancy
since VSI types that require netdev and rings had been unchanged since
v3.12 up to the backported upstream fix commit.


Norbert Zulinski (1):
  i40e: Fix NULL pointer dereference in i40e_dbg_dump_desc

 drivers/net/ethernet/intel/i40e/i40e_debugfs.c | 8 ++++++++
 1 file changed, 8 insertions(+)

-- 
2.43.0




More information about the kernel-team mailing list