Bug 1623614 (CVE-2018-6555) - CVE-2018-6555 kernel: irda: use-after-free vulnerability in the hashbin list
Summary: CVE-2018-6555 kernel: irda: use-after-free vulnerability in the hashbin list
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2018-6555
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:
Depends On:
Blocks: 1623611
TreeView+ depends on / blocked
 
Reported: 2018-08-29 18:09 UTC by Pedro Sampaio
Modified: 2021-02-16 23:08 UTC (History)
50 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
The irda_setsockopt function in net/irda/af_irda.c in the Linux kernel, through 4.16, allows local users to cause a denial of service (due to a use-after-free of the ias_object and a system crash) or possibly have unspecified other impact by leveraging an AF_IRDA socket.
Clone Of:
Environment:
Last Closed: 2018-08-30 12:18:10 UTC
Embargoed:


Attachments (Terms of Use)

Description Pedro Sampaio 2018-08-29 18:09:23 UTC
he irda_setsockopt() function conditionally allocates memory for a new
self->ias_object or, in some cases, reuses the existing
self->ias_object. Existing objects were incorrectly reinserted into the
LM_IAS database which corrupted the doubly linked list used for the
hashbin implementation of the LM_IAS database. When combined with a
memory leak in irda_bind(), this issue could be leveraged to create a
use-after-free vulnerability in the hashbin list.

References:

https://seclists.org/oss-sec/2018/q3/212

Suggested patches:

https://www.spinics.net/lists/stable/msg255033.html

https://www.spinics.net/lists/stable/msg255029.html

Comment 5 Vladis Dronov 2018-08-30 12:18:10 UTC
Notes:

None of the Red Hat's products are vulnerable to this flaw.


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