CVE-2015-5257
published 2015-11-16CVE-2015-5257: 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…
PriorityP416medium4.9CVSS 2.0
AVLACLAuNCNINAC
EPSS
0.45%
36.8th percentile
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.
Affected
7 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 4.2.1-1 (bookworm) | linux 4.2.1-1 (bookworm) |
| linux | linux_kernel | <= 4.2.3 | — |
| linux | linux_kernel | >= 0 < 4.2.1-1 | 4.2.1-1 |
| linux | linux_kernel | >= 0 < 4.2.1-1 | 4.2.1-1 |
| linux | linux_kernel | >= 0 < 4.2.1-1 | 4.2.1-1 |
| linux | linux_kernel | >= 0 < 4.2.1-1 | 4.2.1-1 |
| linux | linux_kernel | >= 0 < 3.13.0-67.110 | 3.13.0-67.110 |
CVSS provenance
nvdv2.04.9MEDIUMAV:L/AC:L/Au:N/C:N/I:N/A:C
osv6.9MEDIUM
vendor_ubuntu6.9MEDIUM
vendor_debian4.9MEDIUM
vendor_redhat4.9MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
Linux kernel vulnerabilities
vendor_ubuntu·2015-11-05·CVSS 5.0
CVE-2015-0272 [MEDIUM] Linux kernel vulnerabilities
Title: Linux kernel vulnerabilities
Summary: Several security issues were fixed in the kernel.
Dmitry Vyukov discovered that the Linux kernel did not properly initialize
IPC object state in certain situations. A local attacker could use this to
escalate their privileges, expose confidential information, or cause a
denial of service (system crash). (CVE-2015-7613)
It was discovered that the Linux kernel did not check if a new IPv6 MTU set
by a user space application was valid. A remote attacker could forge a
route advertisement with an invalid MTU that a user space daemon like
NetworkManager would honor and apply to the kernel, causing a denial of
service. (CVE-2015-0272)
It was discovered that in certain situations, a directory could be renamed
outside of a bind mounted location. An at
Ubuntu
Linux kernel (Utopic HWE) vulnerabilities
vendor_ubuntu·2015-11-05·CVSS 5.0
CVE-2015-0272 [MEDIUM] Linux kernel (Utopic HWE) vulnerabilities
Title: Linux kernel (Utopic HWE) vulnerabilities
Summary: Several security issues were fixed in the kernel.
It was discovered that the Linux kernel did not check if a new IPv6 MTU set
by a user space application was valid. A remote attacker could forge a
route advertisement with an invalid MTU that a user space daemon like
NetworkManager would honor and apply to the kernel, causing a denial of
service. (CVE-2015-0272)
It was discovered that in certain situations, a directory could be renamed
outside of a bind mounted location. An attacker could use this to escape
bind mount containment and gain access to sensitive information.
(CVE-2015-2925)
Moein Ghasemzadeh discovered that the USB WhiteHEAT serial driver contained
hardcoded attributes about the USB devices. An attacker could constru
Ubuntu
Linux kernel (Vivid HWE) vulnerabilities
vendor_ubuntu·2015-11-05·CVSS 6.9
CVE-2015-2925 [MEDIUM] Linux kernel (Vivid HWE) vulnerabilities
Title: Linux kernel (Vivid HWE) vulnerabilities
Summary: Several security issues were fixed in the kernel.
It was discovered that in certain situations, a directory could be renamed
outside of a bind mounted location. An attacker could use this to escape
bind mount containment and gain access to sensitive information.
(CVE-2015-2925)
Moein Ghasemzadeh discovered that the USB WhiteHEAT serial driver contained
hardcoded attributes about the USB devices. An attacker could construct a
fake WhiteHEAT USB device that, when inserted, causes a denial of service
(system crash). (CVE-2015-5257)
Instructions: After a standard system update you need to reboot your computer to make
all the necessary changes.
ATTENTION: Due to an unavoidable ABI change the kernel updates have
been given a new versi
Ubuntu
Linux kernel (OMAP4) vulnerabilities
vendor_ubuntu·2015-11-05·CVSS 5.0
CVE-2015-0272 [MEDIUM] Linux kernel (OMAP4) vulnerabilities
Title: Linux kernel (OMAP4) vulnerabilities
Summary: Several security issues were fixed in the kernel.
Dmitry Vyukov discovered that the Linux kernel did not properly initialize
IPC object state in certain situations. A local attacker could use this to
escalate their privileges, expose confidential information, or cause a
denial of service (system crash). (CVE-2015-7613)
It was discovered that the Linux kernel did not check if a new IPv6 MTU set
by a user space application was valid. A remote attacker could forge a
route advertisement with an invalid MTU that a user space daemon like
NetworkManager would honor and apply to the kernel, causing a denial of
service. (CVE-2015-0272)
It was discovered that in certain situations, a directory could be renamed
outside of a bind mounted locatio
Ubuntu
Linux kernel (Trusty HWE) vulnerabilities
vendor_ubuntu·2015-11-05·CVSS 6.9
CVE-2015-2925 [MEDIUM] Linux kernel (Trusty HWE) vulnerabilities
Title: Linux kernel (Trusty HWE) vulnerabilities
Summary: Several security issues were fixed in the kernel.
It was discovered that in certain situations, a directory could be renamed
outside of a bind mounted location. An attacker could use this to escape
bind mount containment and gain access to sensitive information.
(CVE-2015-2925)
Moein Ghasemzadeh discovered that the USB WhiteHEAT serial driver contained
hardcoded attributes about the USB devices. An attacker could construct a
fake WhiteHEAT USB device that, when inserted, causes a denial of service
(system crash). (CVE-2015-5257)
Instructions: After a standard system update you need to reboot your computer to make
all the necessary changes.
ATTENTION: Due to an unavoidable ABI change the kernel updates have
been given a new vers
Ubuntu
Linux kernel vulnerabilities
vendor_ubuntu·2015-11-05·CVSS 6.9
CVE-2015-2925 [MEDIUM] Linux kernel vulnerabilities
Title: Linux kernel vulnerabilities
Summary: Several security issues were fixed in the kernel.
It was discovered that in certain situations, a directory could be renamed
outside of a bind mounted location. An attacker could use this to escape
bind mount containment and gain access to sensitive information.
(CVE-2015-2925)
Moein Ghasemzadeh discovered that the USB WhiteHEAT serial driver contained
hardcoded attributes about the USB devices. An attacker could construct a
fake WhiteHEAT USB device that, when inserted, causes a denial of service
(system crash). (CVE-2015-5257)
Instructions: After a standard system update you need to reboot your computer to make
all the necessary changes.
ATTENTION: Due to an unavoidable ABI change the kernel updates have
been given a new version number, w
Red Hat
kernel: NULL pointer dereference in USB WhiteHEAT serial driver
vendor_redhat·2015-09-22·CVSS 4.9
CVE-2015-5257 [MEDIUM] CWE-476 kernel: NULL pointer dereference in USB WhiteHEAT serial driver
kernel: NULL pointer dereference in USB WhiteHEAT serial driver
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.
A denial of service vulnerability was found in the WhiteHEAT USB Serial Driver (whiteheat_attach function in drivers/usb/serial/whiteheat.c). In the driver, the COMMAND_PORT variable was hard coded and set to 4 (5th element). The driver assumed that the number of ports would always be 5 and used port number 5 as the command port. However, when using a USB device in which the number of ports
Debian
CVE-2015-5257: linux - drivers/usb/serial/whiteheat.c in the Linux kernel before 4.2.4 allows physicall...
vendor_debian·2015·CVSS 4.9
CVE-2015-5257 [MEDIUM] CVE-2015-5257: linux - drivers/usb/serial/whiteheat.c in the Linux kernel before 4.2.4 allows physicall...
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.
Scope: local
bookworm: resolved (fixed in 4.2.1-1)
bullseye: resolved (fixed in 4.2.1-1)
forky: resolved (fixed in 4.2.1-1)
sid: resolved (fixed in 4.2.1-1)
trixie: resolved (fixed in 4.2.1-1)
GHSA
GHSA-v3mg-r9jg-vfg4: drivers/usb/serial/whiteheat
ghsa_unreviewed·2022-05-17·CVSS 5.0
CVE-2015-5257 [MEDIUM] GHSA-v3mg-r9jg-vfg4: drivers/usb/serial/whiteheat
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.
OSV
CVE-2015-5257: drivers/usb/serial/whiteheat
osv·2015-11-16·CVSS 4.9
CVE-2015-5257 [MEDIUM] CVE-2015-5257: drivers/usb/serial/whiteheat
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.
OSV
linux vulnerabilities
osv·2015-11-05·CVSS 6.9
CVE-2015-2925 [MEDIUM] linux vulnerabilities
linux vulnerabilities
It was discovered that in certain situations, a directory could be renamed
outside of a bind mounted location. An attacker could use this to escape
bind mount containment and gain access to sensitive information.
(CVE-2015-2925)
Moein Ghasemzadeh discovered that the USB WhiteHEAT serial driver contained
hardcoded attributes about the USB devices. An attacker could construct a
fake WhiteHEAT USB device that, when inserted, causes a denial of service
(system crash). (CVE-2015-5257)
OSV
linux-lts-utopic vulnerabilities
osv·2015-11-05·CVSS 5.0
CVE-2015-0272 [MEDIUM] linux-lts-utopic vulnerabilities
linux-lts-utopic vulnerabilities
It was discovered that the Linux kernel did not check if a new IPv6 MTU set
by a user space application was valid. A remote attacker could forge a
route advertisement with an invalid MTU that a user space daemon like
NetworkManager would honor and apply to the kernel, causing a denial of
service. (CVE-2015-0272)
It was discovered that in certain situations, a directory could be renamed
outside of a bind mounted location. An attacker could use this to escape
bind mount containment and gain access to sensitive information.
(CVE-2015-2925)
Moein Ghasemzadeh discovered that the USB WhiteHEAT serial driver contained
hardcoded attributes about the USB devices. An attacker could construct a
fake WhiteHEAT USB device that, when inserted, causes a denial of servi
OSV
linux-lts-vivid vulnerabilities
osv·2015-11-05·CVSS 6.9
CVE-2015-2925 [MEDIUM] linux-lts-vivid vulnerabilities
linux-lts-vivid vulnerabilities
It was discovered that in certain situations, a directory could be renamed
outside of a bind mounted location. An attacker could use this to escape
bind mount containment and gain access to sensitive information.
(CVE-2015-2925)
Moein Ghasemzadeh discovered that the USB WhiteHEAT serial driver contained
hardcoded attributes about the USB devices. An attacker could construct a
fake WhiteHEAT USB device that, when inserted, causes a denial of service
(system crash). (CVE-2015-5257)
Kernel
USB: whiteheat: fix potential null-deref at probe
kernel_security·2015-09-23·CVSS 4.9
CVE-2015-5257 [MEDIUM] USB: whiteheat: fix potential null-deref at probe
USB: whiteheat: fix potential null-deref at probe
Fix potential null-pointer dereference at probe by making sure that the
required endpoints are present.
The whiteheat driver assumes there are at least five pairs of bulk
endpoints, of which the final pair is used for the "command port". An
attempt to bind to an interface with fewer bulk endpoints would
currently lead to an oops.
Fixes CVE-2015-5257.
Reported-by: Moein Ghasemzadeh
Cc: stable
Signed-off-by: Johan Hovold
Signed-off-by: Greg Kroah-Hartman
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2015-5257 kernel: NULL pointer dereference in USB WhiteHEAT serial driver
bugzilla·2015-09-23·CVSS 4.9
CVE-2015-5257 [MEDIUM] CVE-2015-5257 kernel: NULL pointer dereference in USB WhiteHEAT serial driver
CVE-2015-5257 kernel: NULL pointer dereference in USB WhiteHEAT serial driver
A vulnerability in WhiteHEAT USB Serial Driver in "whiteheat_attach" function in drivers/usb/serial/whiteheat.c was found. In the driver, the “COMMAND_PORT” 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
Bugzilla
CVE-2015-5257 kernel: NULL pointer dereference in USB WhiteHEAT serial driver [fedora-all]
bugzilla·2015-09-23·CVSS 4.9
CVE-2015-5257 [MEDIUM] CVE-2015-5257 kernel: NULL pointer dereference in USB WhiteHEAT serial driver [fedora-all]
CVE-2015-5257 kernel: NULL pointer dereference in USB WhiteHEAT serial driver [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=cbb4be652d374f64661137756b8f357a1827d6a4http://www.debian.org/security/2015/dsa-3372http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.2.4http://www.openwall.com/lists/oss-security/2015/09/23/1http://www.securityfocus.com/bid/76834http://www.ubuntu.com/usn/USN-2792-1http://www.ubuntu.com/usn/USN-2794-1http://www.ubuntu.com/usn/USN-2795-1http://www.ubuntu.com/usn/USN-2798-1http://www.ubuntu.com/usn/USN-2799-1https://bugzilla.redhat.com/show_bug.cgi?id=1265607https://github.com/torvalds/linux/commit/cbb4be652d374f64661137756b8f357a1827d6a4http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=cbb4be652d374f64661137756b8f357a1827d6a4http://www.debian.org/security/2015/dsa-3372http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.2.4http://www.openwall.com/lists/oss-security/2015/09/23/1http://www.securityfocus.com/bid/76834http://www.ubuntu.com/usn/USN-2792-1http://www.ubuntu.com/usn/USN-2794-1http://www.ubuntu.com/usn/USN-2795-1http://www.ubuntu.com/usn/USN-2798-1http://www.ubuntu.com/usn/USN-2799-1https://bugzilla.redhat.com/show_bug.cgi?id=1265607https://github.com/torvalds/linux/commit/cbb4be652d374f64661137756b8f357a1827d6a4
2015-11-16
Published