Commit 25b0881
committed
bonding: fix null pointer deref in bond_ipsec_offload_ok
jira LE-3201
cve CVE-2024-44990
Rebuild_History Non-Buildable kernel-rt-4.18.0-553.27.1.rt7.368.el8_10
commit-author Nikolay Aleksandrov <razor@blackwall.org>
commit 95c90e4
We must check if there is an active slave before dereferencing the pointer.
Fixes: 18cb261 ("bonding: support hardware encryption offload to slaves")
Signed-off-by: Nikolay Aleksandrov <razor@blackwall.org>
Reviewed-by: Hangbin Liu <liuhangbin@gmail.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
(cherry picked from commit 95c90e4)
Signed-off-by: Jonathan Maple <jmaple@ciq.com>1 parent c81f67f commit 25b0881
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
579 | 579 | | |
580 | 580 | | |
581 | 581 | | |
| 582 | + | |
| 583 | + | |
582 | 584 | | |
583 | 585 | | |
584 | 586 | | |
| |||
0 commit comments