CVE Vulnerabilities

CVE-2017-8071

Improper Resource Shutdown or Release

Published: Apr 23, 2017 | Modified: Apr 28, 2017
CVSS 3.x
5.5
MEDIUM
Source:
NVD
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
2.1 LOW
AV:L/AC:L/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
Ubuntu

drivers/hid/hid-cp2112.c in the Linux kernel 4.9.x before 4.9.9 uses a spinlock without considering that sleeping is possible in a USB HID request callback, which allows local users to cause a denial of service (deadlock) via unspecified vectors.

Weakness

The product does not release or incorrectly releases a resource before it is made available for re-use.

Affected Software

Name Vendor Start Version End Version
Linux_kernel Linux 4.9 (including) 4.9 (including)
Linux_kernel Linux 4.9.1 (including) 4.9.1 (including)
Linux_kernel Linux 4.9.2 (including) 4.9.2 (including)
Linux_kernel Linux 4.9.3 (including) 4.9.3 (including)
Linux_kernel Linux 4.9.4 (including) 4.9.4 (including)
Linux_kernel Linux 4.9.5 (including) 4.9.5 (including)
Linux_kernel Linux 4.9.6 (including) 4.9.6 (including)
Linux_kernel Linux 4.9.8 (including) 4.9.8 (including)

Potential Mitigations

  • Use a language that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid.
  • For example, languages such as Java, Ruby, and Lisp perform automatic garbage collection that releases memory for objects that have been deallocated.

References