Linux Kernel up to 4.12 hns_enet.c hns_nic_net_xmit_hw/hns_nic_net_xmit use after free

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.5 | $0-$5k | 0.00 |
Summary
A vulnerability has been found in Linux Kernel up to 4.12 and classified as problematic. Impacted is the function hns_nic_net_xmit_hw/hns_nic_net_xmit of the file drivers/net/ethernet/hisilicon/hns/hns_enet.c. Performing a manipulation results in use after free.
This vulnerability is known as CVE-2017-18218. Attacking locally is a requirement. No exploit is available.
The affected component should be upgraded.
Details
A vulnerability classified as problematic has been found in Linux Kernel up to 4.12 (Operating System). This affects the function hns_nic_net_xmit_hw/hns_nic_net_xmit of the file drivers/net/ethernet/hisilicon/hns/hns_enet.c. The manipulation with an unknown input leads to a use after free vulnerability. CWE is classifying the issue as CWE-416. Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code. This is going to have an impact on availability. The summary by CVE is:
In drivers/net/ethernet/hisilicon/hns/hns_enet.c in the Linux kernel before 4.13, local users can cause a denial of service (use-after-free and BUG) or possibly have unspecified other impact by leveraging differences in skb handling between hns_nic_net_xmit_hw and hns_nic_net_xmit.
The bug was discovered 07/06/2017. The weakness was published 03/05/2018 (Website). It is possible to read the advisory at git.kernel.org. This vulnerability is uniquely identified as CVE-2017-18218 since 03/05/2018. The exploitability is told to be easy. Attacking locally is a requirement. No form of authentication is needed for exploitation. Technical details of the vulnerability are known, but there is no available exploit.
The vulnerability was handled as a non-public zero-day exploit for at least 242 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 109518 (Debian DSA-4188-1 : linux - security update (Spectre)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Debian Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 351264 (Amazon Linux Security Advisory for kernel: ALAC2012-2018-003).
Upgrading to version 4.13 eliminates this vulnerability. A possible mitigation has been published 3 months after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at Tenable (109518), SecurityFocus (BID 103277†) and CERT Bund (WID-SEC-2022-0532). Similar entries are available at VDB-111185, VDB-111443, VDB-111732 and VDB-111733. Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Affected
- Oracle Linux
- Debian Linux
- Open Source Linux Kernel
- Red Hat Enterprise Linux
- Ubuntu Linux
- SUSE Linux
- Oracle VM
- NetApp FAS
- Avaya Aura Communication Manager
- Avaya Aura Session Manager
- Avaya Aura Application Enablement Services
- Avaya Aura System Manager
- Avaya Aura Experience Portal
- NetApp AFF
Product
Type
Vendor
Name
Version
License
Website
- Vendor: https://www.kernel.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.5VulDB Meta Temp Score: 5.5
VulDB Base Score: 3.3
VulDB Temp Score: 3.2
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.8
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Use after freeCWE: CWE-416 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: No
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 109518
Nessus Name: Debian DSA-4188-1 : linux - security update (Spectre)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 54612
OpenVAS Name: Debian Security Advisory DSA 4188-1 (linux - security update)
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Upgrade: Kernel 4.13
Patch: git.kernel.org
Timeline
07/06/2017 🔍03/05/2018 🔍
03/05/2018 🔍
03/05/2018 🔍
03/06/2018 🔍
03/07/2018 🔍
05/01/2018 🔍
05/02/2018 🔍
09/14/2025 🔍
Sources
Vendor: kernel.orgAdvisory: 27463ad99f738ed93c7c8b3e2e5bc8c4853a2ff2
Status: Confirmed
CVE: CVE-2017-18218 (🔍)
GCVE (CVE): GCVE-0-2017-18218
GCVE (VulDB): GCVE-100-114075
OVAL: 🔍
SecurityFocus: 103277 - Linux Kernel 'drivers/net/ethernet/hisilicon/hns/hns_enet.c' Local Denial of Service Vulnerability
CERT Bund: WID-SEC-2022-0532 - Linux Kernel: Mehrere Schwachstellen
See also: 🔍
Entry
Created: 03/06/2018 07:51Updated: 09/14/2025 02:02
Changes: 03/06/2018 07:51 (80), 01/10/2020 14:40 (4), 02/16/2023 21:42 (5), 09/14/2025 02:02 (24)
Complete: 🔍
Cache ID: 216::103
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.