CVE-2022-2663
Medium · 5.3CVSS
5.3
EPSS
3.8%
Published
Sep 1, 2022
CISA due date
—
Cloudanix analysis
A Linux feature that tracks chat sessions can be tricked into letting certain network traffic slip past security protections.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Data Tampering
- Component
- OS kernel
- Class
- Authorization Bypass
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Incorrect message handling in nf_conntrack_irc allows connection tracking confusion, enabling firewall rule bypass for unencrypted IRC traffic.
Why it matters to the business
Attackers may bypass network firewalls protecting IRC services, risking unauthorized access or covert channels in environments dependent on legacy IRC.
How an attack unfolds
An attacker locates systems using unencrypted IRC with nf_conntrack_irc enabled, sends crafted messages that confuse the tracker, and establishes connections that evade intended firewall restrictions.
How to fix it
Disable the nf_conntrack_irc kernel module when IRC connection tracking is unnecessary; otherwise apply the latest kernel updates from the Linux distribution vendor.
How to confirm the fix worked
Confirm the nf_conntrack_irc module is unloaded via lsmod, verify updated kernel versions are running, and test that firewall rules correctly block IRC traffic after changes.
Typical attack path
- Identify hosts exposing unencrypted IRC ports with nf_conntrack_irc active
- Transmit specially formatted IRC messages to trigger incorrect conntrack state
- Route subsequent traffic through the bypassed firewall rules
How to detect it
Inspect system logs for nf_conntrack_irc module activity, review firewall and conntrack logs for unexpected IRC session states, and correlate with network flows involving port 6667 or similar.
What your security team should do
- Assess whether nf_conntrack_irc is required and disable it by default
- Prioritize kernel updates on all affected Linux systems
- Review and tighten firewall rules around legacy IRC usage
- Add monitoring for nf_conntrack_irc module loads in production environments
The record
An issue was found in the Linux kernel in nf_conntrack_irc where the message handling can be confused and incorrectly matches the message. A firewall may be able to be bypassed when users are using unencrypted IRC with nf_conntrack_irc configured.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| AlmaLinux:8 | bpftool | 0 | 4.18.0-477.10.1.el8_8 |
| AlmaLinux:8 | kernel | 0 | 4.18.0-477.10.1.el8_8 |
| AlmaLinux:8 | kernel-abi-stablelists | 0 | 4.18.0-477.10.1.el8_8 |
| AlmaLinux:8 | kernel-core | 0 | 4.18.0-477.10.1.el8_8 |
| AlmaLinux:8 | kernel-cross-headers | 0 | 4.18.0-477.10.1.el8_8 |
| AlmaLinux:8 | kernel-debug | 0 | 4.18.0-477.10.1.el8_8 |
| AlmaLinux:8 | kernel-debug-core | 0 | 4.18.0-477.10.1.el8_8 |
| AlmaLinux:8 | kernel-debug-devel | 0 | 4.18.0-477.10.1.el8_8 |
| AlmaLinux:8 | kernel-debug-modules | 0 | 4.18.0-477.10.1.el8_8 |
| AlmaLinux:8 | kernel-debug-modules-extra | 0 | 4.18.0-477.10.1.el8_8 |
| AlmaLinux:8 | kernel-devel | 0 | 4.18.0-477.10.1.el8_8 |
| AlmaLinux:8 | kernel-doc | 0 | 4.18.0-477.10.1.el8_8 |
| AlmaLinux:8 | kernel-modules | 0 | 4.18.0-477.10.1.el8_8 |
| AlmaLinux:8 | kernel-modules-extra | 0 | 4.18.0-477.10.1.el8_8 |
| AlmaLinux:8 | kernel-rt | 0 | 4.18.0-477.10.1.rt7.274.el8_8 |
| AlmaLinux:8 | kernel-rt-core | 0 | 4.18.0-477.10.1.rt7.274.el8_8 |
| AlmaLinux:8 | kernel-rt-debug | 0 | 4.18.0-477.10.1.rt7.274.el8_8 |
| AlmaLinux:8 | kernel-rt-debug-core | 0 | 4.18.0-477.10.1.rt7.274.el8_8 |
| AlmaLinux:8 | kernel-rt-debug-devel | 0 | 4.18.0-477.10.1.rt7.274.el8_8 |
| AlmaLinux:8 | kernel-rt-debug-kvm | 0 | 4.18.0-477.10.1.rt7.274.el8_8 |
| AlmaLinux:8 | kernel-rt-debug-modules | 0 | 4.18.0-477.10.1.rt7.274.el8_8 |
| AlmaLinux:8 | kernel-rt-debug-modules-extra | 0 | 4.18.0-477.10.1.rt7.274.el8_8 |
| AlmaLinux:8 | kernel-rt-devel | 0 | 4.18.0-477.10.1.rt7.274.el8_8 |
| AlmaLinux:8 | kernel-rt-kvm | 0 | 4.18.0-477.10.1.rt7.274.el8_8 |
| AlmaLinux:8 | kernel-rt-modules | 0 | 4.18.0-477.10.1.rt7.274.el8_8 |
| AlmaLinux:8 | kernel-rt-modules-extra | 0 | 4.18.0-477.10.1.rt7.274.el8_8 |
| AlmaLinux:8 | kernel-tools | 0 | 4.18.0-477.10.1.el8_8 |
| AlmaLinux:8 | kernel-tools-libs | 0 | 4.18.0-477.10.1.el8_8 |
| AlmaLinux:8 | kernel-tools-libs-devel | 0 | 4.18.0-477.10.1.el8_8 |
| AlmaLinux:8 | kernel-zfcpdump | 0 | 4.18.0-477.10.1.el8_8 |
| AlmaLinux:8 | kernel-zfcpdump-core | 0 | 4.18.0-477.10.1.el8_8 |
| AlmaLinux:8 | kernel-zfcpdump-devel | 0 | 4.18.0-477.10.1.el8_8 |
| AlmaLinux:8 | kernel-zfcpdump-modules | 0 | 4.18.0-477.10.1.el8_8 |
| AlmaLinux:8 | kernel-zfcpdump-modules-extra | 0 | 4.18.0-477.10.1.el8_8 |
| AlmaLinux:8 | perf | 0 | 4.18.0-477.10.1.el8_8 |
| AlmaLinux:8 | python3-perf | 0 | 4.18.0-477.10.1.el8_8 |
| AlmaLinux:9 | bpftool | 0 | 7.0.0-284.11.1.el9_2 |
| AlmaLinux:9 | kernel | 0 | 5.14.0-284.11.1.el9_2 |
| AlmaLinux:9 | kernel-64k | 0 | 5.14.0-284.11.1.el9_2 |
| AlmaLinux:9 | kernel-64k-core | 0 | 5.14.0-284.11.1.el9_2 |
| AlmaLinux:9 | kernel-64k-debug | 0 | 5.14.0-284.11.1.el9_2 |
| AlmaLinux:9 | kernel-64k-debug-core | 0 | 5.14.0-284.11.1.el9_2 |
| AlmaLinux:9 | kernel-64k-debug-devel | 0 | 5.14.0-284.11.1.el9_2 |
| AlmaLinux:9 | kernel-64k-debug-devel-matched | 0 | 5.14.0-284.11.1.el9_2 |
| AlmaLinux:9 | kernel-64k-debug-modules | 0 | 5.14.0-284.11.1.el9_2 |
| AlmaLinux:9 | kernel-64k-debug-modules-core | 0 | 5.14.0-284.11.1.el9_2 |
| AlmaLinux:9 | kernel-64k-debug-modules-extra | 0 | 5.14.0-284.11.1.el9_2 |
| AlmaLinux:9 | kernel-64k-devel | 0 | 5.14.0-284.11.1.el9_2 |
| AlmaLinux:9 | kernel-64k-devel-matched | 0 | 5.14.0-284.11.1.el9_2 |
| AlmaLinux:9 | kernel-64k-modules | 0 | 5.14.0-284.11.1.el9_2 |
| AlmaLinux:9 | kernel-64k-modules-core | 0 | 5.14.0-284.11.1.el9_2 |
| AlmaLinux:9 | kernel-64k-modules-extra | 0 | 5.14.0-284.11.1.el9_2 |
| AlmaLinux:9 | kernel-abi-stablelists | 0 | 5.14.0-284.11.1.el9_2 |
| AlmaLinux:9 | kernel-core | 0 | 5.14.0-284.11.1.el9_2 |
| AlmaLinux:9 | kernel-cross-headers | 0 | 5.14.0-284.11.1.el9_2 |
| AlmaLinux:9 | kernel-debug | 0 | 5.14.0-284.11.1.el9_2 |
| AlmaLinux:9 | kernel-debug-core | 0 | 5.14.0-284.11.1.el9_2 |
| AlmaLinux:9 | kernel-debug-devel | 0 | 5.14.0-284.11.1.el9_2 |
| AlmaLinux:9 | kernel-debug-devel-matched | 0 | 5.14.0-284.11.1.el9_2 |
| AlmaLinux:9 | kernel-debug-modules | 0 | 5.14.0-284.11.1.el9_2 |
| AlmaLinux:9 | kernel-debug-modules-core | 0 | 5.14.0-284.11.1.el9_2 |
| AlmaLinux:9 | kernel-debug-modules-extra | 0 | 5.14.0-284.11.1.el9_2 |
| AlmaLinux:9 | kernel-debug-uki-virt | 0 | 5.14.0-284.11.1.el9_2 |
| AlmaLinux:9 | kernel-devel | 0 | 5.14.0-284.11.1.el9_2 |
| AlmaLinux:9 | kernel-devel-matched | 0 | 5.14.0-284.11.1.el9_2 |
| AlmaLinux:9 | kernel-doc | 0 | 5.14.0-284.11.1.el9_2 |
| AlmaLinux:9 | kernel-modules | 0 | 5.14.0-284.11.1.el9_2 |
| AlmaLinux:9 | kernel-modules-core | 0 | 5.14.0-284.11.1.el9_2 |
| AlmaLinux:9 | kernel-modules-extra | 0 | 5.14.0-284.11.1.el9_2 |
| AlmaLinux:9 | kernel-rt | 0 | 5.14.0-284.11.1.rt14.296.el9_2 |
| AlmaLinux:9 | kernel-rt-core | 0 | 5.14.0-284.11.1.rt14.296.el9_2 |
| AlmaLinux:9 | kernel-rt-debug | 0 | 5.14.0-284.11.1.rt14.296.el9_2 |
| AlmaLinux:9 | kernel-rt-debug-core | 0 | 5.14.0-284.11.1.rt14.296.el9_2 |
| AlmaLinux:9 | kernel-rt-debug-devel | 0 | 5.14.0-284.11.1.rt14.296.el9_2 |
| AlmaLinux:9 | kernel-rt-debug-kvm | 0 | 5.14.0-284.11.1.rt14.296.el9_2 |
| AlmaLinux:9 | kernel-rt-debug-modules | 0 | 5.14.0-284.11.1.rt14.296.el9_2 |
| AlmaLinux:9 | kernel-rt-debug-modules-core | 0 | 5.14.0-284.11.1.rt14.296.el9_2 |
| AlmaLinux:9 | kernel-rt-debug-modules-extra | 0 | 5.14.0-284.11.1.rt14.296.el9_2 |
| AlmaLinux:9 | kernel-rt-devel | 0 | 5.14.0-284.11.1.rt14.296.el9_2 |
| AlmaLinux:9 | kernel-rt-kvm | 0 | 5.14.0-284.11.1.rt14.296.el9_2 |
| AlmaLinux:9 | kernel-rt-modules | 0 | 5.14.0-284.11.1.rt14.296.el9_2 |
| AlmaLinux:9 | kernel-rt-modules-core | 0 | 5.14.0-284.11.1.rt14.296.el9_2 |
| AlmaLinux:9 | kernel-rt-modules-extra | 0 | 5.14.0-284.11.1.rt14.296.el9_2 |
| AlmaLinux:9 | kernel-tools | 0 | 5.14.0-284.11.1.el9_2 |
| AlmaLinux:9 | kernel-tools-libs | 0 | 5.14.0-284.11.1.el9_2 |
| AlmaLinux:9 | kernel-tools-libs-devel | 0 | 5.14.0-284.11.1.el9_2 |
| AlmaLinux:9 | kernel-uki-virt | 0 | 5.14.0-284.11.1.el9_2 |
| AlmaLinux:9 | kernel-zfcpdump | 0 | 5.14.0-284.11.1.el9_2 |
| AlmaLinux:9 | kernel-zfcpdump-core | 0 | 5.14.0-284.11.1.el9_2 |
| AlmaLinux:9 | kernel-zfcpdump-devel | 0 | 5.14.0-284.11.1.el9_2 |
| AlmaLinux:9 | kernel-zfcpdump-devel-matched | 0 | 5.14.0-284.11.1.el9_2 |
| AlmaLinux:9 | kernel-zfcpdump-modules | 0 | 5.14.0-284.11.1.el9_2 |
| AlmaLinux:9 | kernel-zfcpdump-modules-core | 0 | 5.14.0-284.11.1.el9_2 |
| AlmaLinux:9 | kernel-zfcpdump-modules-extra | 0 | 5.14.0-284.11.1.el9_2 |
| AlmaLinux:9 | perf | 0 | 5.14.0-284.11.1.el9_2 |
| AlmaLinux:9 | python3-perf | 0 | 5.14.0-284.11.1.el9_2 |
| AlmaLinux:9 | rtla | 0 | 5.14.0-284.11.1.el9_2 |
| Chainguard | hyperv-daemons | 0 | 0 |
| Chainguard | hyperv-daemons-6.12 | 0 | 0 |
| Chainguard | hyperv-daemons-6.18 | 0 | 0 |
| Chainguard | hyperv-daemons-generic | 0 | 0 |
| Chainguard | linux | 0 | 0 |
| Chainguard | linux-aws-6.12 | 0 | 6.12.63-r0 |
| Chainguard | linux-aws-6.12 | 0 | 6.12.65-r0 |
| Chainguard | linux-aws-6.12-boot-installed | 0 | 0 |
| Chainguard | linux-aws-6.12-fips-boot-installed | 0 | 0 |
| Chainguard | linux-aws-6.12-headers | 0 | 0 |
| Chainguard | linux-aws-6.12-modules | 0 | 0 |
| Chainguard | linux-aws-6.18 | 0 | 6.18.4-r0 |
| Chainguard | linux-aws-6.18 | 0 | 6.18.5-r2 |
| Chainguard | linux-aws-6.18-boot-installed | 0 | 0 |
| Chainguard | linux-aws-6.18-fips-boot-installed | 0 | 0 |
| Chainguard | linux-aws-6.18-headers | 0 | 0 |
| Chainguard | linux-aws-6.18-modules | 0 | 0 |
| Chainguard | linux-aws-generic | 0 | 6.18.4-r0 |
| Chainguard | linux-aws-generic | 0 | 6.18.5-r0 |
| Chainguard | linux-aws-generic-boot-configuration | 0 | 0 |
| Chainguard | linux-aws-generic-boot-installed | 0 | 0 |
| Chainguard | linux-aws-generic-fips-boot-installed | 0 | 0 |
| Chainguard | linux-aws-generic-headers | 0 | 0 |
| Chainguard | linux-aws-generic-modules | 0 | 0 |
| Chainguard | linux-azure-6.12 | 0 | 6.12.64-r0 |
| Chainguard | linux-azure-6.12 | 0 | 6.12.65-r1 |
| Chainguard | linux-azure-6.12-boot-installed | 0 | 0 |
| Chainguard | linux-azure-6.12-fips-boot-installed | 0 | 0 |
| Chainguard | linux-azure-6.12-headers | 0 | 0 |
| Chainguard | linux-azure-6.12-modules | 0 | 0 |
| Chainguard | linux-azure-6.18 | 0 | 0 |
| Chainguard | linux-azure-6.18-boot-installed | 0 | 0 |
| Chainguard | linux-azure-6.18-fips-boot-installed | 0 | 0 |
| Chainguard | linux-azure-6.18-headers | 0 | 0 |
| Chainguard | linux-azure-6.18-modules | 0 | 0 |
| Chainguard | linux-azure-generic | 0 | 6.18.4-r0 |
| Chainguard | linux-azure-generic | 0 | 6.18.5-r0 |
| Chainguard | linux-azure-generic-boot-configuration | 0 | 0 |
| Chainguard | linux-azure-generic-boot-installed | 0 | 0 |
| Chainguard | linux-azure-generic-fips-boot-installed | 0 | 0 |
| Chainguard | linux-azure-generic-headers | 0 | 0 |
| Chainguard | linux-azure-generic-modules | 0 | 0 |
| Chainguard | linux-boot-configuration | 0 | 0 |
| Chainguard | linux-boot-installed | 0 | 0 |
| Chainguard | linux-gcp-6.12 | 0 | 6.12.63-r0 |
| Chainguard | linux-gcp-6.12 | 0 | 6.12.65-r0 |
| Chainguard | linux-gcp-6.12-boot-installed | 0 | 0 |
| Chainguard | linux-gcp-6.12-fips-boot-installed | 0 | 0 |
| Chainguard | linux-gcp-6.12-headers | 0 | 0 |
| Chainguard | linux-gcp-6.12-modules | 0 | 0 |
| Chainguard | linux-gcp-6.18 | 0 | 6.18.4-r0 |
| Chainguard | linux-gcp-6.18 | 0 | 6.18.5-r2 |
| Chainguard | linux-gcp-6.18-boot-installed | 0 | 0 |
| Chainguard | linux-gcp-6.18-fips-boot-installed | 0 | 0 |
| Chainguard | linux-gcp-6.18-headers | 0 | 0 |
| Chainguard | linux-gcp-6.18-modules | 0 | 0 |
| Chainguard | linux-gcp-generic | 0 | 6.18.4-r0 |
| Chainguard | linux-gcp-generic | 0 | 6.18.5-r0 |
| Chainguard | linux-gcp-generic-boot-installed | 0 | 0 |
| Chainguard | linux-gcp-generic-fips-boot-installed | 0 | 0 |
| Chainguard | linux-gcp-generic-headers | 0 | 0 |
| Chainguard | linux-gcp-generic-modules | 0 | 0 |
| Chainguard | linux-modules | 0 | 0 |
| Chainguard | linux-qemu-6.12 | 0 | 6.12.65-r1 |
| Chainguard | linux-qemu-6.12-boot-installed | 0 | 6.12.63-r0 |
| Chainguard | linux-qemu-6.12-fips-boot-installed | 0 | 6.12.63-r0 |
| Chainguard | linux-qemu-6.12-headers | 0 | 6.12.63-r0 |
| Chainguard | linux-qemu-6.12-modules | 0 | 6.12.63-r0 |
| Chainguard | linux-qemu-6.18 | 0 | 6.18.5-r2 |
| Chainguard | linux-qemu-6.18-boot-installed | 0 | 6.18.2-r0 |
| Chainguard | linux-qemu-6.18-fips-boot-installed | 0 | 6.18.2-r0 |
| Chainguard | linux-qemu-6.18-headers | 0 | 6.18.2-r0 |
| Chainguard | linux-qemu-6.18-modules | 0 | 6.18.2-r0 |
| Chainguard | linux-qemu-generic | 0 | 6.18.3-r0 |
| Chainguard | linux-qemu-generic | 0 | 6.18.5-r0 |
| Chainguard | linux-qemu-generic-boot-installed | 0 | 0 |
| Chainguard | linux-qemu-generic-bootc-boot-installed | 0 | 6.18.4-r0 |
| Chainguard | linux-qemu-generic-bootc-boot-installed | 0 | 6.18.5-r0 |
| Chainguard | linux-qemu-generic-fips-boot-installed | 0 | 0 |
| Chainguard | linux-qemu-generic-headers | 0 | 0 |
| Chainguard | linux-qemu-generic-modules | 0 | 0 |
| Chainguard | linux-qemu-rc | 0 | 6.19_rc4-r0 |
| Chainguard | linux-qemu-rc | 0 | 6.19_rc5-r0 |
| Chainguard | linux-qemu-rc-boot-installed | 0 | 0 |
| Chainguard | linux-qemu-rc-fips-boot-installed | 0 | 0 |
| Chainguard | linux-qemu-rc-headers | 0 | 0 |
| Chainguard | linux-qemu-rc-modules | 0 | 0 |
| Chainguard | linux-vmware-6.12 | 0 | 6.12.65-r2 |
| Chainguard | linux-vmware-6.12-boot-installed | 0 | 6.12.63-r0 |
| Chainguard | linux-vmware-6.12-fips-boot-installed | 0 | 6.12.63-r0 |
| Chainguard | linux-vmware-6.12-headers | 0 | 6.12.63-r0 |
| Chainguard | linux-vmware-6.12-modules | 0 | 6.12.63-r0 |
| Chainguard | linux-vmware-6.18 | 0 | 6.18.5-r2 |
| Chainguard | linux-vmware-6.18-boot-installed | 0 | 6.18.2-r0 |
| Chainguard | linux-vmware-6.18-fips-boot-installed | 0 | 6.18.2-r0 |
| Chainguard | linux-vmware-6.18-headers | 0 | 6.18.2-r0 |
| Chainguard | linux-vmware-6.18-modules | 0 | 6.18.2-r0 |
| Chainguard | linux-vmware-generic | 0 | 6.18.3-r0 |
| Chainguard | linux-vmware-generic | 0 | 6.18.5-r0 |
| Chainguard | linux-vmware-generic-boot-installed | 0 | 0 |
| Chainguard | linux-vmware-generic-fips-boot-installed | 0 | 0 |
| Chainguard | linux-vmware-generic-headers | 0 | 0 |
| Chainguard | linux-vmware-generic-modules | 0 | 0 |
Related vulnerabilities
- CVE-2025-68301 In the Linux kernel, the following vulnerability has been resolved: net: atlantic: fix… Also affects bpftool
- CVE-2025-68285 In the Linux kernel, the following vulnerability has been resolved: libceph: fix… Also affects bpftool
- CVE-2025-40277 In the Linux kernel, the following vulnerability has been resolved: drm/vmwgfx: Validate… Also affects bpftool
- CVE-2025-40248 In the Linux kernel, the following vulnerability has been resolved: vsock: Ignore… Also affects bpftool
- CVE-2025-40240 In the Linux kernel, the following vulnerability has been resolved: sctp: avoid NULL… Also affects bpftool
- CVE-2025-40154 In the Linux kernel, the following vulnerability has been resolved: ASoC: Intel… Also affects bpftool
- CVE-2025-40096 In the Linux kernel, the following vulnerability has been resolved: drm/sched: Fix… Also affects bpftool
- CVE-2025-38352 In the Linux kernel, the following vulnerability has been resolved: posix-cpu-timers: fix… Also affects bpftool