Skip to content
OpenAdvisories
Unscored Public exploit CVE-2018-5333 EUVD-2018-17112GHSA-fgqv-475c-x2p6

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…

Published Jan 11, 2018 · Updated Aug 5, 2024 · Assigned by mitre

Description

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, leading to an rds_atomic_free_op NULL pointer dereference.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 linux 4.14.17-1 —
Debian 13 linux 4.14.17-1 —
Debian 12 linux 4.14.17-1 —
Debian 8 linux 3.16.56-1 DSA-4187-1
Debian 7 linux 3.2.101-1 DLA-1369-1
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS linux-raspi-realtime No fix yet —
Ubuntu 22.04 LTS linux-riscv +2 No fix yet —
Ubuntu 20.04 LTS linux-gke +3 No fix yet —
Ubuntu 16.04 LTS linux 4.4.0-119.143 USN-3619-1
Ubuntu 16.04 LTS linux-aws 4.4.0-1054.63 USN-3619-1
Ubuntu 16.04 LTS linux-azure 4.13.0-1014.17 USN-3632-1
Ubuntu 16.04 LTS linux-gcp 4.13.0-1012.16 USN-3617-2
Ubuntu 16.04 LTS linux-hwe 4.13.0-41.46~16.04.1 USN-3617-2
Ubuntu 16.04 LTS linux-kvm 4.4.0-1020.25 USN-3619-1
Ubuntu 16.04 LTS linux-oem 4.13.0-1022.24 USN-3617-2
Ubuntu 16.04 LTS linux-raspi2 4.4.0-1086.94 USN-3619-1
Ubuntu 16.04 LTS linux-snapdragon 4.4.0-1088.93 USN-3619-1
Ubuntu 14.04 LTS linux 3.13.0-142.191 USN-3583-1
Ubuntu 14.04 LTS linux-aws 4.4.0-1016.16 USN-3619-2
Ubuntu 14.04 LTS linux-lts-xenial 4.4.0-119.143~14.04.1 USN-3619-2
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro FIPS-updates 16.04 LTS linux-fips 4.4.0-1008.10 —
ReleasePackageFixed inAdvisory
Red Hat MRG 2 kernel-rt +10 1:3.10.0-693.21.1.rt56.607.el6rt RHSA-2018:0470
ReleasePackageFixed inAdvisory
SLES 12 SP3 kernel-default +1 4.4.114-94.11.3 SUSE-SU-2018:0383-1
SLES 12 SP3 kernel-docs 4.4.114-94.11.4 SUSE-SU-2018:0383-1
SLES 12 SP3 kernel-syms +1 4.4.114-94.11.2 SUSE-SU-2018:0383-1
SLES 12 SP2 kernel-docs 4.4.114-92.64.2 SUSE-SU-2018:0416-1
SLES 12 SP2 kernel-syms +3 4.4.114-92.64.1 SUSE-SU-2018:0416-1
SLES 12 SP1 kernel-xen +3 3.12.74-60.64.85.1 SUSE-SU-2018:0848-1
SLES 12 SP1 kgraft-patch-SLE12-SP1_Update_26 1-2.3.1 SUSE-SU-2018:0848-1
SLES 12 kernel-ec2 +4 3.12.61-52.125.1 SUSE-SU-2018:0848-1, SUSE-SU-2018:0834-1
SLES 12 kgraft-patch-SLE12_Update_33 1-1.3.1 SUSE-SU-2018:0834-1
SLES 11 SP4 cluster-network 1.4-2.32.4.6 SUSE-SU-2018:0555-1
SLES 11 SP4 drbd 8.4.4-0.27.4.2 SUSE-SU-2018:0555-1
SLES 11 SP4 drbd-kmp 8.4.4-0.27.4.6 SUSE-SU-2018:0555-1
SLES 11 SP4 gfs2 2-0.24.4.6 SUSE-SU-2018:0555-1
SLES 11 SP4 kernel-ec2 +9 3.0.101-108.35.1 SUSE-SU-2018:0555-1
SLES 11 SP4 ocfs2 1.6-0.28.5.6 SUSE-SU-2018:0555-1
Show 12 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 11 SP3 kernel-ec2 +7 3.0.101-0.47.106.19.1 SUSE-SU-2018:0660-1
SLES for SAP 12 SP3 kernel-default 4.4.114-94.11.3 SUSE-SU-2018:0383-1
SLES for SAP 12 SP3 kernel-syms +1 4.4.114-94.11.2 SUSE-SU-2018:0383-1
SLES for SAP 12 SP2 kernel-syms +2 4.4.114-92.64.1 SUSE-SU-2018:0416-1
SLES for SAP 12 SP1 kernel-xen +3 3.12.74-60.64.85.1 SUSE-SU-2018:0848-1
SLES for SAP 12 SP1 kgraft-patch-SLE12-SP1_Update_26 1-2.3.1 SUSE-SU-2018:0848-1
SLES for SAP 11 SP4 kernel-ec2 +8 3.0.101-108.35.1 SUSE-SU-2018:0555-1
SLE Real Time 12 SP3 kernel-rt +3 4.4.120-3.8.1 SUSE-SU-2018:0986-1
SLE Real Time 12 SP2 kernel-rt +3 4.4.114-27.1 SUSE-SU-2018:0482-1
SLE Real Time 11 SP4 cluster-network 1.4-2.32.4.6 SUSE-SU-2018:0555-1
SLE Real Time 11 SP4 drbd-kmp 8.4.4-0.27.4.6 SUSE-SU-2018:0555-1
SLE Real Time 11 SP4 gfs2 2-0.24.4.6 SUSE-SU-2018:0555-1
SLE Real Time 11 SP4 kernel-rt +3 3.0.101.rt130-69.21.1 SUSE-SU-2018:0841-1
SLE Real Time 11 SP4 ocfs2 1.6-0.28.5.6 SUSE-SU-2018:0555-1
SLE Live Patching 12 SP3 kgraft-patch-SLE12-SP3_Update_8 1-4.3.5 SUSE-SU-2018:0383-1
SLE Live Patching 12 kgraft-patch-SLE12-SP2_Update_18 1-3.3.2 SUSE-SU-2018:0416-1
SUSE OpenStack Cloud 6 kernel-xen +3 3.12.74-60.64.85.1 SUSE-SU-2018:0848-1
SUSE OpenStack Cloud 6 kgraft-patch-SLE12-SP1_Update_26 1-2.3.1 SUSE-SU-2018:0848-1
SUSE Linux Enterprise Point of Sale 11 SP3 kernel-ec2 +6 3.0.101-0.47.106.19.1 SUSE-SU-2018:0660-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed kernel-source 5.14.6-1.4 openSUSE-SU-2024:13704-1, openSUSE-SU-2024:10728-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 kernel-uek +34 6.12.0-101.33.4.3.el10uek ELSA-2025-20530, ELSA-2025-20480
Oracle Linux 7 dtrace-modules-3.8.13-118.23.1.el6uek 0.4.5-3.el6 ELSA-2018-4193
Oracle Linux 7 dtrace-modules-3.8.13-118.23.1.el7uek 0.4.5-3.el7 ELSA-2018-4193
Oracle Linux 7 kernel-uek +5 3.8.13-118.23.1.el7uek ELSA-2018-4193, ELSA-2018-4114

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Metasploit 1 module

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 25

References