[PATCH 5.10 0/1] net/mlx5e: Fix nullptr in mlx5e_tc_add_fdb_flow()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The result of __dev_get_by_index() is not checked for NULL, which then
passed to mlx5e_attach_encap() and gets dereferenced.

This patch backports commit <fe7738e> to correct the issue in 5.10 branch.

Found by Linux Verification Center (linuxtesting.org) with SVACE.



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux