Re: [PATCH nf-next 2/2] netfilter: nft_compat: fix crash when related match/target module is removed

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

 



On Sat, Jul 23, 2016 at 04:00:32PM +0800, Liping Zhang wrote:
> From: Liping Zhang <liping.zhang@xxxxxxxxxxxxxx>
> 
> We "cache" the loaded match/target modules and reuse them, but when the
> modules are removed, we still point to them. Then we may end up with
> invalid memory references when using iptables-compat to add rules later.
> 
> Input the following commands will reproduce the kernel crash:
>   # iptables-compat -A INPUT -j LOG
>   # iptables-compat -D INPUT -j LOG
>   # rmmod xt_LOG
>   # iptables-compat -A INPUT -j LOG
>   BUG: unable to handle kernel paging request at ffffffffa05a9010

Applied, thanks Zhang.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux