CVE-2015-5257: Null Pointer Dereference

Published Sep 23, 2015
·
Updated

A vulnerability in WhiteHEAT USB Serial Driver in "whiteheatattach" function in drivers/usb/serial/whiteheat.c was found. In the driver, the “COMMANDPORT” variable is hard coded and is set to “4” (5th element). The driver assumes that the number of ports will always be 5 and takes the port number 5 as the command port. But using a specially made USB device in which the number of ports is set to a number less than 5 (e.g. 3), it triggers kernel NULL pointer dereference causing the system to freeze.

Disclosure post (including crash report logs):

http://seclists.org/oss-sec/2015/q3/629

Statement:

This issue affects the Linux kernel packages as shipped with Red Hat Enterprise Linux 5, 6, 7 and MRG-2.

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/.

Other sources

drivers/usb/serial/whiteheat.c in the Linux kernel before 4.2.4 allows physically proximate attackers to cause a denial of service (NULL pointer dereference and OOPS) or possibly have unspecified other impact via a crafted USB device. NOTE: this ID was incorrectly used for an Apache Cordova issue that has the correct ID of CVE-2015-8320.

— Ubuntu

Affected Software

26 affected componentsFixes available
Linux Linux kernel<=4.2.3
ubuntu/linux<3.13.0-67.110
3.13.0-67.110
ubuntu/linux-lts-utopic<3.16.0-52.71~14.04.1
3.16.0-52.71~14.04.1
ubuntu/linux-lts-vivid<3.19.0-32.37~14.04.1
3.19.0-32.37~14.04.1
ubuntu/linux-azure*
ubuntu/linux-gcp*
ubuntu/linux-hwe*
ubuntu/linux-hwe-edge*
ubuntu/linux-azure-fde*
ubuntu/linux-azure-fde-5.15*
ubuntu/linux-gke*
ubuntu/linux-gkeop*
ubuntu/linux-raspi2*
ubuntu/linux-riscv*
ubuntu/linux-intel-iot-realtime*
ubuntu/linux-realtime*
ubuntu/linux-riscv*
ubuntu/linux-azure-6.11*
ubuntu/linux-gcp-6.11*
ubuntu/linux-hwe-6.11*
ubuntu/linux-lowlatency-hwe-6.11*
ubuntu/linux-raspi-realtime*
ubuntu/linux-realtime*
ubuntu/linux-riscv*
debian/linux
3.2.68-1+deb7u53.16.7-ckt11-1+deb8u54.2.1-1
debian/linux-2.6
2.6.32-48squeeze16

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 3.13.0-67.110
  2. Upgrade

    Upgrade ubuntu/linux-lts-utopic to a version that resolves this vulnerability.

    Fixed in 3.16.0-52.71~14.04.1
  3. Upgrade

    Upgrade ubuntu/linux-lts-vivid to a version that resolves this vulnerability.

    Fixed in 3.19.0-32.37~14.04.1
  4. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 3.2.68-1+deb7u5Fixed in 3.16.7-ckt11-1+deb8u5Fixed in 4.2.1-1
  5. Upgrade

    Upgrade debian/linux-2.6 to a version that resolves this vulnerability.

    Fixed in 2.6.32-48squeeze16
  6. Upgrade

    Upgrade Linux kernel to a version that resolves this vulnerability.

    Fixed in 4.2.4

Event History

Sep 23, 2015
Data Sourced
10:57 AM
DescriptionSeverityAffected Software
Sep 24, 2015
CVE Published
12:00 AM
Data Sourced
12:00 AM
Remedy
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
Data Sourced
via OSV·12:00 AM
DescriptionSeverityAffected Software
Updated
via Ubuntu·12:00 AM
RemedyDescriptionAffected Software
Nov 16, 2015
CVE Published
via MITRE·11:00 AM
Data Sourced
via MITRE·11:00 AM
Description
Feb 17, 2021
Data Sourced
via Red Hat·04:54 AM
DescriptionSeverityAffected Software
Nov 7, 2023
Data Sourced
via NVD·02:26 AM
DescriptionSeverityAffected Software
Updated
02:26 AM
DescriptionAffected Software
Updated
via NVD·02:26 AM
Affected Software
Nov 21, 2024
Updated
via NVD·02:32 AM
Affected Software
Apr 12, 2025
Updated
via NVD·10:46 AM
Affected Software
Jun 17, 2026
Updated
via NVD·12:28 AM
Affected Software
Jul 4, 2026
Updated
via Ubuntu·12:00 AM
Description

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the vulnerability ID for this Linux kernel vulnerability?

The vulnerability ID for this Linux kernel vulnerability is CVE-2015-5257.

2

What is the severity level of vulnerability CVE-2015-5257?

The severity level of vulnerability CVE-2015-5257 is low.

3

How does vulnerability CVE-2015-5257 affect the Linux kernel?

Vulnerability CVE-2015-5257 allows physically proximate attackers to cause a denial of service or potentially have other unspecified impact via a crafted USB device.

4

Which versions of the Linux kernel are affected by vulnerability CVE-2015-5257?

Vulnerability CVE-2015-5257 affects the Linux kernel before version 4.2.4.

5

How can I fix vulnerability CVE-2015-5257 in my Linux kernel?

To fix vulnerability CVE-2015-5257, update your Linux kernel to version 4.2.4 or later.

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