Infinite loop in Linux kernel - CVE-2019-3819
Published: January 29, 2019 / Updated: May 30, 2020
Vulnerability details
The vulnerability allows a local attacker to perform a denial of service (DoS) attack.
The vulnerability exists in the function hid_debug_events_read() in drivers/hid/hid-debug.c file due to infinite loop when certain parameters passed from a userspace. A local attacker can execute a specially crafted program that submits malicious input to cause a system lock up and a denial of service.
Affected software
Opensuse
Ubuntu
linux (Ubuntu package)
linux-raspi2 (Ubuntu package)
linux-kvm (Ubuntu package)
linux-aws (Ubuntu package)
linux-snapdragon (Ubuntu package)
linux-hwe (Ubuntu package)
linux-gcp (Ubuntu package)
linux-azure (Ubuntu package)
linux-oracle (Ubuntu package)
linux-gke-4.15 (Ubuntu package)
How to mitigate CVE-2019-3819
linux (Ubuntu package) - addressed in versions 4.4.0-145.171, 4.15.0-60.67
linux-raspi2 (Ubuntu package) - addressed in versions 4.4.0-1106.114, 4.15.0-1044.47
linux-kvm (Ubuntu package) - addressed in versions 4.4.0-1043.49, 4.15.0-1043.43
linux-aws (Ubuntu package) - update to 4.4.0-1079.89
linux-snapdragon (Ubuntu package) - update to 4.4.0-1110.115
linux-hwe (Ubuntu package) - update to 4.15.0-60.67~16.04.1
linux-gcp (Ubuntu package) - update to 4.15.0-1041.43
linux-azure (Ubuntu package) - update to 4.15.0-1056.61
linux-oracle (Ubuntu package) - addressed in versions 4.15.0-1022.25~16.04.1, 4.15.0-1022.25
linux-gke-4.15 (Ubuntu package) - update to 4.15.0-1041.43
External References
- https://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git/commit/?id=13054abbaa4f1fd4e6f3b4b63439ec033b4c8035
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3819
- https://github.com/torvalds/linux/commit/717adfdaf14704fd3ec7fa2c04520c0723247eac
- https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.4.175
- https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.9.157
- https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.14.100