misc/129855: ipcs integer overflow with UIDs bigger than 65535

Peter Keel peter.keel at hostpoint.ch
Mon Dec 22 06:10:01 PST 2008


>Number:         129855
>Category:       misc
>Synopsis:       ipcs integer overflow with UIDs bigger than 65535
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 22 14:10:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Peter Keel
>Release:        6.3p5
>Organization:
Hostpoint AG
>Environment:
FreeBSD server 6.3-RELEASE-p5 FreeBSD 6.3-RELEASE-p5 #9: Mon Oct 20 14:08:45 UTC 2008     root at server:/usr/obj/usr/src/sys/SMP-IPFW  amd64
>Description:
ipcs can't cope with UIDs bigger than 65535

# ipcs -m
Shared Memory:
T           ID          KEY MODE        OWNER    GROUP
m       196608            0 --rw-------    58928    58928
m       131073            0 --rw-------    58928    58928
m       131074            0 --rw-------    58928    58928
m       131075            0 --rw-------    58928    58928
m       131076            0 --rw-------    58928    58928
m       196671            0 --rw-------    58928    58928

The owner of this shared memory really is 124464

>How-To-Repeat:
add a user with a UID bigger than 65535; make him allocate shared memory, and behold. 

>Fix:


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


More information about the freebsd-bugs mailing list