NetSight
medium4.6

CVE-2006-0145

The kernfs_xread function in kernfs in NetBSD 1.6 through 2.1, and OpenBSD 3.8, does not properly validate file offsets against negative 32-bit values that occ…

Impact

The kernfs_xread function in kernfs in NetBSD 1.6 through 2.1, and OpenBSD 3.8, does not properly validate file offsets against negative 32-bit values that occur as a result of truncation, which allows local users to read arbitrary kernel memory and gain privileges via the lseek system call.

Affected products

VendorProductAffected versions
NetbsdNetbsd
Versions 1.6, 1.6.1, 1.6.2, 2.0, 2.0.1, 2.0.2

References