CVE-2018-18559
published 2018-10-22CVE-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 AF_PACKET socket. This…
PriorityP343high8.1CVSS 3.1
AVNACHPRNUINSUCHIHAH
EPSS
2.61%
83.7th percentile
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.
Affected
21 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 4.14.7-1 (bookworm) | linux 4.14.7-1 (bookworm) |
| linux | linux_kernel | >= 0 < 4.14.7-1 | 4.14.7-1 |
| linux | linux_kernel | >= 0 < 4.14.7-1 | 4.14.7-1 |
| linux | linux_kernel | >= 0 < 4.14.7-1 | 4.14.7-1 |
| linux | linux_kernel | >= 0 < 4.14.7-1 | 4.14.7-1 |
| linux | linux_kernel | >= 3.14.58 < 3.15 | 3.15 |
| linux | linux_kernel | >= 3.18.25 < 3.18.88 | 3.18.88 |
| linux | linux_kernel | >= 3.2.95 < 3.2.100 | 3.2.100 |
| linux | linux_kernel | >= 4.1.14 < 4.1.49 | 4.1.49 |
| linux | linux_kernel | >= 4.10 < 4.14.7 | 4.14.7 |
| linux | linux_kernel | >= 4.2.7 < 4.3 | 4.3 |
| linux | linux_kernel | >= 4.3.1 < 4.4.106 | 4.4.106 |
| linux | linux_kernel | >= 4.5 < 4.9.70 | 4.9.70 |
| redhat | enterprise_linux_desktop | — | — |
| redhat | enterprise_linux_server | — | — |
| redhat | enterprise_linux_server_aus | — | — |
| redhat | enterprise_linux_server_eus | — | — |
| redhat | enterprise_linux_server_tus | — | — |
| redhat | enterprise_linux_workstation | — | — |
| redhat | openshift_container_platform | — | — |
| redhat | virtualization_host | — | — |
CVSS provenance
nvdv3.18.1HIGHCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
osv8.1HIGH
vendor_debian8.1HIGH
vendor_redhat8.1HIGH
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.
Red Hat
kernel: Use-after-free due to race condition in AF_PACKET implementation
vendor_redhat·2018-06-15·CVSS 8.1
CVE-2018-18559 [HIGH] CWE-416 kernel: Use-after-free due to race condition in AF_PACKET implementation
kernel: Use-after-free due to race condition in AF_PACKET implementation
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.
A use-after-free flaw can occur in the Linux kernel due to a race condition between packet_do_bind() and packet_notifier() functions called for an AF_PACKET socket. An unprivileged, local use
Debian
CVE-2018-18559: linux - In the Linux kernel through 4.19, a use-after-free can occur due to a race condi...
vendor_debian·2018·CVSS 8.1
CVE-2018-18559 [HIGH] CVE-2018-18559: linux - In the Linux kernel through 4.19, a use-after-free can occur due to a race condi...
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.
Scope: local
bookworm: resolved (fixed in 4.14.7-1)
bullseye: resolved (fixed in 4.14.7-1)
forky: resolved (fixed in 4.14.7-1)
sid: resolved (fixed in 4.14.7-1)
trixie: resolved (fixed in 4.14.7-1)
GHSA
GHSA-8w88-57v8-p48h: In the Linux kernel through 4
ghsa_unreviewed·2022-05-14
CVE-2018-18559 [HIGH] CWE-362 GHSA-8w88-57v8-p48h: In the Linux kernel through 4
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.
OSV
CVE-2018-18559: In the Linux kernel through 4
osv·2018-10-22·CVSS 8.1
CVE-2018-18559 [HIGH] CVE-2018-18559: In the Linux kernel through 4
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.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2018-18559 kernel: Use-after-free due to race condition in AF_PACKET implementation [fedora-all]
bugzilla·2018-10-23·CVSS 8.1
CVE-2018-18559 [HIGH] CVE-2018-18559 kernel: Use-after-free due to race condition in AF_PACKET implementation [fedora-all]
CVE-2018-18559 kernel: Use-after-free due to race condition in AF_PACKET implementation [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 mult
Bugzilla
CVE-2018-18559 kernel: Use-after-free due to race condition in AF_PACKET implementation
bugzilla·2018-10-23·CVSS 8.1
CVE-2018-18559 [HIGH] CVE-2018-18559 kernel: Use-after-free due to race condition in AF_PACKET implementation
CVE-2018-18559 kernel: Use-after-free due to race condition in AF_PACKET implementation
A use-after-free flaw can occur in the Linux kernel due to a race condition between packet_do_bind() and packet_notifier() functions called for an AF_PACKET socket. An unprivileged local user could use this flaw to induce kernel memory corruption on the system, leading to an unresponsive system or to a crash. Due to the nature of the flaw, privilege escalation cannot be fully ruled out.
External Reference:
https://blogs.securiteam.com/index.php/archives/3731
A probable fix:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=15fe076edea787807a7cdc168df832544b58eba6
Discussion:
Created kernel tracking bugs for this issue:
Affects: fedora-all [bug 1641879]
---
I guess,
https://access.redhat.com/errata/RHBA-2019:0327https://access.redhat.com/errata/RHSA-2019:0163https://access.redhat.com/errata/RHSA-2019:0188https://access.redhat.com/errata/RHSA-2019:1170https://access.redhat.com/errata/RHSA-2019:1190https://access.redhat.com/errata/RHSA-2019:3967https://access.redhat.com/errata/RHSA-2019:4159https://access.redhat.com/errata/RHSA-2020:0174https://blogs.securiteam.com/index.php/archives/3731https://access.redhat.com/errata/RHBA-2019:0327https://access.redhat.com/errata/RHSA-2019:0163https://access.redhat.com/errata/RHSA-2019:0188https://access.redhat.com/errata/RHSA-2019:1170https://access.redhat.com/errata/RHSA-2019:1190https://access.redhat.com/errata/RHSA-2019:3967https://access.redhat.com/errata/RHSA-2019:4159https://access.redhat.com/errata/RHSA-2020:0174https://blogs.securiteam.com/index.php/archives/3731
2018-10-22
Published