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.
Advisories
Source ID Title
EUVD EUVD EUVD-2006-0153 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.
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-07T16:25:33.919Z

Reserved: 2006-01-09T00:00:00

Link: CVE-2006-0145

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2006-01-09T23:03:00.000

Modified: 2025-04-03T01:03:51.193

Link: CVE-2006-0145

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.