NetBSD Problem Report #24782
Received: (qmail 17860 invoked by uid 605); 15 Mar 2004 00:16:54 -0000
Message-Id: <1079309807.396172.12708.nullmailer@yamt.dyndns.org>
Date: Mon, 15 Mar 2004 09:16:47 +0900
From: yamt@mwd.biglobe.ne.jp
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: yamt@mwd.biglobe.ne.jp
To: gnats-bugs@gnats.netbsd.org
Subject: pool corruption in tcp/ip reassembly
X-Send-Pr-Version: 3.95
>Number: 24782
>Category: kern
>Synopsis: pool corruption in tcp/ip reassembly
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Mar 15 00:17:00 +0000 2004
>Closed-Date: Thu Nov 18 22:42:03 +0000 2004
>Last-Modified: Thu Nov 18 22:42:03 +0000 2004
>Originator: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
>Release: NetBSD 1.6ZK
>Organization:
>Environment:
System: NetBSD kaeru 1.6ZK NetBSD 1.6ZK (build.kaeru) #1088: Sun Mar 14 17:05:34 JST 2004 takashi@kaeru:/usr/home/takashi/work/kernel/build.kaeru i386
Architecture: i386
Machine: i386
>Description:
while ip_reass() is putting an item to ipqent_pool,
an interrupt can happen and it might do tcp_drain() and touch
the same pool.
>How-To-Repeat:
>Fix:
protect ipqent_pool with splnet?
>Release-Note:
>Audit-Trail:
From: YAMAMOTO Takashi <yamt@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: pr/24782 CVS commit: src/sys/netinet
Date: Wed, 15 Sep 2004 09:21:22 +0000 (UTC)
Module Name: src
Committed By: yamt
Date: Wed Sep 15 09:21:22 UTC 2004
Modified Files:
src/sys/netinet: tcp_input.c tcp_subr.c tcp_var.h
Log Message:
fix ipqent pool corruption problems. make tcp reass code use
its own pool of ipqent rather than sharing it with ip reass code.
PR/24782.
To generate a diff of this commit:
cvs rdiff -r1.208 -r1.209 src/sys/netinet/tcp_input.c
cvs rdiff -r1.172 -r1.173 src/sys/netinet/tcp_subr.c
cvs rdiff -r1.112 -r1.113 src/sys/netinet/tcp_var.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: Havard Eidnes <he@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: pr/24782 CVS commit: [netbsd-2-0] src/sys/netinet
Date: Sat, 18 Sep 2004 19:35:05 +0000 (UTC)
Module Name: src
Committed By: he
Date: Sat Sep 18 19:35:05 UTC 2004
Modified Files:
src/sys/netinet [netbsd-2-0]: tcp_input.c
Log Message:
Pull up revision 1.209 (requested by yamt in ticket #861):
Fix ipqent pool corruption problems. Make the TCP reassembly
code use its own pool of ipqent rather than sharing it with
the IP reassembly code. Fixes PR#24782.
To generate a diff of this commit:
cvs rdiff -r1.190.2.4 -r1.190.2.5 src/sys/netinet/tcp_input.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: Havard Eidnes <he@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: pr/24782 CVS commit: [netbsd-2-0] src/sys/netinet
Date: Sat, 18 Sep 2004 19:35:32 +0000 (UTC)
Module Name: src
Committed By: he
Date: Sat Sep 18 19:35:32 UTC 2004
Modified Files:
src/sys/netinet [netbsd-2-0]: tcp_subr.c
Log Message:
Pull up revision 1.173 (requested by yamt in ticket #861):
Fix ipqent pool corruption problems. Make the TCP reassembly
code use its own pool of ipqent rather than sharing it with
the IP reassembly code. Fixes PR#24782.
To generate a diff of this commit:
cvs rdiff -r1.160.2.3 -r1.160.2.4 src/sys/netinet/tcp_subr.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: Havard Eidnes <he@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: pr/24782 CVS commit: [netbsd-2-0] src/sys/netinet
Date: Sat, 18 Sep 2004 19:35:55 +0000 (UTC)
Module Name: src
Committed By: he
Date: Sat Sep 18 19:35:55 UTC 2004
Modified Files:
src/sys/netinet [netbsd-2-0]: tcp_var.h
Log Message:
Pull up revision 1.113 (requested by yamt in ticket #861):
Fix ipqent pool corruption problems. Make the TCP reassembly
code use its own pool of ipqent rather than sharing it with
the IP reassembly code. Fixes PR#24782.
To generate a diff of this commit:
cvs rdiff -r1.106.2.1 -r1.106.2.2 src/sys/netinet/tcp_var.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: yamt@netbsd.org
State-Changed-When: Thu, 18 Nov 2004 22:42:03 +0000
State-Changed-Why:
fixed.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.