CVE-2017-1086 In FreeBSD before 11.1-STABLE, 11.1-RELEASE-p4, 11.0-RELEASE-p15, 10.4-STABLE, 10.4-RELEASE-p3, and 10.3-RELEASE-p24, not all information in the struct ptrace_lwpinfo is relevant for the state of any....
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- Debian
Description
In FreeBSD before 11.1-STABLE, 11.1-RELEASE-p4, 11.0-RELEASE-p15, 10.4-STABLE, 10.4-RELEASE-p3, and 10.3-RELEASE-p24, not all information in the struct ptrace_lwpinfo is relevant for the state of any thread, and the kernel does not fill the irrelevant bytes or short strings. Since the structure filled by the kernel is allocated on the kernel stack and copied to userspace, a leak of information of the kernel stack of the thread is possible from the debugger. As a result, some bytes from the kernel stack of the thread using ptrace (PT_LWPINFO) call can be observed in userspace.
Upgrade path
2 packages: 0 fixed, 2 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/kfreebsd-10(Debian 10) | = 10.3~svn300087+ds1-1; = 10.3~svn300087-5; = 10.3~svn300087-6; All versions | No fix listed | No fix yet |
| freebsd | = All supported versions of FreeBSD; All versions | No fix listed | No fix yet |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/kfreebsd-10(Debian:10) | All versions | No fix listed |
| debian/kfreebsd-10(Debian:10) | = 10.3~svn300087+ds1-1 | No fix listed |
| debian/kfreebsd-10(Debian:10) | = 10.3~svn300087-5 | No fix listed |
| debian/kfreebsd-10(Debian:10) | = 10.3~svn300087-6 | No fix listed |
| freebsd | All versions | No fix listed |
| freebsd | = All supported versions of FreeBSD | No fix listed |
References
- 101861 third-party-advisory vdb-entry
- 1039809 third-party-advisory vdb-entry
- FreeBSD-SA-17:08 vendor-advisory