Bug 1533891 (CVE-2018-5333) - CVE-2018-5333 kernel: Null pointer dereference in rds_atomic_free_op() allowing denial-of-service
Summary: CVE-2018-5333 kernel: Null pointer dereference in rds_atomic_free_op() allowi...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2018-5333
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: 1533895 1533901 1537615 1537616
Blocks: 1533894
TreeView+ depends on / blocked
 
Reported: 2018-01-12 13:32 UTC by Adam Mariš
Modified: 2021-10-07 10:31 UTC (History)
44 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
In the Linux kernel through 4.14.13, the rds_cmsg_atomic() function in 'net/rds/rdma.c' mishandles cases where page pinning fails or an invalid address is supplied by a user. This can lead to a NULL pointer dereference in rds_atomic_free_op() and thus to a system panic.
Clone Of:
Environment:
Last Closed: 2019-06-08 03:36:55 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:0470 0 normal SHIPPED_LIVE Moderate: Red Hat Enterprise MRG Realtime 2.5 security and enhancement update 2018-03-12 19:03:01 UTC

Description Adam Mariš 2018-01-12 13:32:45 UTC
In the Linux kernel through 4.14.13, the rds_cmsg_atomic() function in 'net/rds/rdma.c' mishandles cases where page pinning fails or an invalid address is supplied by a user, leading to a NULL pointer dereference in rds_atomic_free_op() and thus to a system panic.

References:

https://marc.info/?t=151501368300001&r=1&w=4

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

An upstream patch:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7d11f77f84b27cef452cee332f4e469503084737

Comment 1 Adam Mariš 2018-01-12 13:40:06 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1533895]

Comment 4 Vladis Dronov 2018-01-23 15:46:01 UTC
Statement:

This issue affects the Linux kernel packages as shipped with Red Hat Enterprise Linux 5. This is not currently planned to be addressed in future updates of the product due to its life cycle. For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata/.

This issue affects the versions of the Linux kernel as shipped with Red Hat Enterprise Linux 6 and Red Hat Enterprise MRG 2. Future Linux kernel updates for the respective releases may address this issue.

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 Linux 7 for ARM 64 and Red Hat Enterprise Linux 7 for Power 9 LE, as a code with the flaw is not built and shipped with the products listed.

Comment 7 Vladis Dronov 2018-01-24 13:53:35 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

Comment 8 errata-xmlrpc 2018-03-12 13:38:44 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise MRG 2

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


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