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.
References (9)
Core 9
Core References
Vendor Advisory third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/18712
Vendor Advisory x_refsource_misc
http://www.securitylab.net/research/2006/02/advisory_netbsd_openbsd_kernfs.html
Third Party Advisory third-party-advisory
x_refsource_sreason
http://securityreason.com/securityalert/405
Patch vdb-entry
x_refsource_bid
http://www.securityfocus.com/bid/16173
Vendor Advisory third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/18388
Third Party Advisory, VDB Entry vdb-entry
x_refsource_osvdb
http://www.osvdb.org/22293
Vendor Advisory vendor-advisory
x_refsource_netbsd
ftp://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2006-001.txt.asc
Third Party Advisory, VDB Entry vdb-entry
x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/24035
Third Party Advisory, VDB Entry mailing-list
x_refsource_bugtraq
http://www.securityfocus.com/archive/1/423827/100/0/threaded
Scores
EPSS
0.0007
EPSS Percentile
22.0%
Details
Status
published
Products (8)
netbsd/netbsd
1.6 (2 CPE variants)
netbsd/netbsd
1.6.1
netbsd/netbsd
1.6.2
netbsd/netbsd
2.0
netbsd/netbsd
2.0.1
netbsd/netbsd
2.0.2
netbsd/netbsd
2.0.3
netbsd/netbsd
2.1
Published
Jan 09, 2006
Tracked Since
Feb 18, 2026