https://github.com/torvalds/linux
Revision c5da4b68d2a8592a7535bb9e4523158088a6538b authored by Jakub Kicinski on 22 September 2022, 13:40:15 UTC, committed by Jakub Kicinski on 22 September 2022, 13:40:16 UTC
Jonathan Toppins says:

====================
bonding: fix NULL deref in bond_rr_gen_slave_id

Fix a NULL dereference of the struct bonding.rr_tx_counter member because
if a bond is initially created with an initial mode != zero (Round Robin)
the memory required for the counter is never created and when the mode is
changed there is never any attempt to verify the memory is allocated upon
switching modes.
====================

Link: https://lore.kernel.org/r/cover.1663694476.git.jtoppins@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2 parent s 2002fba + 2ffd573
History
Tip revision: c5da4b68d2a8592a7535bb9e4523158088a6538b authored by Jakub Kicinski on 22 September 2022, 13:40:15 UTC
Merge branch 'bonding-fix-null-deref-in-bond_rr_gen_slave_id'
Tip revision: c5da4b6
File Mode Size
kvm
lib
Makefile -rw-r--r-- 54 bytes

back to top