kernfs_xread in kernfs_vnops.c in NetBSD before 20050831 does not check for a negative offset when reading the message buffer, which allows local users to read arbitrary kernel memory.
| Software | From | Fixed in |
|---|---|---|
| netbsd / netbsd | 1.6 | 1.6.x |
| netbsd / netbsd | 2.1 | 2.1.x |
| netbsd / netbsd | 2.0.3 | 2.0.3.x |
| netbsd / netbsd | 2.0 | 2.0.x |