CVE-2006-0145

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
09/01/2006
Last modified:
03/04/2025

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:netbsd:netbsd:1.6:*:*:*:*:*:*:*
cpe:2.3:o:netbsd:netbsd:1.6:beta:*:*:*:*:*:*
cpe:2.3:o:netbsd:netbsd:1.6.1:*:*:*:*:*:*:*
cpe:2.3:o:netbsd:netbsd:1.6.2:*:*:*:*:*:*:*
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:*:*:*:*:*:*:*