[lkml]   [2007]   [Mar]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[patch 05/20] nfnetlink_log: fix use after free
-stable review patch.  If anyone has any objections, please let us know.

From: Patrick McHardy <>

[NETFILTER]: nfnetlink_log: fix use after free

Paranoia: instance_put() might have freed the inst pointer when we

Signed-off-by: Michal Miroslaw <>
Signed-off-by: Patrick McHardy <>
Signed-off-by: Greg Kroah-Hartman <>

net/netfilter/nfnetlink_log.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- a/net/netfilter/nfnetlink_log.c
+++ b/net/netfilter/nfnetlink_log.c
@@ -397,8 +397,8 @@ static void nfulnl_timer(unsigned long d
if (timer_pending(&inst->timer)) /* is it always true or false here? */
- instance_put(inst);
+ instance_put(inst);

/* This is an inline function, we don't really care about a long
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2007-03-10 07:23    [W:0.094 / U:3.832 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site