Bug 1669187 (CVE-2019-3819)

Summary: CVE-2019-3819 kernel: infinite loop in drivers/hid/hid-debug.c:hid_debug_events_read()
Product: [Other] Security Response Reporter: Vladis Dronov <vdronov>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: NEW --- QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: airlied, bskeggs, hdegoede, ichavero, itamar, jarodwilson, jeremy, jfeeney, jforbes, jglisse, john.j5live, jonathan, josef, jwboyer, kernel-maint, labbott, linville, mchehab, mjg59, pmatouse, rvr, security-response-team, steved, tcamuso, torez
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: impact=low,public=20190125,reported=20190124,source=redhat,cvss3=4.2/CVSS:3.0/AV:L/AC:L/PR:H/UI:R/S:U/C:N/I:N/A:H,cwe=CWE-835,rhel-5/kernel=notaffected,rhel-6/kernel=notaffected,rhel-7/kernel=notaffected,rhel-7/kernel-rt=notaffected,mrg-2/kernel-rt=notaffected,rhel-alt-7/kernel-alt=notaffected,rhel-8/kernel=notaffected,rhel-8/kernel-rt=notaffected,fedora-all/kernel=affected
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the Linux kernel in the function hid_debug_events_read() in the drivers/hid/hid-debug.c file which may enter an infinite loop with certain parameters passed from a user space. A local privileged user ("root") can cause a system lock up and a denial of service.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On: 1669449, 1669469, 1669470    
Bug Blocks: 1631041    

Description Vladis Dronov 2019-01-24 14:55:58 UTC
A flaw was found in the Linux kernel in the function hid_debug_events_read() in drivers/hid/hid-debug.c file which may enter an infinite loop with certain parameters passed from a userspace. A local privileged user ("root") can cause a system lock up and a denial of service.

References:

https://lore.kernel.org/lkml/20190129105835.4723-1-vdronov@redhat.com/T/#u

https://marc.info/?t=154875959000006&r=1&w=2

An upstream patch:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=13054abbaa4f1fd4e6f3b4b63439ec033b4c8035

Comment 1 Vladis Dronov 2019-01-24 14:56:00 UTC
Acknowledgments:

Name: Vladis Dronov (Red Hat)

Comment 3 Vladis Dronov 2019-01-25 10:23:45 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1669449]

Comment 7 Pedro Sampaio 2019-01-25 13:33:51 UTC
Introducing commit:

https://github.com/torvalds/linux/commit/717adfdaf14704fd3ec7fa2c04520c0723247eac