Subject: kern/26433: pf nat attempts to modify read-only mbufs
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <yamt@mwd.biglobe.ne.jp>
List: netbsd-bugs
Date: 07/26/2004 22:58:59
>Number:         26433
>Category:       kern
>Synopsis:       pf nat attempts to modify read-only mbufs
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 26 14:10:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
>Release:        NetBSD 2.0G
>Organization:

>Environment:
	
	
System: NetBSD kaeru 2.0G NetBSD 2.0G (build.kaeru) #1566: Mon Jul 26 10:10:31 JST 2004 takashi@kaeru:/home/takashi/work/kernel/build.kaeru i386
Architecture: i386
Machine: i386
>Description:
	pf nat code seems to have false assumptions that it can
	always modify mbuf contents.
	eg. pf_test_state_tcp() does m_copyback.
>How-To-Repeat:
	code inspection
>Fix:
	copy mbufs before modifing it?

>Release-Note:
>Audit-Trail:
>Unformatted: