Description
The setlogin function in FreeBSD 8.4 through 10.1-RC4 does not initialize the buffer used to store the login name, which allows local users to obtain sensitive information from kernel memory via a call to getlogin, which returns the entire buffer.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 7 | kfreebsd-9 | 9.0-10+deb70.8 | DSA-3070-1 |
Advisories 1
- DSA-3070-1 kfreebsd-9 - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- DSA-3070 vendor-advisory
- FreeBSD-SA-14:25 vendor-advisory
- 62218 third-party-advisory
- 61118 third-party-advisory