kernel: net: Heap overflow in skb_to_sgvec in macsec.c
Published Apr 25, 2017
7.0
HIGHCVSS 3.1
EPSS 0.39%
Description
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 products
- Vendor n/a Product Linux kernel Defaultn/a
- Version Linux kernelStatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| n/a | Linux kernel | n/a |
|
- ≥ 4.6 · < 4.9.28
- ≥ 4.10 · < 4.10.16
No data.
Red Hat Enterprise Linux 7
kernel-0:3.10.0-514.26.1.el7
Fixed · RHSA-2017:1615
Red Hat Enterprise Linux 7
kernel-rt-0:3.10.0-514.26.1.rt56.442.el7
Fixed · RHSA-2017:1616
Red Hat Enterprise Linux 5
kernel
Not affected
Red Hat Enterprise Linux 6
kernel
Not affected
Red Hat Enterprise MRG 2
realtime-kernel
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | kernel-0:3.10.0-514.26.1.el7 | Fixed | RHSA-2017:1615 |
| Red Hat Enterprise Linux 7 | kernel-rt-0:3.10.0-514.26.1.rt56.442.el7 | Fixed | RHSA-2017:1616 |
| Red Hat Enterprise Linux 5 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 6 | kernel | Not affected | n/a |
| Red Hat Enterprise MRG 2 | realtime-kernel | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue does not affect the Linux kernel packages as shipped with Red Hat Enterprise Linux 5, 6 and Red Hat Enterprise MRG 2. This issue affects the Linux kernel packages as shipped with Red Hat Enterprise Linux 7 starting with the version kernel-3.10.0-514.el7, that is with Red Hat Enterprise Linux 7.3 GA. Prior Red Hat Enterprise Linux 7 kernel versions are not affected. In order to exploit this issue, the system needs to be manually configured by privileged user. The default Red Hat Enterprise Linux 7 configuration is not vulnerable.
Red Hat mitigation
Red Hat recommends blacklisting the kernel module to prevent its use. This will prevent accidental version loading by administration and also mitigate the flaw if a kernel with the affected module is booted. As the macsec module will be auto-loaded when required, its use can be disabled by preventing the module from loading with the following instructions: Raw # echo "install macsec /bin/true" >> /etc/modprobe.d/disable-macsec.conf If macsec functionality is in use as a functional part of the system a kernel upgrade is required.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
AV:L/AC:M/Au:N/C:C/I:C/A:C
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (16 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.39% (0.00387) | 30.36th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.39% (0.00387) | 30.29th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.05% (0.00050) | 12.72th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.07% (0.00069) | 32.26th | v3 (v2023.03.01) |
| Jun 13, 2024 | 0.07% (0.00069) | 30.15th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.07% (0.00069) | 28.11th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.03% (0.01034) | 41.69th | v2 (v2022.01.01) |
| Feb 13, 2023 | 1.03% (0.01034) | 41.16th | v2 (v2022.01.01) |
| Feb 3, 2023 | 1.31% (0.01315) | 67.76th | v2 (v2022.01.01) |
| Sep 10, 2022 | 1.03% (0.01034) | 39.91th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.03% (0.01034) | 37.91th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.03% (0.01034) | 20.32th | v2 (v2022.01.01) |
| Feb 3, 2022 | 2.06% (0.02061) | 50.21th | v1 |
| Jan 6, 2022 | 2.06% (0.02061) | 49.70th | v1 |
| Sep 1, 2021 | 2.06% (0.02061) | 76.87th | v1 |
| Apr 14, 2021 | 2.06% (0.02061) | 0.00th | v1 |
References (10)
- http://www.securityfocus.com/bid/98014 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id/1038500 vdb-entryx_refsource_SECTRACKThird Party AdvisoryVDB Entry
- https://access.redhat.com/errata/RHSA-2017:1615 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2017:1616 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2017-7477 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1445207 x_refsource_CONFIRMIssue TrackingPatchThird Party Advisory
- https://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git/commit/?id=4d6fa57b4dab0d77f4d8e9d9c73d1e63f6fe8fee x_refsource_CONFIRMPatch
- https://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git/commit/?id=5294b83086cc1c35b4efeca03644cf9d12282e5b x_refsource_CONFIRMPatch
- https://nvd.nist.gov/vuln/detail/CVE-2017-7477
- https://www.cve.org/CVERecord?id=CVE-2017-7477
| Link | Providers | Tags |
|---|---|---|
| http://www.securityfocus.com/bid/98014 | vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry | |
| http://www.securitytracker.com/id/1038500 | vdb-entryx_refsource_SECTRACKThird Party AdvisoryVDB Entry | |
| https://access.redhat.com/errata/RHSA-2017:1615 | vendor-advisoryx_refsource_REDHATThird Party Advisory | |
| https://access.redhat.com/errata/RHSA-2017:1616 | vendor-advisoryx_refsource_REDHATThird Party Advisory | |
| https://access.redhat.com/security/cve/CVE-2017-7477 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1445207 | x_refsource_CONFIRMIssue TrackingPatchThird Party Advisory | |
| https://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git/commit/?id=4d6fa57b4dab0d77f4d8e9d9c73d1e63f6fe8fee | x_refsource_CONFIRMPatch | |
| https://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git/commit/?id=5294b83086cc1c35b4efeca03644cf9d12282e5b | x_refsource_CONFIRMPatch | |
| https://nvd.nist.gov/vuln/detail/CVE-2017-7477 | ||
| https://www.cve.org/CVERecord?id=CVE-2017-7477 |
Change history (0)
No recorded changes yet.