Description
Integer signedness error in the genkbd_commonioctl function in sys/dev/kbd/kbd.c in FreeBSD 9.3 before p42, 10.1 before p34, 10.2 before p17, and 10.3 before p3 allows local users to obtain sensitive information from kernel memory, cause a denial of service (memory overwrite and kernel crash), or gain privileges via a negative value in the flen structure member in the arg argument in a SETFKEY ioctl call, which triggers a "two way heap and stack overflow."
Metrics
CVSS 3.0 7.8/10
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- http://cturt.github.io/SETFKEY.htmlExploit
- http://www.securityfocus.com/bid/90734
- http://www.securitytracker.com/id/1035905
- https://security.FreeBSD.org/patches/SA-16:18/atkbd.patchPatch
- https://www.freebsd.org/security/advisories/FreeBSD-SA-16:18.atkbd.ascVendor Advisory
- http://cturt.github.io/SETFKEY.htmlExploit
- http://www.securityfocus.com/bid/90734
- http://www.securitytracker.com/id/1035905
- https://security.FreeBSD.org/patches/SA-16:18/atkbd.patchPatch
- https://www.freebsd.org/security/advisories/FreeBSD-SA-16:18.atkbd.ascVendor Advisory
Timeline
- Published
- May 25, 2016
- Last modified
- Jun 17, 2026
- NVD status
- Modified