Re: [PATCH nf] netfilter: helper: Fix possible panic after nf_conntrack_helper_unregister

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

 



On Wed, Jun 13, 2018 at 12:26:13PM +0800, gfree.wind@xxxxxxxxxxx wrote:
> From: Gao Feng <gfree.wind@xxxxxxxxxxx>
> 
> The helper module would be unloaded after nf_conntrack_helper_unregister,
> so it may cause a possible panic caused by race.
> 
> nf_ct_iterate_destroy(unhelp, me) reset the helper of conntrack as NULL,
> but maybe someone has gotten the helper pointer during this period. Then
> it would panic, when it accesses the helper and the module was unloaded.

Applied, thanks.
--
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