CVEvulnerability
CVE-2016-1886
7.8 HIGH
Official page ↗
- Status
- Modified
- Published
- 2016-05-25
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.0 ([email protected])
- 7.8 HIGH — CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 7.2 HIGH — AV:L/AC:L/Au:N/C:C/I:C/A:C
- Weaknesses
- CWE-119
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."
Affected configurations
• freebsd freebsd 9.3
• freebsd freebsd 10.1
• freebsd freebsd 10.2
• freebsd freebsd 10.3
Related
Weakness · CWE (1)
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer weakness
References
- http://cturt.github.io/SETFKEY.html Exploit
- http://www.securityfocus.com/bid/90734 www.securityfocus.com
- http://www.securitytracker.com/id/1035905 www.securitytracker.com
- https://security.FreeBSD.org/patches/SA-16:18/atkbd.patch Patch
- https://www.freebsd.org/security/advisories/FreeBSD-SA-16:18.atkbd.asc Vendor Advisory
- http://cturt.github.io/SETFKEY.html Exploit
- http://www.securityfocus.com/bid/90734 www.securityfocus.com
- http://www.securitytracker.com/id/1035905 www.securitytracker.com
- https://security.FreeBSD.org/patches/SA-16:18/atkbd.patch Patch
- https://www.freebsd.org/security/advisories/FreeBSD-SA-16:18.atkbd.asc Vendor Advisory