NetBSD-Bugs archive

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

kern/42053: access of procfs occurs anonpage data leak



>Number:         42053
>Category:       kern
>Synopsis:       access of procfs occurs anonpage data leak
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Sep 12 19:30:00 +0000 2009
>Originator:     SHIMIZU Ryo
>Release:        NetBSD 5.0.1
>Organization:
>Environment:
NetBSD test 5.0.1 NetBSD 5.0.1 (GENERIC) #0: Thu Jul 30 01:39:11 UTC 2009 
builds%b8.netbsd.org@localhost:/home/builds/ab/netbsd-5-0-1-RELEASE/i386\
/200907292356Z-obj/home/builds/ab/netbsd-5-0-1-RELEASE/src/sys/arch/i386/compile/GENERIC
 i386
>Description:
access /proc/#/stat many times, anonpage data leaks.
then, occur "out of swap" and crash kernel.

>How-To-Repeat:
$ while true; do find /proc -name stat -exec cat {} \;; done > /dev/null

in other terminal, for confirmation
$ systat 1 buf
"pages for anon (non-file) data" increase and never release.

>Fix:
not known



Home | Main Index | Thread Index | Old Index