CVE-2018-7757 json
Memory leak in the sas_smp_get_phy_events function in drivers/scsi/libsas/sas_expander.c in the Linux kernel through 4.15.7 allows local us…
published 2018-03-08 8 y ago modified 2026-06-17 4 mo ago also EUVD-2018-19469
- cvss
- 5.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 45%
- public exploits
- 0
- none known
Summary
Memory leak in the sas_smp_get_phy_events function in drivers/scsi/libsas/sas_expander.c in the Linux kernel through 4.15.7 allows local users to cause a denial of service (memory consumption) via many read accesses to files in the /sys/class/sas_phy directory, as demonstrated by the /sys/class/sas_phy/phy-1:0:12/invalid_dword_count file.
Patch / fix
- linux Debian 14, Debian 13, Debian 12 4.15.17-1
debian advisories DEBIAN-CVE-2018-7757
- linux Ubuntu 14.04 LTS 3.13.0-153.203
- linux Ubuntu 16.04 LTS 4.4.0-127.153
- linux-aws Ubuntu 14.04 LTS 4.4.0-1022.22
- linux-aws Ubuntu 16.04 LTS 4.4.0-1060.69
- linux-gcp Ubuntu 16.04 LTS 4.15.0-1014.14~16.04.1
- linux-hwe Ubuntu 16.04 LTS 4.15.0-24.26~16.04.1
- linux-kvm Ubuntu 16.04 LTS 4.4.0-1026.31
- linux-oem Ubuntu 16.04 LTS 4.13.0-1031.35
ubuntu advisories UBUNTU-CVE-2018-7757
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-alt RHEL 7 4.14.0-115.el7a
- perf RHEL 7 4.14.0-115.el7a
- kernel RHEL 7 4.14.0-115.el7a
- python-perf RHEL 7 4.14.0-115.el7a
- kernel-tools RHEL 7 4.14.0-115.el7a
- kernel-tools-libs RHEL 7 4.14.0-115.el7a
- kernel-bootwrapper RHEL 7 4.14.0-115.el7a
- kernel-abi-whitelists RHEL 7 4.14.0-115.el7a
red hat advisories RHSA-2018:2948RHSA-2018:3096RHSA-2018:3083
- kernel-azure SLES for SAP 12 SP3, SLES 12 SP3 4.4.162-4.19.2
- kernel-syms-azure SLES for SAP 12 SP3, SLES 12 SP3 4.4.162-4.19.1
- kernel-source-azure SLES for SAP 12 SP3, SLES 12 SP3 4.4.162-4.19.1
- kernel-rt SLE Real Time 12 SP3 4.4.162-3.26.1
- kernel-syms-rt SLE Real Time 12 SP3 4.4.162-3.26.1
- kernel-rt_debug SLE Real Time 12 SP3 4.4.162-3.26.1
- kernel-source-rt SLE Real Time 12 SP3 4.4.162-3.26.1
- kernel-syms SLES for SAP 12 SP2, SLES 12 SP2-LTSS, SLES 12 SP2-BCL +2 more 4.4.121-92.95.1
suse advisories SUSE-SU-2019:0095-1SUSE-SU-2018:3659-1SUSE-SU-2018:3084-1SUSE-SU-2018:3003-1SUSE-SU-2018:3004-1SUSE-SU-2018:1309-1
- ffmpeg Alpine 3.24, Alpine 3.23, Alpine 3.22 +12 more 4.0.0-r0
- ffmpeg4 Alpine 3.22, Alpine 3.21, Alpine 3.20 +4 more 4.0.0-r0
alpine advisories ALPINE-CVE-2018-7757
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
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-7757 updated cvss 5.5
kernel: Memory leak in the sas_smp_get_phy_events function in drivers/scsi/libsas/sas_expander.c
-
Red Hat Enterprise Linux 5 kernelaffected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 moreaffected: no fix available “Fix deferred”
-
Red Hat Enterprise MRG 2 kernel-rt, mrg-rt-release, kernel-rt-trace, kernel-rt-vanilla, kernel-rt-firmwareaffected: no fix available
-
Red Hat Enterprise Linux Client (v. 7) perf 3.10.0-957.el7, kernel 3.10.0-957.el7, bpftool 3.10.0-957.el7, python-perf 3.10.0-957.el7, kernel-tools 3.10.0-957.el7, kernel-tools-libs 3.10.0-957.el7, +2 more Red Hat Enterprise Linux Client Optional (v. 7) kernel-debuginfo-common-x86_64 3.10.0-957.el7 Red Hat Enterprise Linux ComputeNode (v. 7) perf 3.10.0-957.el7, kernel 3.10.0-957.el7, bpftool 3.10.0-957.el7, python-perf 3.10.0-957.el7, kernel-tools 3.10.0-957.el7, kernel-tools-libs 3.10.0-957.el7, +2 more Red Hat Enterprise Linux ComputeNode Optional (v. 7) kernel-debuginfo-common-x86_64 3.10.0-957.el7 Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) perf 3.10.0-957.el7, perf 4.14.0-115.el7a, kernel 3.10.0-957.el7, kernel 4.14.0-115.el7a, kernel-alt 4.14.0-115.el7a, python-perf 3.10.0-957.el7, +13 more Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) kernel-debuginfo-common-ppc64le 3.10.0-957.el7, kernel-debuginfo-common-ppc64le 4.14.0-115.el7afixed: vendor fix RHSA-2018:3083
-
Red Hat Enterprise Linux for Real Time (v. 7) kernel-rt 3.10.0-957.rt56.910.el7, kernel-rt-trace 3.10.0-957.rt56.910.el7 Red Hat Enterprise Linux for Real Time for NFV (v. 7) kernel-rt 3.10.0-957.rt56.910.el7, kernel-rt-kvm 3.10.0-957.rt56.910.el7, kernel-rt-trace 3.10.0-957.rt56.910.el7, kernel-rt-debug-kvm 3.10.0-957.rt56.910.el7, kernel-rt-trace-kvm 3.10.0-957.rt56.910.el7, kernel-rt-debuginfo-common-x86_64 3.10.0-957.rt56.910.el7fixed: vendor fix RHSA-2018:3096
-
Red Hat Enterprise Linux Server (v. 7) perf 3.10.0-957.el7, kernel 3.10.0-957.el7, bpftool 3.10.0-957.el7, python-perf 3.10.0-957.el7, kernel-kdump 3.10.0-957.el7, kernel-tools 3.10.0-957.el7, +7 more Red Hat Enterprise Linux Server Optional (v. 7) kernel-debuginfo-common-ppc64 3.10.0-957.el7, kernel-debuginfo-common-x86_64 3.10.0-957.el7, kernel-debuginfo-common-ppc64le 3.10.0-957.el7 Red Hat Enterprise Linux Workstation (v. 7) perf 3.10.0-957.el7, kernel 3.10.0-957.el7, bpftool 3.10.0-957.el7, python-perf 3.10.0-957.el7, kernel-tools 3.10.0-957.el7, kernel-tools-libs 3.10.0-957.el7, +2 more Red Hat Enterprise Linux Workstation Optional (v. 7) kernel-debuginfo-common-x86_64 3.10.0-957.el7fixed: vendor fix RHSA-2018:3083
-
Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-core, kernel-tools, python3-perf, +17 more Red Hat Enterprise Linux Client (v. 7) kernel-headers 3.10.0-957.el7 Red Hat Enterprise Linux ComputeNode (v. 7) kernel-headers 3.10.0-957.el7 Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) kernel-headers 3.10.0-957.el7 Red Hat Enterprise Linux Server (v. 7) kernel-headers 3.10.0-957.el7 Red Hat Enterprise Linux Workstation (v. 7) kernel-headers 3.10.0-957.el7not 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.53% chance of exploitation in the next 30 days, higher than 45% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 5.5 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 2.1 | AV:L/AC:L/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-772 Missing Release of Resource after Effective Lifetime
- Technology feeds
References
-
github.com
/torvalds/linux/commit/4a491b1ab11ca0556d2fda1ff1301e862a2d44c4
patch, third-party-advisory
-
git.kernel.org
/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=4a491b1ab11ca0556d2fda1ff1301e862a2d44c4
patch, vendor-advisory
-
access.redhat.com
/errata/RHSA-2018:3083
vendor-advisory
-
debian.org
/security/2018/dsa-4187
vendor-advisory
-
usn.ubuntu.com
/3654-1/
vendor-advisory
-
usn.ubuntu.com
/3697-1/
vendor-advisory
-
debian.org
/security/2018/dsa-4188
vendor-advisory
-
access.redhat.com
/errata/RHSA-2018:2948
vendor-advisory
-
usn.ubuntu.com
/3697-2/
vendor-advisory
-
usn.ubuntu.com
/3654-2/
vendor-advisory
-
usn.ubuntu.com
/3698-1/
vendor-advisory
-
usn.ubuntu.com
/3656-1/
vendor-advisory
-
access.redhat.com
/errata/RHSA-2018:3096
vendor-advisory
-
usn.ubuntu.com
/3698-2/
vendor-advisory
-
securityfocus.com
/bid/103348
vdb-entry, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2018/05/msg00000.html
mailing-list
Sources
- CVE List CVE-2018-7757
- NVD CVE-2018-7757
Fencer Intel 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.