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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | linux | 4.14.7-1 | — |
| Debian 13 | linux | 4.14.7-1 | — |
| Debian 12 | linux | 4.14.7-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | linux-raspi-realtime | No fix yet | — |
| Ubuntu 22.04 LTS | linux-riscv +2 | No fix yet | — |
| Ubuntu 20.04 LTS | linux-gke +3 | No fix yet | — |
| Ubuntu 16.04 LTS | linux | 4.4.0-119.143 | — |
| Ubuntu 16.04 LTS | linux-aws | 4.4.0-1054.63 | — |
| Ubuntu 16.04 LTS | linux-azure | 4.15.0-1013.13~16.04.2 | — |
| Ubuntu 16.04 LTS | linux-gcp | 4.15.0-1014.14~16.04.1 | — |
| Ubuntu 16.04 LTS | linux-hwe | 4.15.0-24.26~16.04.1 | — |
| Ubuntu 16.04 LTS | linux-kvm | 4.4.0-1020.25 | — |
| Ubuntu 16.04 LTS | linux-raspi2 | 4.4.0-1086.94 | — |
| Ubuntu 16.04 LTS | linux-snapdragon | 4.4.0-1088.93 | — |
| Ubuntu 14.04 LTS | linux-aws | 4.4.0-1016.16 | — |
| Ubuntu 14.04 LTS | linux-lts-xenial | 4.4.0-119.143~14.04.1 | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro FIPS-updates 16.04 LTS | linux-fips | 4.4.0-1008.10 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | kernel-alt | 4.14.0-115.17.1.el7a | RHSA-2020:0174 |
| RHEL 7 | kernel-rt +10 | 3.10.0-957.5.1.rt56.916.el7 | RHSA-2019:0188 |
| RHEL 7 | perf +19 | 3.10.0-957.5.1.el7 | RHSA-2020:0174, RHSA-2019:0163 |
Show 6 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7.5 EUS | perf +18 | 3.10.0-862.44.2.el7 | RHSA-2019:3967 |
| RHEL 7.4 EUS | perf +17 | 3.10.0-693.47.2.el7 | RHSA-2019:1170 |
| RHEL 7.3 TUS | perf +12 | 3.10.0-514.71.1.el7 | RHSA-2019:4159 |
| RHEL 7.3 E4S | perf +14 | 3.10.0-514.71.1.el7 | RHSA-2019:4159 |
| RHEL 7.3 AUS | perf +12 | 3.10.0-514.71.1.el7 | RHSA-2019:4159 |
| Red Hat MRG 2 | kernel-rt +10 | 1:3.10.0-693.47.2.rt56.641.el6rt | RHSA-2019:1190 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | kernel-uek +5 | 4.1.12-124.26.1.el7uek | ELSA-2019-4575 |
| Oracle Linux 7 | perf +12 | 3.10.0-957.5.1.el7 | ELSA-2019-0163 |
Advisories 9
- RHSA-2019:3967 Red Hat Security Advisory: kernel security and bug fix update Red Hat Security Advisories (RHSA) · Jul 8, 2026
- RHSA-2020:0174 Red Hat Security Advisory: kernel-alt security and bug fix update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2019:4159 Red Hat Security Advisory: kernel security and bug fix update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2019:1190 Red Hat Security Advisory: kernel-rt security and bug fix update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2019:1170 Red Hat Security Advisory: kernel security and bug fix update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2019:0188 Red Hat Security Advisory: kernel-rt security and bug fix update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2019:0163 Red Hat Security Advisory: kernel security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- ELSA-2019-4575 Important: Unbreakable Enterprise kernel security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Mar 12, 2019
- ELSA-2019-0163 Important: kernel security, bug fix, and enhancement update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Jan 29, 2019
References
- RHSA-2019:0188 vendor-advisory
- RHSA-2019:0163 vendor-advisory
- https://blogs.securiteam.com/index.php/archives/3731
- RHBA-2019:0327 vendor-advisory
- RHSA-2019:1170 vendor-advisory
- RHSA-2019:1190 vendor-advisory
- RHSA-2019:3967 vendor-advisory
- RHSA-2019:4159 vendor-advisory
- RHSA-2020:0174 vendor-advisory