[PATCH net] ipv4: ensure rcu_read_lock() in cipso_v4_error()
David Miller
davem at davemloft.net
Sun Feb 23 05:47:09 UTC 2020
From: Matteo Croce <mcroce at redhat.com>
Date: Fri, 21 Feb 2020 12:28:38 +0100
> Similarly to commit c543cb4a5f07 ("ipv4: ensure rcu_read_lock() in
> ipv4_link_failure()"), __ip_options_compile() must be called under rcu
> protection.
>
> Fixes: 3da1ed7ac398 ("net: avoid use IPCB in cipso_v4_error")
> Suggested-by: Guillaume Nault <gnault at redhat.com>
> Signed-off-by: Matteo Croce <mcroce at redhat.com>
Applied and queued up for -stable, thanks.
More information about the Linux-security-module-archive
mailing list