Null pointer dereference in Linux kernel - CVE-2017-5577
Published: June 29, 2017 / Updated: July 3, 2017
Vulnerability identifier: #VU7254
CSH Severity: Low
CVSS v4: 6.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2017-5577
CWE-ID: CWE-476
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a local attacker to cause DoS condition on the target system.
The weakness exists due to the failure to set an errno value upon certain overflow detections by the vc4_get_bcl function in drivers/gpu/drm/vc4/vc4_gem.c. A local attacker can use a VC4_SUBMIT_CL ioctl system call with inconsistent size values to trigger NULL pointer dereference and cause the system to crash.
Successful exploitation of the vulnerability results in denial of service.
The weakness exists due to the failure to set an errno value upon certain overflow detections by the vc4_get_bcl function in drivers/gpu/drm/vc4/vc4_gem.c. A local attacker can use a VC4_SUBMIT_CL ioctl system call with inconsistent size values to trigger NULL pointer dereference and cause the system to crash.
Successful exploitation of the vulnerability results in denial of service.
Affected software
Linux kernel
Ubuntu
Fedora
kernel
Ubuntu
Fedora
kernel
How to mitigate CVE-2017-5577
Update to version 4.9.7.
kernel - addressed in versions 4.9.6-100.fc24, 4.9.6-200.fc25