Skip to content

CVE-2004-0114 The shmat system call in the System V Shared Memory interface for FreeBSD 5.2 and earlier, NetBSD 1.3 and earlier, and OpenBSD 2.6 and earlier, does not properly decrement a shared memory segment's re...

MediumCVSS 4.6 EPSS 0.72% Public exploit
Published
Updated
Exploit status
Public exploit available

Description

The shmat system call in the System V Shared Memory interface for FreeBSD 5.2 and earlier, NetBSD 1.3 and earlier, and OpenBSD 2.6 and earlier, does not properly decrement a shared memory segment's reference count when the vm_map_find function fails, which could allow local users to gain read or write access to a portion of kernel memory and gain privileges.

Upgrade path

3 packages: 3 fixed.

PackageAffectedFixed inStatus
freebsd <= 5.2 after 5.2 Fixed
netbsd <= 1.3 after 1.3 Fixed
OpenBSD <= 2.6 after 2.6 Fixed

Affected products

ProductAffected versionsFixed in
freebsd <= 5.2 No fix listed
netbsd <= 1.3 No fix listed
OpenBSD <= 2.6 No fix listed

References