Bug 1522893 (CVE-2017-15868) - CVE-2017-15868 kernel: bnep_add_connection does not check if l2cap socket is available allowing privilege escalation
Summary: CVE-2017-15868 kernel: bnep_add_connection does not check if l2cap socket is ...
Status: CLOSED NOTABUG
Alias: CVE-2017-15868
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard: impact=moderate,public=20141219,repor...
Keywords: Reopened, Security
Depends On: 1537051
Blocks: 1522897
TreeView+ depends on / blocked
 
Reported: 2017-12-06 17:10 UTC by Adam Mariš
Modified: 2019-06-08 22:31 UTC (History)
47 users (show)

(edit)
It was found that the Bluebooth Network Encapsulation Protocol (BNEP) implementation did not validate the type of second socket passed to the BNEPCONNADD ioctl(), which could lead to memory corruption. A local user with the CAP_NET_ADMIN capability can use this for denial of service (crash or data corruption) or possibly for privilege escalation. Due to the nature of the flaw, privilege escalation cannot be fully ruled out, although we feel it is unlikely.
Clone Of:
(edit)
Last Closed: 2018-01-22 11:02:07 UTC


Attachments (Terms of Use)

Description Adam Mariš 2017-12-06 17:10:04 UTC
It was found that the Bluebooth Network Encapsulation Protocol (BNEP) implementation did not validate the type of the second socket passed to the BNEPCONNADD ioctl(), which could lead to memory corruption. A local user with the CAP_NET_ADMIN capability can use this for denial of service (crash or data corruption) or possibly for privilege escalation. Due to the nature of the flaw, privilege escalation cannot be fully ruled out, although we believe it is unlikely.

References:

https://source.android.com/security/bulletin/pixel/2017-12-01#kernel-components

https://patchwork.kernel.org/patch/9882449/

An upstream patch:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=71bb99a02b32b4cc4265118e85f6035ca72923f0

Comment 3 Vladis Dronov 2018-01-21 22:03:18 UTC
Statement:

This issue does not affect the versions of the Linux kernel as shipped with Red Hat Enterprise Linux 5 and 6, as namespaces feature, which is required for an attack, is not present in these products.

This issue does not affect the versions of the Linux kernel as shipped with Red Hat Enterprise Linux 7, its real-time kernel, Red Hat Enterprise MRG 2, Red Hat Enterprise Linux 7 for ARM 64 and Red Hat Enterprise Linux 7 for Power 9 LE, as this flaw was already fixed in this products.

Comment 4 Vladis Dronov 2018-01-21 22:04:00 UTC
What is Red Hat Enterprise Linux 7 for ARM 64,
        Red Hat Enterprise Linux 7 for Power 9 LE

The kernel package as shipped with Red Hat Enterprise Linux 7 for ARM 64 and Red Hat Enterprise Linux 7 for Power 9 LE is an updated kernel intended to support new architectures not available at the time of Red Hat Enterprise Linux 7 original shipping. The new kernel version is based on an upstream Linux kernel version 4.11. The offering is distributed with other updated packages, but most of the userspace is the standard Red Hat Enterprise Linux 7 Server RPM files.

For more information please refer to:

https://access.redhat.com/articles/3158541
https://access.redhat.com/articles/3158511


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