Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1377330 (CVE-2016-7425) - CVE-2016-7425 kernel: SCSI arcmsr driver: Buffer overflow in arcmsr_iop_message_xfer()
Summary: CVE-2016-7425 kernel: SCSI arcmsr driver: Buffer overflow in arcmsr_iop_messa...
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2016-7425
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:
Depends On: 1377331 1381976 1381977 1381978 1381979 1381980 1381982 1381983 1381984
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-19 12:59 UTC by Andrej Nemec
Modified: 2021-02-17 03:20 UTC (History)
34 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
A heap-buffer overflow vulnerability was found in the arcmsr_iop_message_xfer() function in 'drivers/scsi/arcmsr/arcmsr_hba.c' file in the Linux kernel through 4.8.2. The function does not restrict a certain length field, which allows local users to gain privileges or cause a denial of service via an ARCMSR_MESSAGE_WRITE_WQBUFFER control code. This can potentially cause kernel heap corruption and arbitrary kernel code execution.
Clone Of:
Environment:
Last Closed: 2016-10-25 13:40:18 UTC
Embargoed:


Attachments (Terms of Use)

Description Andrej Nemec 2016-09-19 12:59:59 UTC
A heap-buffer overflow vulnerability was found in the arcmsr_iop_message_xfer() function in 'drivers/scsi/arcmsr/arcmsr_hba.c' file in the Linux kernel through 4.8.2. The function does not restrict a certain length field, which allows local users to gain privileges or cause a denial of service via an ARCMSR_MESSAGE_WRITE_WQBUFFER control code. This can potentially cause kernel heap corruption and arbitrary kernel code execution.

Upstream patch:

http://marc.info/?l=linux-scsi&m=147394713328707&w=2

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=7bc2b55a5c030685b399bb65b6baa9ccc3d1f167

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=4bd173c30792791a6daca8c64793ec0a4ae8324f

Discussion thread:

http://marc.info/?t=147394719700004&r=1&w=2

References:

http://seclists.org/oss-sec/2016/q3/535

Comment 1 Andrej Nemec 2016-09-19 13:01:01 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1377331]

Comment 2 Fedora Update System 2016-09-28 05:57:24 UTC
kernel-4.7.5-200.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-7179af3ac1

Comment 3 Fedora Update System 2016-09-28 06:25:36 UTC
kernel-4.7.5-100.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-58eda97f25

Comment 4 Fedora Update System 2016-10-01 00:52:23 UTC
kernel-4.7.5-200.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.

Comment 5 Fedora Update System 2016-10-01 04:20:28 UTC
kernel-4.7.5-100.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 12 Vladis Dronov 2016-10-06 14:58:27 UTC
Statement:

This issue does not affect the Linux kernel packages as shipped with Red Hat Enterprise Linux 5. 6, 7 and Red Hat Enterprise MRG-2 as only the privileged user can exploit the flaw.


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