---
title: "CVE-2022-27666"
canonical_url: "https://pkgseek.com/security/CVE-2022-27666"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "high"
---

# CVE-2022-27666

A heap buffer overflow flaw was found in IPsec ESP transformation code in net/ipv4/esp4.c and net/ipv6/esp6.c. This flaw allows a local attacker with a normal user privilege to overwrite kernel heap objects and may cause a local privilege escalation threat.

CVE-2022-27666 is rated HIGH (7.8), with 123 indexed affected package builds across 3 distributions.

- **Severity / Score**: HIGH (7.8)
- **Affected builds**: 123
- **Affected distros**: 3
- **Distros with fixed_in**: Oracle Linux, Red Hat Enterprise Linux, Ubuntu

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Oracle Linux | 8 | bpftool | 4.18.0-372.9.1.el8 | 4.18.0-372.13.1.0.1.el8_6 |
| Oracle Linux | 8 | kernel | 4.18.0-372.9.1.el8 | 4.18.0-372.13.1.0.1.el8_6 |
| Oracle Linux | 8 | kernel-abi-stablelists | 4.18.0-372.9.1.el8 | 4.18.0-372.13.1.0.1.el8_6 |
| Oracle Linux | 8 | kernel-core | 4.18.0-372.9.1.el8 | 4.18.0-372.13.1.0.1.el8_6 |
| Oracle Linux | 8 | kernel-cross-headers | 4.18.0-372.9.1.el8 | 4.18.0-372.13.1.0.1.el8_6 |
| Oracle Linux | 8 | kernel-debug | 4.18.0-372.9.1.el8 | 4.18.0-372.13.1.0.1.el8_6 |
| Oracle Linux | 8 | kernel-debug-core | 4.18.0-372.9.1.el8 | 4.18.0-372.13.1.0.1.el8_6 |
| Oracle Linux | 8 | kernel-debug-devel | 4.18.0-372.9.1.el8 | 4.18.0-372.13.1.0.1.el8_6 |
| Oracle Linux | 8 | kernel-debug-modules | 4.18.0-372.9.1.el8 | 4.18.0-372.13.1.0.1.el8_6 |
| Oracle Linux | 8 | kernel-debug-modules-extra | 4.18.0-372.9.1.el8 | 4.18.0-372.13.1.0.1.el8_6 |
| Oracle Linux | 8 | kernel-devel | 4.18.0-372.9.1.el8 | 4.18.0-372.13.1.0.1.el8_6 |
| Oracle Linux | 8 | kernel-doc | 4.18.0-372.9.1.el8 | 4.18.0-372.13.1.0.1.el8_6 |
| Oracle Linux | 8 | kernel-headers | 4.18.0-372.9.1.el8 | 4.18.0-372.13.1.0.1.el8_6 |
| Oracle Linux | 8 | kernel-modules | 4.18.0-372.9.1.el8 | 4.18.0-372.13.1.0.1.el8_6 |
| Oracle Linux | 8 | kernel-modules-extra | 4.18.0-372.9.1.el8 | 4.18.0-372.13.1.0.1.el8_6 |
| Oracle Linux | 8 | kernel-tools | 4.18.0-372.9.1.el8 | 4.18.0-372.13.1.0.1.el8_6 |
| Oracle Linux | 8 | kernel-tools-libs | 4.18.0-372.9.1.el8 | 4.18.0-372.13.1.0.1.el8_6 |
| Oracle Linux | 8 | perf | 4.18.0-372.9.1.el8 | 4.18.0-372.13.1.0.1.el8_6 |
| Oracle Linux | 8 | python3-perf | 4.18.0-372.9.1.el8 | 4.18.0-372.13.1.0.1.el8_6 |
| Oracle Linux | 9 | bpftool | 5.14.0-70.13.1.0.3.el9_0 | 5.14.0-70.17.1.0.1.el9_0 |
| Oracle Linux | 9 | kernel | 5.14.0-70.13.1.0.3.el9_0 | 5.14.0-70.17.1.0.1.el9_0 |
| Oracle Linux | 9 | kernel-abi-stablelists | 5.14.0-70.13.1.0.3.el9_0 | 5.14.0-70.17.1.0.1.el9_0 |
| Oracle Linux | 9 | kernel-core | 5.14.0-70.13.1.0.3.el9_0 | 5.14.0-70.17.1.0.1.el9_0 |
| Oracle Linux | 9 | kernel-debug | 5.14.0-70.13.1.0.3.el9_0 | 5.14.0-70.17.1.0.1.el9_0 |
| Oracle Linux | 9 | kernel-debug-core | 5.14.0-70.13.1.0.3.el9_0 | 5.14.0-70.17.1.0.1.el9_0 |
| Oracle Linux | 9 | kernel-debug-devel | 5.14.0-70.13.1.0.3.el9_0 | 5.14.0-70.17.1.0.1.el9_0 |
| Oracle Linux | 9 | kernel-debug-devel-matched | 5.14.0-70.13.1.0.3.el9_0 | 5.14.0-70.17.1.0.1.el9_0 |
| Oracle Linux | 9 | kernel-debug-modules | 5.14.0-70.13.1.0.3.el9_0 | 5.14.0-70.17.1.0.1.el9_0 |
| Oracle Linux | 9 | kernel-debug-modules-extra | 5.14.0-70.13.1.0.3.el9_0 | 5.14.0-70.17.1.0.1.el9_0 |
| Oracle Linux | 9 | kernel-devel | 5.14.0-70.13.1.0.3.el9_0 | 5.14.0-70.17.1.0.1.el9_0 |
| Oracle Linux | 9 | kernel-devel-matched | 5.14.0-70.13.1.0.3.el9_0 | 5.14.0-70.17.1.0.1.el9_0 |
| Oracle Linux | 9 | kernel-doc | 5.14.0-70.13.1.0.3.el9_0 | 5.14.0-70.17.1.0.1.el9_0 |
| Oracle Linux | 9 | kernel-headers | 5.14.0-70.13.1.0.3.el9_0 | 5.14.0-70.17.1.0.1.el9_0 |
| Oracle Linux | 9 | kernel-modules | 5.14.0-70.13.1.0.3.el9_0 | 5.14.0-70.17.1.0.1.el9_0 |
| Oracle Linux | 9 | kernel-modules-extra | 5.14.0-70.13.1.0.3.el9_0 | 5.14.0-70.17.1.0.1.el9_0 |
| Oracle Linux | 9 | kernel-tools | 5.14.0-70.13.1.0.3.el9_0 | 5.14.0-70.17.1.0.1.el9_0 |
| Oracle Linux | 9 | kernel-tools-libs | 5.14.0-70.13.1.0.3.el9_0 | 5.14.0-70.17.1.0.1.el9_0 |
| Oracle Linux | 9 | perf | 5.14.0-70.13.1.0.3.el9_0 | 5.14.0-70.17.1.0.1.el9_0 |
| Oracle Linux | 9 | python3-perf | 5.14.0-70.13.1.0.3.el9_0 | 5.14.0-70.17.1.0.1.el9_0 |
| Red Hat Enterprise Linux | 9.8 | bpftool | 5.14.0-70.13.1.el9_0 | 5.14.0-70.17.1.el9_0 |
| Red Hat Enterprise Linux | 9.8 | kernel | 5.14.0-70.13.1.el9_0 | 5.14.0-70.17.1.el9_0 |
| Red Hat Enterprise Linux | 9.8 | kernel-abi-stablelists | 5.14.0-70.13.1.el9_0 | 5.14.0-70.17.1.el9_0 |
| Red Hat Enterprise Linux | 9.8 | kernel-core | 5.14.0-70.13.1.el9_0 | 5.14.0-70.17.1.el9_0 |
| Red Hat Enterprise Linux | 9.8 | kernel-debug | 5.14.0-70.13.1.el9_0 | 5.14.0-70.17.1.el9_0 |
| Red Hat Enterprise Linux | 9.8 | kernel-debug-core | 5.14.0-70.13.1.el9_0 | 5.14.0-70.17.1.el9_0 |
| Red Hat Enterprise Linux | 9.8 | kernel-debug-devel | 5.14.0-70.13.1.el9_0 | 5.14.0-70.17.1.el9_0 |
| Red Hat Enterprise Linux | 9.8 | kernel-debug-devel-matched | 5.14.0-70.13.1.el9_0 | 5.14.0-70.17.1.el9_0 |
| Red Hat Enterprise Linux | 9.8 | kernel-debug-modules | 5.14.0-70.13.1.el9_0 | 5.14.0-70.17.1.el9_0 |
| Red Hat Enterprise Linux | 9.8 | kernel-debug-modules-extra | 5.14.0-70.13.1.el9_0 | 5.14.0-70.17.1.el9_0 |
| Red Hat Enterprise Linux | 9.8 | kernel-devel | 5.14.0-70.13.1.el9_0 | 5.14.0-70.17.1.el9_0 |
| Red Hat Enterprise Linux | 9.8 | kernel-devel-matched | 5.14.0-70.13.1.el9_0 | 5.14.0-70.17.1.el9_0 |
| Red Hat Enterprise Linux | 9.8 | kernel-doc | 5.14.0-70.13.1.el9_0 | 5.14.0-70.17.1.el9_0 |
| Red Hat Enterprise Linux | 9.8 | kernel-headers | 5.14.0-70.13.1.el9_0 | 5.14.0-70.17.1.el9_0 |
| Red Hat Enterprise Linux | 9.8 | kernel-modules | 5.14.0-70.13.1.el9_0 | 5.14.0-70.17.1.el9_0 |
| Red Hat Enterprise Linux | 9.8 | kernel-modules-extra | 5.14.0-70.13.1.el9_0 | 5.14.0-70.17.1.el9_0 |
| Red Hat Enterprise Linux | 9.8 | kernel-tools | 5.14.0-70.13.1.el9_0 | 5.14.0-70.17.1.el9_0 |
| Red Hat Enterprise Linux | 9.8 | kernel-tools-libs | 5.14.0-70.13.1.el9_0 | 5.14.0-70.17.1.el9_0 |
| Red Hat Enterprise Linux | 9.8 | kpatch-patch-5_14_0-70_13_1 | 0-0.el9_0 | 1-1.el9_0 |
| Red Hat Enterprise Linux | 9.8 | perf | 5.14.0-70.13.1.el9_0 | 5.14.0-70.17.1.el9_0 |
| Red Hat Enterprise Linux | 9.8 | python3-perf | 5.14.0-70.13.1.el9_0 | 5.14.0-70.17.1.el9_0 |
| Ubuntu | focal | linux-aws-headers-5.4.0-1009 | 5.4.0-1009.9 | 5.4.0-1071.76 |
| Ubuntu | focal | linux-aws-tools-5.4.0-1009 | 5.4.0-1009.9 | 5.4.0-1071.76 |
| Ubuntu | focal | linux-azure-cloud-tools-5.4.0-1010 | 5.4.0-1010.10 | 5.4.0-1074.77 |
| Ubuntu | focal | linux-azure-headers-5.4.0-1010 | 5.4.0-1010.10 | 5.4.0-1074.77 |
| Ubuntu | focal | linux-azure-tools-5.4.0-1010 | 5.4.0-1010.10 | 5.4.0-1074.77 |
| Ubuntu | focal | linux-buildinfo-5.4.0-1009-aws | 5.4.0-1009.9 | 5.4.0-1071.76 |
| Ubuntu | focal | linux-buildinfo-5.4.0-1009-gcp | 5.4.0-1009.9 | 5.4.0-1069.73 |
| Ubuntu | focal | linux-buildinfo-5.4.0-1009-kvm | 5.4.0-1009.9 | 5.4.0-1061.64 |
| Ubuntu | focal | linux-buildinfo-5.4.0-1009-oracle | 5.4.0-1009.9 | 5.4.0-1069.75 |
| Ubuntu | focal | linux-buildinfo-5.4.0-1010-azure | 5.4.0-1010.10 | 5.4.0-1074.77 |
| Ubuntu | focal | linux-buildinfo-5.4.0-26-generic | 5.4.0-26.30 | 5.4.0-107.121 |
| Ubuntu | focal | linux-buildinfo-5.4.0-26-lowlatency | 5.4.0-26.30 | 5.4.0-107.121 |
| Ubuntu | focal | linux-cloud-tools-5.4.0-1010-azure | 5.4.0-1010.10 | 5.4.0-1074.77 |
| Ubuntu | focal | linux-cloud-tools-5.4.0-26 | 5.4.0-26.30 | 5.4.0-107.121 |
| Ubuntu | focal | linux-cloud-tools-5.4.0-26-generic | 5.4.0-26.30 | 5.4.0-107.121 |
| Ubuntu | focal | linux-cloud-tools-5.4.0-26-lowlatency | 5.4.0-26.30 | 5.4.0-107.121 |
| Ubuntu | focal | linux-cloud-tools-common | 5.4.0-26.30 | 5.4.0-107.121 |
| Ubuntu | focal | linux-doc | 5.4.0-26.30 | 5.4.0-107.121 |
| Ubuntu | focal | linux-gcp-headers-5.4.0-1009 | 5.4.0-1009.9 | 5.4.0-1069.73 |
| Ubuntu | focal | linux-gcp-tools-5.4.0-1009 | 5.4.0-1009.9 | 5.4.0-1069.73 |
| Ubuntu | focal | linux-headers-5.4.0-1009-aws | 5.4.0-1009.9 | 5.4.0-1071.76 |
| Ubuntu | focal | linux-headers-5.4.0-1009-gcp | 5.4.0-1009.9 | 5.4.0-1069.73 |
| Ubuntu | focal | linux-headers-5.4.0-1009-kvm | 5.4.0-1009.9 | 5.4.0-1061.64 |
| Ubuntu | focal | linux-headers-5.4.0-1009-oracle | 5.4.0-1009.9 | 5.4.0-1069.75 |
| Ubuntu | focal | linux-headers-5.4.0-1010-azure | 5.4.0-1010.10 | 5.4.0-1074.77 |
| Ubuntu | focal | linux-headers-5.4.0-26 | 5.4.0-26.30 | 5.4.0-107.121 |
| Ubuntu | focal | linux-headers-5.4.0-26-generic | 5.4.0-26.30 | 5.4.0-107.121 |
| Ubuntu | focal | linux-headers-5.4.0-26-lowlatency | 5.4.0-26.30 | 5.4.0-107.121 |
| Ubuntu | focal | linux-image-5.4.0-1009-aws | 5.4.0-1009.9 | 5.4.0-1071.76 |
| Ubuntu | focal | linux-image-5.4.0-1009-kvm | 5.4.0-1009.9 | 5.4.0-1061.64 |
| Ubuntu | focal | linux-image-unsigned-5.4.0-1009-gcp | 5.4.0-1009.9 | 5.4.0-1069.73 |
| Ubuntu | focal | linux-image-unsigned-5.4.0-1009-oracle | 5.4.0-1009.9 | 5.4.0-1069.75 |
| Ubuntu | focal | linux-image-unsigned-5.4.0-1010-azure | 5.4.0-1010.10 | 5.4.0-1074.77 |
| Ubuntu | focal | linux-image-unsigned-5.4.0-26-generic | 5.4.0-26.30 | 5.4.0-107.121 |
| Ubuntu | focal | linux-image-unsigned-5.4.0-26-lowlatency | 5.4.0-26.30 | 5.4.0-107.121 |
| Ubuntu | focal | linux-kvm-headers-5.4.0-1009 | 5.4.0-1009.9 | 5.4.0-1061.64 |
| Ubuntu | focal | linux-kvm-tools-5.4.0-1009 | 5.4.0-1009.9 | 5.4.0-1061.64 |
| Ubuntu | focal | linux-libc-dev | 5.4.0-26.30 | 5.4.0-107.121 |
| Ubuntu | focal | linux-modules-5.4.0-1009-aws | 5.4.0-1009.9 | 5.4.0-1071.76 |
| Ubuntu | focal | linux-modules-5.4.0-1009-gcp | 5.4.0-1009.9 | 5.4.0-1069.73 |

_Showing 100 of 123 total affected builds._
