CVE-2017-7477
published 2017-04-25CVE-2017-7477: Heap-based buffer overflow in drivers/net/macsec.c in the MACsec module in the Linux kernel through 4.10.12 allows attackers to cause a denial of service or…
PriorityP427high7CVSS 3.1
AVLACHPRLUINSUCHIHAH
EPSS
0.39%
31.5th percentile
Heap-based buffer overflow in drivers/net/macsec.c in the MACsec module in the Linux kernel through 4.10.12 allows attackers to cause a denial of service or possibly have unspecified other impact by leveraging the use of a MAX_SKB_FRAGS+1 size in conjunction with the NETIF_F_FRAGLIST feature, leading to an error in the skb_to_sgvec function.
Affected
8 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 4.9.25-1 (bookworm) | linux 4.9.25-1 (bookworm) |
| linux | linux_kernel | — | — |
| linux | linux_kernel | >= 0 < 4.9.25-1 | 4.9.25-1 |
| linux | linux_kernel | >= 0 < 4.9.25-1 | 4.9.25-1 |
| linux | linux_kernel | >= 0 < 4.9.25-1 | 4.9.25-1 |
| linux | linux_kernel | >= 0 < 4.9.25-1 | 4.9.25-1 |
| linux | linux_kernel | >= 4.10 < 4.10.16 | 4.10.16 |
| linux | linux_kernel | >= 4.6 < 4.9.28 | 4.9.28 |
CVSS provenance
nvdv3.17.0HIGHCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
nvdv2.06.9MEDIUMAV:L/AC:M/Au:N/C:C/I:C/A:C
osv7.0HIGH
vendor_debian7.0HIGH
vendor_redhat7.0HIGH
vendor_ubuntu6.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
Linux kernel vulnerabilities
vendor_ubuntu·2017-05-17·CVSS 6.5
CVE-2017-2596 [MEDIUM] Linux kernel vulnerabilities
Title: Linux kernel vulnerabilities
Summary: Several security issues were fixed in the kernel.
Dmitry Vyukov discovered that KVM implementation in the Linux kernel
improperly emulated the VMXON instruction. A local attacker in a guest OS
could use this to cause a denial of service (memory consumption) in the
host OS. (CVE-2017-2596)
Dmitry Vyukov discovered that the generic SCSI (sg) subsystem in the Linux
kernel contained a stack-based buffer overflow. A local attacker with
access to an sg device could use this to cause a denial of service (system
crash) or possibly execute arbitrary code. (CVE-2017-7187)
It was discovered that a NULL pointer dereference existed in the Direct
Rendering Manager (DRM) driver for VMWare devices in the Linux kernel. A
local attacker could use this to caus
Ubuntu
Linux kernel vulnerability
vendor_ubuntu·2017-05-17
CVE-2017-7477 Linux kernel vulnerability
Title: Linux kernel vulnerability
Summary: The system could be made to crash or run programs as an administrator.
Jason Donenfeld discovered a heap overflow in the MACsec module in the
Linux kernel. An attacker could use this to cause a denial of service
(system crash) or possibly execute arbitrary code.
Instructions: After a standard system update you need to reboot your computer to make
all the necessary changes.
ATTENTION: Due to an unavoidable ABI change the kernel updates have
been given a new version number, which requires you to recompile and
reinstall all third party kernel modules you might have installed.
Unless you manually uninstalled the standard kernel metapackages
(e.g. linux-generic, linux-generic-lts-RELEASE, linux-virtual,
linux-powerpc), a standard system upgrade wil
Ubuntu
Linux kernel (HWE) vulnerability
vendor_ubuntu·2017-05-17
CVE-2017-7477 Linux kernel (HWE) vulnerability
Title: Linux kernel (HWE) vulnerability
Summary: The system could be made to crash or run programs as an administrator.
USN-3292-1 fixed a vulnerability in the Linux kernel for Ubuntu 16.10.
This update provides the corresponding updates for the Linux Hardware
Enablement (HWE) kernel from Ubuntu 16.10 for Ubuntu 16.04 LTS.
Jason Donenfeld discovered a heap overflow in the MACsec module in the
Linux kernel. An attacker could use this to cause a denial of service
(system crash) or possibly execute arbitrary code.
Instructions: After a standard system update you need to reboot your computer to make
all the necessary changes.
ATTENTION: Due to an unavoidable ABI change the kernel updates have
been given a new version number, which requires you to recompile and
reinstall all third party ke
Red Hat
kernel: net: Heap overflow in skb_to_sgvec in macsec.c
vendor_redhat·2017-04-24·CVSS 7.0
CVE-2017-7477 [HIGH] CWE-122 kernel: net: Heap overflow in skb_to_sgvec in macsec.c
kernel: net: Heap overflow in skb_to_sgvec in macsec.c
Heap-based buffer overflow in drivers/net/macsec.c in the MACsec module in the Linux kernel through 4.10.12 allows attackers to cause a denial of service or possibly have unspecified other impact by leveraging the use of a MAX_SKB_FRAGS+1 size in conjunction with the NETIF_F_FRAGLIST feature, leading to an error in the skb_to_sgvec function.
A flaw was found in the way Linux kernel allocates heap memory to build the scattergather list from a fragment list(skb_shinfo(skb)->frag_list) in the socket buffer(skb_buff). The heap overflow occurred if 'MAX_SKB_FRAGS + 1' parameter and 'NETIF_F_FRAGLIST' feature are both used together. A remote user or process could use this flaw to potentially escalate their privilege on a system.
Statement
Debian
CVE-2017-7477: linux - Heap-based buffer overflow in drivers/net/macsec.c in the MACsec module in the L...
vendor_debian·2017·CVSS 7.0
CVE-2017-7477 [HIGH] CVE-2017-7477: linux - Heap-based buffer overflow in drivers/net/macsec.c in the MACsec module in the L...
Heap-based buffer overflow in drivers/net/macsec.c in the MACsec module in the Linux kernel through 4.10.12 allows attackers to cause a denial of service or possibly have unspecified other impact by leveraging the use of a MAX_SKB_FRAGS+1 size in conjunction with the NETIF_F_FRAGLIST feature, leading to an error in the skb_to_sgvec function.
Scope: local
bookworm: resolved (fixed in 4.9.25-1)
bullseye: resolved (fixed in 4.9.25-1)
forky: resolved (fixed in 4.9.25-1)
sid: resolved (fixed in 4.9.25-1)
trixie: resolved (fixed in 4.9.25-1)
GHSA
GHSA-rj7x-xw78-6fjw: Heap-based buffer overflow in drivers/net/macsec
ghsa_unreviewed·2022-05-14
CVE-2017-7477 [HIGH] CWE-119 GHSA-rj7x-xw78-6fjw: Heap-based buffer overflow in drivers/net/macsec
Heap-based buffer overflow in drivers/net/macsec.c in the MACsec module in the Linux kernel through 4.10.12 allows attackers to cause a denial of service or possibly have unspecified other impact by leveraging the use of a MAX_SKB_FRAGS+1 size in conjunction with the NETIF_F_FRAGLIST feature, leading to an error in the skb_to_sgvec function.
OSV
CVE-2017-7477: Heap-based buffer overflow in drivers/net/macsec
osv·2017-04-25·CVSS 7.0
CVE-2017-7477 [HIGH] CVE-2017-7477: Heap-based buffer overflow in drivers/net/macsec
Heap-based buffer overflow in drivers/net/macsec.c in the MACsec module in the Linux kernel through 4.10.12 allows attackers to cause a denial of service or possibly have unspecified other impact by leveraging the use of a MAX_SKB_FRAGS+1 size in conjunction with the NETIF_F_FRAGLIST feature, leading to an error in the skb_to_sgvec function.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2017-7477 kernel: net: Heap overflow in skb_to_sgvec in macsec.c
bugzilla·2017-04-25·CVSS 7.0
CVE-2017-7477 [HIGH] CVE-2017-7477 kernel: net: Heap overflow in skb_to_sgvec in macsec.c
CVE-2017-7477 kernel: net: Heap overflow in skb_to_sgvec in macsec.c
A heap overflow vulnerability was found in the Linux kernel in macsec module. Specifying MAX_SKB_FRAGS + 1 and using NETIF_F_FRAGLIST which calls skb_to_sgvec will overflow the heap.
Upstream patches:
https://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git/commit/?id=4d6fa57b4dab0d77f4d8e9d9c73d1e63f6fe8fee
https://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git/commit/?id=5294b83086cc1c35b4efeca03644cf9d12282e5b
Discussion:
Created kernel tracking bugs for this issue:
Affects: fedora-all [bug 1445208]
---
References:
http://seclists.org/oss-sec/2017/q2/119
---
I found this vulnerability and reported it prior to oss-sec. The original email to oss-sec is here:
http://www.openwall.com/lists/oss-secur
Bugzilla
CVE-2017-7477 kernel: net: Heap overflow in skb_to_sgvec in macsec.c [fedora-all]
bugzilla·2017-04-25·CVSS 7.0
CVE-2017-7477 [HIGH] CVE-2017-7477 kernel: net: Heap overflow in skb_to_sgvec in macsec.c [fedora-all]
CVE-2017-7477 kernel: net: Heap overflow in skb_to_sgvec in macsec.c [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported vers
http://www.securityfocus.com/bid/98014http://www.securitytracker.com/id/1038500https://access.redhat.com/errata/RHSA-2017:1615https://access.redhat.com/errata/RHSA-2017:1616https://bugzilla.redhat.com/show_bug.cgi?id=1445207https://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git/commit/?id=4d6fa57b4dab0d77f4d8e9d9c73d1e63f6fe8feehttps://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git/commit/?id=5294b83086cc1c35b4efeca03644cf9d12282e5bhttp://www.securityfocus.com/bid/98014http://www.securitytracker.com/id/1038500https://access.redhat.com/errata/RHSA-2017:1615https://access.redhat.com/errata/RHSA-2017:1616https://bugzilla.redhat.com/show_bug.cgi?id=1445207https://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git/commit/?id=4d6fa57b4dab0d77f4d8e9d9c73d1e63f6fe8feehttps://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git/commit/?id=5294b83086cc1c35b4efeca03644cf9d12282e5b
2017-04-25
Published