CVE-2018-20855 json
An issue was discovered in the Linux kernel before 4.18.7.
published 2019-07-26 7 y ago modified 2026-06-17 4 mo ago also EUVD-2018-13395
- cvss
- 3.3
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 40%
- public exploits
- 0
- none known
Summary
An issue was discovered in the Linux kernel before 4.18.7. In create_qp_common in drivers/infiniband/hw/mlx5/qp.c, mlx5_ib_create_qp_resp was never initialized, resulting in a leak of stack memory to userspace.
Patch / fix
- linux linux_kernel 4.18.7
- linux Debian 14, Debian 13, Debian 12 4.18.8-1
debian advisories DEBIAN-CVE-2018-20855
- kernel-rt SLE Real Time 12 SP4 4.12.14-8.3.1
- kernel-syms-rt SLE Real Time 12 SP4 4.12.14-8.3.1
- kernel-rt_debug SLE Real Time 12 SP4 4.12.14-8.3.1
- kernel-source-rt SLE Real Time 12 SP4 4.12.14-8.3.1
- kernel-source-rt Real Time Module 15 SP1 4.12.14-14.8.1
- kernel-rt Real Time Module 15 SP1 4.12.14-14.8.1
- kernel-syms-rt Real Time Module 15 SP1 4.12.14-14.8.1
- kernel-rt_debug Real Time Module 15 SP1 4.12.14-14.8.1
suse advisories SUSE-SU-2019:2450-1SUSE-SU-2019:2430-1SUSE-SU-2019:2299-1SUSE-SU-2019:2263-1SUSE-SU-2019:2262-1SUSE-SU-2019:14157-1
- kernel-syms openSUSE Leap 15.0 4.12.14-lp150.12.70.1
- kernel-obs-qa openSUSE Leap 15.0 4.12.14-lp150.12.70.1
- kernel-source openSUSE Leap 15.0 4.12.14-lp150.12.70.1
- kernel-default openSUSE Leap 15.0 4.12.14-lp150.12.70.1
- kernel-vanilla openSUSE Leap 15.0 4.12.14-lp150.12.70.1
- kernel-kvmsmall openSUSE Leap 15.0 4.12.14-lp150.12.70.1
- kernel-obs-build openSUSE Leap 15.0 4.12.14-lp150.12.70.1
- kernel-syms openSUSE Leap 15.1 4.12.14-lp151.28.13.1
opensuse advisories openSUSE-SU-2019:1924-1openSUSE-SU-2019:1923-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-20855 updated cvss 3.3
kernel: Information leak in create_qp_common in drivers/infiniband/hw/mlx5/qp.c
-
Red Hat Enterprise Linux 7 perf, kernel, kernel-alt, python-perf, kernel-kdump, kernel-tools, +3 more Red Hat Enterprise MRG 2 kernel-rt, mrg-rt-release, kernel-rt-trace, kernel-rt-vanilla, kernel-rt-firmwareaffected: workaround, no fix planned “If the InfiniBand device is in use, there is no known mitigation for this flaw. If the InfiniBand device is not in use, the kernel module (mlx5_ib) can be blacklisted and unloaded.”
-
Red Hat Enterprise Linux 5 kernel Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 kernel, bpftool, kernel-rt, kernel-rt-kvm, kernel-rt-trace, kernel-rt-debug-kvm, +1 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.47% chance of exploitation in the next 30 days, higher than 40% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 3.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| NVD | 2.0 | 2.1 | AV:L/AC:L/Au:N/C:P/I:N/A:N |
Classification
- Weakness
-
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
- Technology feeds
References
-
github.com
/torvalds/linux/commit/0625b4ba1a5d4703c7fb01c497bd6c156908af00
patch, third-party-advisory
-
git.kernel.org
/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=0625b4ba1a5d4703c7fb01c497bd6c156908af00
mailing-list, patch, vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2019-08/msg00055.html
vendor-advisory, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2019-08/msg00056.html
vendor-advisory, third-party-advisory
-
cdn.kernel.org
/pub/linux/kernel/v4.x/ChangeLog-4.18.7
mailing-list, release-notes, vendor-advisory
-
security.netapp.com
/advisory/ntap-20190905-0002/
third-party-advisory
Sources
- CVE List CVE-2018-20855
- NVD CVE-2018-20855
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.