Unrated severityNVD Advisory· Published Jan 9, 2006· Updated Jun 16, 2026
CVE-2006-0145
CVE-2006-0145
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
11cpe:2.3:o:netbsd:netbsd:1.6:*:*:*:*:*:*:*+ 9 more
- cpe:2.3:o:netbsd:netbsd:1.6:*:*:*:*:*:*:*
- cpe:2.3:o:netbsd:netbsd:1.6.1:*:*:*:*:*:*:*
- cpe:2.3:o:netbsd:netbsd:1.6.2:*:*:*:*:*:*:*
- cpe:2.3:o:netbsd:netbsd:1.6:beta:*:*:*:*:*:*
- cpe:2.3:o:netbsd:netbsd:2.0:*:*:*:*:*:*:*
- cpe:2.3:o:netbsd:netbsd:2.0.1:*:*:*:*:*:*:*
- cpe:2.3:o:netbsd:netbsd:2.0.2:*:*:*:*:*:*:*
- cpe:2.3:o:netbsd:netbsd:2.0.3:*:*:*:*:*:*:*
- cpe:2.3:o:netbsd:netbsd:2.1:*:*:*:*:*:*:*
- (no CPE)range: 1.6 - 2.1
Patches
Vulnerability mechanics
No source-code context for this CVE — mechanics is only generated when we can read the actual fix diff. Without that, the four sections (root cause, attack vector, affected code, fix) would be speculation rather than analysis.
References
9- www.securityfocus.com/bid/16173nvdPatch
- secunia.com/advisories/18388nvdVendor Advisory
- secunia.com/advisories/18712nvdVendor Advisory
- www.securitylab.net/research/2006/02/advisory_netbsd_openbsd_kernfs.htmlnvdVendor Advisory
- ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2006-001.txt.ascnvd
- securityreason.com/securityalert/405nvd
- www.osvdb.org/22293nvd
- www.securityfocus.com/archive/1/423827/100/0/threadednvd
- exchange.xforce.ibmcloud.com/vulnerabilities/24035nvd
News mentions
0No linked articles in our index yet.