Skip to content

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 occur as a result of truncation, which allow...

MediumCVSS 4.6 EPSS 0.37%
Published
Updated
Exploit status
No public exploit known

Description

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.

Upgrade path

1 package: 0 fixed.

PackageAffectedFixed inStatus
netbsd = 1.6; = 1.6-beta; = 1.6.1; = 1.6.2 +5 more No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
netbsd = 1.6 No fix listed
netbsd = 1.6-beta No fix listed
netbsd = 1.6.1 No fix listed
netbsd = 1.6.2 No fix listed
netbsd = 2.0 No fix listed
netbsd = 2.0.1 No fix listed
netbsd = 2.0.2 No fix listed
netbsd = 2.0.3 No fix listed
netbsd = 2.1 No fix listed

References