Back
CVE-2018-18559
In the Linux kernel through 4.19, a use-after-free can occur due to a race condition between fanout_add from setsockopt and bind on an…
High8.1EPSS 2.6%
- Published
- Updated
- Reserved
- Assigned by
- mitre
Description
In the Linux kernel through 4.19, a use-after-free can occur due to a race condition between fanout_add from setsockopt and bind on an AF_PACKET socket. This issue exists because of the 15fe076edea787807a7cdc168df832544b58eba6 incomplete fix for a race condition. The code mishandles a certain multithreaded case involving a packet_do_bind unregister action followed by a packet_notifier register action. Later, packet_release operates on only one of the two applicable linked lists. The attacker can achieve Program Counter control.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | High8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 2.6% · top 15% of all CVEs (5 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.1.
Weakness
Affected products
n/a
- affected n/a
References (9)
- RHSA-2019:0188 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2019:0163 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://blogs.securiteam.com/index.php/archives/3731 (opens in a new tab)x_refsource_MISCx_transferred
- RHBA-2019:0327 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2019:1170 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2019:1190 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2019:3967 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2019:4159 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2020:0174 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2018-18559)Record last updated .