Bug 1505905 (CVE-2017-15102) - CVE-2017-15102 kernel: NULL pointer dereference due to race condition in probe function of legousbtower driver
Summary: CVE-2017-15102 kernel: NULL pointer dereference due to race condition in prob...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: CVE-2017-15102
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard: impact=low,public=20160919,reported=2...
Depends On:
Blocks: 1505912
TreeView+ depends on / blocked
 
Reported: 2017-10-24 14:24 UTC by Adam Mariš
Modified: 2019-06-08 22:27 UTC (History)
46 users (show)

Fixed In Version: kernel 4.9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-11-07 20:34:07 UTC


Attachments (Terms of Use)

Description Adam Mariš 2017-10-24 14:24:24 UTC
Race condition in legousbtower driver exposes a null pointer dereference caused by not removing the device file interface on an error when the probe function is called. This can cause a write-what-where condition by remapping dev->interrupt_out_buffer in tower_write, leading to privilege escalation.

Upstream patch:

https://github.com/torvalds/linux/commit/2fae9e5a7babada041e2e161699ade2447a01989

Comment 2 Adam Mariš 2017-10-24 14:26:30 UTC
Acknowledgments:

Name: James Patrick Evans

Comment 3 Vladis Dronov 2017-11-07 20:27:58 UTC
Statement:

This issue affects the versions of the Linux kernel as shipped with Red Hat Enterprise Linux 5 and 6. This has been rated as having Low security impact and is not currently planned to be addressed in future updates. For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata/.

This issue does not affect the Linux kernel packages as shipped with Red Hat Enterprise Linux 7 and MRG-2, as this flaw was fixed in 7.4 release.


Note You need to log in before you can comment on or make changes to this bug.