CVE-2015-5707: Integer Overflow

Published Aug 4, 2015
·
Updated

Integer overflow in the sgstartreq function in drivers/scsi/sg.c in the Linux kernel 2.6.x through 4.x before 4.1 allows local users to cause a denial of service or possibly have unspecified other impact via a large iovcount value in a write request.

Other sources

This bug, which was probably introduced in Linux 2.6.28, was assigned CVE. In drivers/scsi/sg.c in function startreq(), there was code segment vulnerable to number wraparound in the calculation of total number of pages in biomapuseriov(). This can result to allocating small array of pointers to pages that would be overflowed. It was fixed in Linux 4.1-rc1.

CVE assignment: http://seclists.org/oss-sec/2015/q3/278

Upstream patches: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=fdc81f45e9f57858da6351836507fbcf1b7583ee http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=451a2886b6bf90e2fb378f7c46c655450fb96e81

Red Hat

Affected Software

12 affected componentsFixes available
Google Android
Linux Linux kernel>=2.6.0<4.1.0
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=15.04
Debian Debian Linux=7.0
Debian Debian Linux=8.0
SUSE SUSE Linux Enterprise Desktop=11-sp3
SUSE SUSE Linux Enterprise Server=11-sp2
SUSE SUSE Linux Enterprise Server=11-sp3
SUSE Suse Linux Enterprise Server Vmware=11-sp3
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.22-16.12.25-1

Event History

Aug 4, 2015
Data Sourced
via Red Hat·11:45 AM
DescriptionSeverityAffected Software
Oct 19, 2015
CVE Published
via MITRE·10:00 AM
Data Sourced
via MITRE·10:00 AM
Description
Jan 11, 2024
Data Sourced
via Launchpad·10:12 PM
Description
Sep 28, 2024
Data Sourced
via Ubuntu·01:11 AM
RemedyDescriptionSeverityAffected Software
Mar 27, 2025
Data Sourced
via Debian·03:19 AM
DescriptionAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2015-5707?

The severity of CVE-2015-5707 is medium.

2

How does CVE-2015-5707 affect Linux kernel?

CVE-2015-5707 allows local users to cause a denial of service or possibly have unspecified other impact via a large iov_count value in a write request.

3

Which versions of Linux kernel are affected by CVE-2015-5707?

Linux kernel versions 2.6.x through 4.x before 4.1 are affected by CVE-2015-5707.

4

How do I fix CVE-2015-5707?

To fix CVE-2015-5707, update your Linux kernel to version 4.1~ or later.

5

Where can I find more information about CVE-2015-5707?

You can find more information about CVE-2015-5707 at the following references: [1] [2] [3].

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203