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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| netbsd | = 1.6; = 1.6-beta; = 1.6.1; = 1.6.2 +5 more | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed 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
- 18388 third-party-advisory vendor-advisory
- 18712 third-party-advisory vendor-advisory
- 405 third-party-advisory
- 22293 vdb-entry
- 20060202 [SLAB] NetBSD / OpenBSD kernfs_xread patch evasion mailing-list
- 16173 patch vdb-entry
- www.securitylab.net vendor-advisory
- netbsd-kernfs-memory-disclosure(24035) vdb-entry