Bug 1590215 (CVE-2018-12232) - CVE-2018-12232 kernel: NULL pointer dereference if close and fchownat system calls share a socket file descriptor
Summary: CVE-2018-12232 kernel: NULL pointer dereference if close and fchownat system ...
Status: NEW
Alias: CVE-2018-12232
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=20180604,repor...
Keywords: Security
Depends On: 1590217 1590216 1591837
Blocks: 1590219
TreeView+ depends on / blocked
 
Reported: 2018-06-12 08:38 UTC by Andrej Nemec
Modified: 2019-05-16 09:49 UTC (History)
42 users (show)

(edit)
A NULL pointer dereference issue was found in the Linux kernel. If the close() and fchownat() system calls share a socket file descriptor as an argument, then the two calls can race and trigger a NULL pointer dereference leading to a system crash and a denial of service.
Clone Of:
(edit)
Last Closed:


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:2948 None None None 2018-10-30 09:02 UTC

Description Andrej Nemec 2018-06-12 08:38:36 UTC
A NULL pointer dereference issue was found in the Linux kernel. If the close() and fchownat() system calls share a socket file descriptor as an argument, then the two calls can race and trigger a NULL pointer dereference leading to a system crash and a denial of service.

References:

https://lkml.org/lkml/2018/6/5/14

https://marc.info/?t=152817459500001&r=1&w=2

https://patchwork.ozlabs.org/patch/926519/

An upstream patch:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=6d8c50dcb029872b298eea68cc6209c866fd3e14

Comment 1 Andrej Nemec 2018-06-12 08:39:33 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1590216]

Comment 6 errata-xmlrpc 2018-10-30 09:01:56 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2018:2948 https://access.redhat.com/errata/RHSA-2018:2948


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