CVE-2016-6327: Null Pointer Dereference
drivers/infiniband/ulp/srpt/ibsrpt.c in the Linux kernel before 4.5.1 allows local users to cause a denial of service (NULL pointer dereference and system crash) by using an ABORTTASK command to abort a device write operation.
Other sources
System using the infiniband support module ibsrpt were vulnerable to a denial of service by system crash by a local attacker who is able to abort writes to a device using this initiator.
There were multiple areas in which aborting a scsi command are able to be handled, moving this to the correct location in the state machine ensured that this condition was never triggered through this code path.\
The null pointer situation was enabled via a non attacker controlled memset, and this is not a use after free.
Product bug:
https://bugzilla.redhat.com/showbug.cgi?id=1342604
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=51093254bf87
http://seclists.org/oss-sec/2016/q3/334
— Red Hat
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Linux kernelto a version that resolves this vulnerability.Fixed in 4.5.1
Event History
Frequently Asked Questions
What is the severity of CVE-2016-6327?
CVE-2016-6327 has been assigned a medium severity rating due to its potential to cause denial of service through system crashes.
How do I fix CVE-2016-6327?
To fix CVE-2016-6327, update the Linux kernel to version 4.5.1 or later, where the vulnerability is addressed.
Who is affected by CVE-2016-6327?
CVE-2016-6327 affects local users on systems running Linux kernel versions prior to 4.5.1 that utilize the infiniband support module ib_srpt.
What type of vulnerability is CVE-2016-6327?
CVE-2016-6327 is a local denial of service vulnerability caused by a NULL pointer dereference.
What command can trigger CVE-2016-6327?
The ABORT_TASK command can trigger CVE-2016-6327 by attempting to abort a device write operation, leading to a system crash.