Cloudanix VulnDB

CVE-2022-1198

Medium · 5.5

CVSS

5.5

EPSS

0.4%

Published

Aug 29, 2022

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A bug in the Linux kernel's ham-radio driver lets someone who already has access to the computer crash the entire system.

Exploit Available
Exploitation
Local Privilege
Attacker needs
Low Privilege
Complexity
Low
Impact
Denial Of Service
Component
OS kernel
Class
Use After Free
Remediation
Upgrade
Effort
Medium
Patch risk
Medium

What it actually does

Use-after-free in drivers/net/hamradio/6pack.c allows a local user-space process simulating an AX.25 device via the 6pack driver to reference freed kernel memory, resulting in a kernel panic.

Why it matters to the business

Local denial-of-service that can abruptly halt systems running affected kernels, interrupting services and requiring manual restarts or reboots.

How an attack unfolds

An attacker with local shell access crafts a user-space program that registers a fake AX.25 device through the 6pack ham-radio driver; the resulting sequence of operations triggers the use-after-free, crashing the kernel.

How to fix it

Upgrade the kernel to the commit efe4186e6a1b54bf38b9e05450d43b0da1fd7739 or later; rebuild and reboot with the patched kernel.

How to confirm the fix worked

Verify the running kernel contains commit efe4186e6a1b54bf38b9e05450d43b0da1fd7739 (via git log or kernel version string) and confirm the 6pack driver no longer panics under the original reproducer.

Typical attack path

  1. Obtain a local user account on the target Linux system
  2. Compile and run a program that opens and configures the 6pack driver to emulate an AX.25 device
  3. Trigger the specific packet or device teardown sequence that exercises the freed memory reference
  4. Observe or force a kernel oops/panic

How to detect it

Search kernel logs (dmesg, /var/log/kern.log, journalctl) for oops or panic messages mentioning 6pack, ax25, or use-after-free in drivers/net/hamradio; correlate with processes that opened /dev/ax25 or similar ham-radio interfaces.

What your security team should do

  • Apply the referenced kernel commit immediately on all affected systems
  • Restrict unprivileged local access where possible until patches are deployed
  • Monitor for kernel panics referencing 6pack or AX.25

The record

A use-after-free vulnerabilitity was discovered in drivers/net/hamradio/6pack.c of linux that allows an attacker to crash linux kernel by simulating ax25 device using 6pack driver from user space.

Affected packages

Ecosystem Package Introduced Fixed
Debian:10 linux 0 4.19.249-2
Debian:11 linux 0 5.10.113-1
Debian:12 linux 0 5.16.18-1
Debian:13 linux 0 5.16.18-1
Debian:9 linux 0 4.9.320-2
Mageia:8 kernel 0 5.15.35-2.mga8
Mageia:8 kernel-linus 0 5.15.35-1.mga8
Mageia:8 kmod-virtualbox 0 6.1.34-1.4.mga8
Mageia:8 kmod-xtables-addons 0 3.20-1.mga8
Mageia:8 xtables-addons 0 3.20-1.mga8
SUSE:Linux Enterprise High Availability Extension 15 SP3 kernel-default 0 5.3.18-150300.59.63.1
SUSE:Linux Enterprise High Availability Extension 15 SP4 kernel-default 0 5.14.21-150400.24.11.1
SUSE:Linux Enterprise Live Patching 15 SP3 kernel-default 0 5.3.18-150300.59.63.1
SUSE:Linux Enterprise Live Patching 15 SP3 kernel-livepatch-SLE15-SP3_Update_17 0 1-150300.7.3.1
SUSE:Linux Enterprise Live Patching 15 SP4 kernel-default 0 5.14.21-150400.24.11.1
SUSE:Linux Enterprise Live Patching 15 SP4 kernel-livepatch-SLE15-SP4_Update_1 0 1-150400.9.5.3
SUSE:Linux Enterprise Micro 5.1 kernel-default 0 5.3.18-150300.59.63.1
SUSE:Linux Enterprise Micro 5.1 kernel-default-base 0 5.3.18-150300.59.63.1.150300.18.39.1
SUSE:Linux Enterprise Micro 5.1 kernel-rt 0 5.3.18-150300.85.1
SUSE:Linux Enterprise Micro 5.2 kernel-default 0 5.3.18-150300.59.63.1
SUSE:Linux Enterprise Micro 5.2 kernel-default-base 0 5.3.18-150300.59.63.1.150300.18.39.1
SUSE:Linux Enterprise Micro 5.2 kernel-rt 0 5.3.18-150300.85.1
SUSE:Linux Enterprise Module for Basesystem 15 SP3 kernel-64kb 0 5.3.18-150300.59.63.1
SUSE:Linux Enterprise Module for Basesystem 15 SP3 kernel-default 0 5.3.18-150300.59.63.1
SUSE:Linux Enterprise Module for Basesystem 15 SP3 kernel-default-base 0 5.3.18-150300.59.63.1.150300.18.39.1
SUSE:Linux Enterprise Module for Basesystem 15 SP3 kernel-preempt 0 5.3.18-150300.59.63.1
SUSE:Linux Enterprise Module for Basesystem 15 SP3 kernel-source 0 5.3.18-150300.59.63.1
SUSE:Linux Enterprise Module for Basesystem 15 SP3 kernel-zfcpdump 0 5.3.18-150300.59.63.1
SUSE:Linux Enterprise Module for Basesystem 15 SP4 kernel-64kb 0 5.14.21-150400.24.11.1
SUSE:Linux Enterprise Module for Basesystem 15 SP4 kernel-default 0 5.14.21-150400.24.11.1
SUSE:Linux Enterprise Module for Basesystem 15 SP4 kernel-default-base 0 5.14.21-150400.24.11.1.150400.24.3.6
SUSE:Linux Enterprise Module for Basesystem 15 SP4 kernel-source 0 5.14.21-150400.24.11.1
SUSE:Linux Enterprise Module for Basesystem 15 SP4 kernel-zfcpdump 0 5.14.21-150400.24.11.1
SUSE:Linux Enterprise Module for Development Tools 15 SP3 kernel-docs 0 5.3.18-150300.59.63.1
SUSE:Linux Enterprise Module for Development Tools 15 SP3 kernel-obs-build 0 5.3.18-150300.59.63.1
SUSE:Linux Enterprise Module for Development Tools 15 SP3 kernel-preempt 0 5.3.18-150300.59.63.1
SUSE:Linux Enterprise Module for Development Tools 15 SP3 kernel-source 0 5.3.18-150300.59.63.1
SUSE:Linux Enterprise Module for Development Tools 15 SP3 kernel-syms 0 5.3.18-150300.59.63.1
SUSE:Linux Enterprise Module for Development Tools 15 SP4 kernel-docs 0 5.14.21-150400.24.11.1
SUSE:Linux Enterprise Module for Development Tools 15 SP4 kernel-obs-build 0 5.14.21-150400.24.11.1
SUSE:Linux Enterprise Module for Development Tools 15 SP4 kernel-source 0 5.14.21-150400.24.11.1
SUSE:Linux Enterprise Module for Development Tools 15 SP4 kernel-syms 0 5.14.21-150400.24.11.1
SUSE:Linux Enterprise Module for Legacy 15 SP3 kernel-default 0 5.3.18-150300.59.63.1
SUSE:Linux Enterprise Module for Legacy 15 SP4 kernel-default 0 5.14.21-150400.24.11.1
SUSE:Linux Enterprise Module for Public Cloud 15 SP3 kernel-azure 0 5.3.18-150300.38.53.1
SUSE:Linux Enterprise Module for Public Cloud 15 SP3 kernel-source-azure 0 5.3.18-150300.38.53.1
SUSE:Linux Enterprise Module for Public Cloud 15 SP3 kernel-syms-azure 0 5.3.18-150300.38.53.1
SUSE:Linux Enterprise Module for Public Cloud 15 SP4 kernel-azure 0 5.14.21-150400.14.7.1
SUSE:Linux Enterprise Module for Public Cloud 15 SP4 kernel-source-azure 0 5.14.21-150400.14.7.1
SUSE:Linux Enterprise Module for Public Cloud 15 SP4 kernel-syms-azure 0 5.14.21-150400.14.7.1
SUSE:Linux Enterprise Workstation Extension 15 SP3 kernel-default 0 5.3.18-150300.59.63.1
SUSE:Linux Enterprise Workstation Extension 15 SP3 kernel-preempt 0 5.3.18-150300.59.63.1
SUSE:Linux Enterprise Workstation Extension 15 SP4 kernel-default 0 5.14.21-150400.24.11.1
SUSE:Real Time Module 15 SP3 kernel-rt 0 5.3.18-150300.85.1
SUSE:Real Time Module 15 SP3 kernel-rt_debug 0 5.3.18-150300.85.1
SUSE:Real Time Module 15 SP3 kernel-source-rt 0 5.3.18-150300.85.1
SUSE:Real Time Module 15 SP3 kernel-syms-rt 0 5.3.18-150300.85.1
Ubuntu:14.04:LTS linux 0 3.11.0-12.19
Ubuntu:16.04:LTS linux-hwe-edge 0 No fix
Ubuntu:18.04:LTS linux 0 4.15.0-189.200
Ubuntu:18.04:LTS linux-aws 0 4.15.0-1137.148
Ubuntu:18.04:LTS linux-aws-5.0 0 No fix
Ubuntu:18.04:LTS linux-aws-5.3 0 No fix
Ubuntu:18.04:LTS linux-aws-5.4 0 5.4.0-1078.84~18.04.1
Ubuntu:18.04:LTS linux-azure 0 No fix
Ubuntu:18.04:LTS linux-azure-4.15 0 4.15.0-1146.161
Ubuntu:18.04:LTS linux-azure-5.3 0 No fix
Ubuntu:18.04:LTS linux-azure-5.4 0 5.4.0-1083.87~18.04.1
Ubuntu:18.04:LTS linux-azure-edge 0 No fix
Ubuntu:18.04:LTS linux-dell300x 0 4.15.0-1049.54
Ubuntu:18.04:LTS linux-gcp 0 No fix
Ubuntu:18.04:LTS linux-gcp-4.15 0 4.15.0-1131.147
Ubuntu:18.04:LTS linux-gcp-5.3 0 No fix
Ubuntu:18.04:LTS linux-gcp-5.4 0 5.4.0-1078.84~18.04.1
Ubuntu:18.04:LTS linux-gke-4.15 0 No fix
Ubuntu:18.04:LTS linux-gke-5.4 0 5.4.0-1074.79~18.04.1
Ubuntu:18.04:LTS linux-gkeop-5.4 0 5.4.0-1046.48~18.04.1
Ubuntu:18.04:LTS linux-hwe 0 No fix
Ubuntu:18.04:LTS linux-hwe-5.4 0 5.4.0-117.132~18.04.1
Ubuntu:18.04:LTS linux-hwe-edge 0 No fix
Ubuntu:18.04:LTS linux-ibm-5.4 0 5.4.0-1028.32~18.04.1
Ubuntu:18.04:LTS linux-ibm-5.4 0 5.4.0-1026.29~18.04.1
Ubuntu:18.04:LTS linux-kvm 0 4.15.0-1123.128
Ubuntu:18.04:LTS linux-oem 0 No fix
Ubuntu:18.04:LTS linux-oracle 0 4.15.0-1102.113
Ubuntu:18.04:LTS linux-oracle-5.0 0 No fix
Ubuntu:18.04:LTS linux-oracle-5.3 0 No fix
Ubuntu:18.04:LTS linux-oracle-5.4 0 5.4.0-1076.83~18.04.1
Ubuntu:18.04:LTS linux-raspi-5.4 0 5.4.0-1065.75~18.04.1
Ubuntu:18.04:LTS linux-raspi2 0 4.15.0-1115.123
Ubuntu:18.04:LTS linux-snapdragon 0 4.15.0-1133.143
Ubuntu:20.04:LTS linux 0 5.4.0-117.132
Ubuntu:20.04:LTS linux-aws 0 5.4.0-1078.84
Ubuntu:20.04:LTS linux-aws-5.11 0 No fix
Ubuntu:20.04:LTS linux-aws-5.13 0 No fix
Ubuntu:20.04:LTS linux-aws-5.15 0 5.15.0-1014.18~20.04.1
Ubuntu:20.04:LTS linux-aws-5.8 0 No fix
Ubuntu:20.04:LTS linux-azure 0 5.4.0-1083.87
Ubuntu:20.04:LTS linux-azure-5.11 0 No fix
Ubuntu:20.04:LTS linux-azure-5.13 0 No fix
Ubuntu:20.04:LTS linux-azure-5.15 0 5.15.0-1008.9~20.04.1
Ubuntu:20.04:LTS linux-azure-5.8 0 No fix
Ubuntu:20.04:LTS linux-azure-fde 0 5.4.0-1083.87+cvm1.1
Ubuntu:20.04:LTS linux-azure-fde-5.15 0 5.15.0-1019.24~20.04.1.1
Ubuntu:20.04:LTS linux-bluefield 0 5.4.0-1040.44
Ubuntu:20.04:LTS linux-gcp 0 5.4.0-1078.84
Ubuntu:20.04:LTS linux-gcp-5.11 0 No fix
Ubuntu:20.04:LTS linux-gcp-5.13 0 No fix
Ubuntu:20.04:LTS linux-gcp-5.15 0 5.15.0-1006.9~20.04.1
Ubuntu:20.04:LTS linux-gcp-5.8 0 No fix
Ubuntu:20.04:LTS linux-gke 0 5.4.0-1074.79
Ubuntu:20.04:LTS linux-gke-5.15 0 5.15.0-1011.14~20.04.1
Ubuntu:20.04:LTS linux-gkeop 0 5.4.0-1046.48
Ubuntu:20.04:LTS linux-gkeop-5.15 0 5.15.0-1003.5~20.04.2
Ubuntu:20.04:LTS linux-hwe-5.11 0 No fix
Ubuntu:20.04:LTS linux-hwe-5.13 0 No fix
Ubuntu:20.04:LTS linux-hwe-5.15 0 5.15.0-41.44~20.04.1
Ubuntu:20.04:LTS linux-hwe-5.8 0 No fix
Ubuntu:20.04:LTS linux-ibm 0 5.4.0-1026.29
Ubuntu:20.04:LTS linux-ibm-5.15 0 5.15.0-1033.36~20.04.1
Ubuntu:20.04:LTS linux-intel-5.13 0 No fix
Ubuntu:20.04:LTS linux-intel-iotg-5.15 0 5.15.0-1008.11~20.04.1
Ubuntu:20.04:LTS linux-iot 0 No fix
Ubuntu:20.04:LTS linux-iot 0 5.4.0-1004.6
Ubuntu:20.04:LTS linux-kvm 0 5.4.0-1068.72
Ubuntu:20.04:LTS linux-lowlatency-hwe-5.15 0 5.15.0-42.45~20.04.1
Ubuntu:20.04:LTS linux-oem-5.10 0 No fix
Ubuntu:20.04:LTS linux-oem-5.13 0 No fix
Ubuntu:20.04:LTS linux-oem-5.14 0 5.14.0-1036.40
Ubuntu:20.04:LTS linux-oem-5.6 0 No fix
Ubuntu:20.04:LTS linux-oracle 0 5.4.0-1076.83
Ubuntu:20.04:LTS linux-oracle-5.11 0 No fix
Ubuntu:20.04:LTS linux-oracle-5.13 0 No fix
Ubuntu:20.04:LTS linux-oracle-5.15 0 5.15.0-1007.9~20.04.1
Ubuntu:20.04:LTS linux-oracle-5.8 0 No fix
Ubuntu:20.04:LTS linux-raspi 0 5.4.0-1065.75
Ubuntu:20.04:LTS linux-raspi2 0 No fix
Ubuntu:20.04:LTS linux-riscv 0 No fix
Ubuntu:20.04:LTS linux-riscv-5.11 0 No fix
Ubuntu:20.04:LTS linux-riscv-5.15 0 5.15.0-1015.17~20.04.1
Ubuntu:20.04:LTS linux-riscv-5.8 0 No fix
Ubuntu:20.04:LTS linux-xilinx-zynqmp 0 5.4.0-1020.24
Ubuntu:22.04:LTS linux 0 5.15.0-35.36
Ubuntu:22.04:LTS linux 0 5.15.0-37.39
Ubuntu:22.04:LTS linux-aws 0 5.15.0-1009.11
Ubuntu:22.04:LTS linux-aws 0 5.15.0-1011.14
Ubuntu:22.04:LTS linux-aws-6.5 0 6.5.0-1008.8~22.04.1
Ubuntu:22.04:LTS linux-aws-6.8 0 6.8.0-1009.9~22.04.2
Ubuntu:22.04:LTS linux-azure 0 5.15.0-1008.9
Ubuntu:22.04:LTS linux-azure 0 5.15.0-1010.12
Ubuntu:22.04:LTS linux-azure-6.5 0 6.5.0-1007.7~22.04.1
Ubuntu:22.04:LTS linux-azure-6.8 0 6.8.0-1008.8~22.04.1
Ubuntu:22.04:LTS linux-azure-fde 0 5.15.0-1019.24.1
Ubuntu:22.04:LTS linux-gcp 0 5.15.0-1006.9
Ubuntu:22.04:LTS linux-gcp 0 5.15.0-1008.12
Ubuntu:22.04:LTS linux-gcp-6.5 0 6.5.0-1010.10~22.04.3
Ubuntu:22.04:LTS linux-gcp-6.8 0 6.8.0-1010.11~22.04.1
Ubuntu:22.04:LTS linux-gke 0 5.15.0-1006.7
Ubuntu:22.04:LTS linux-gke 0 5.15.0-1008.10
Ubuntu:22.04:LTS linux-gkeop 0 5.15.0-1001.2
Ubuntu:22.04:LTS linux-hwe-6.5 0 6.5.0-14.14~22.04.1
Ubuntu:22.04:LTS linux-hwe-6.8 0 6.8.0-38.38~22.04.1
Ubuntu:22.04:LTS linux-ibm 0 5.15.0-1005.5
Ubuntu:22.04:LTS linux-ibm 0 5.15.0-1007.8
Ubuntu:22.04:LTS linux-intel-iot-realtime 0 No fix
Ubuntu:22.04:LTS linux-intel-iot-realtime 0 5.15.0-1021.26
Ubuntu:22.04:LTS linux-intel-iotg 0 5.15.0-1008.11
Ubuntu:22.04:LTS linux-kvm 0 5.15.0-1008.8
Ubuntu:22.04:LTS linux-kvm 0 5.15.0-1010.11
Ubuntu:22.04:LTS linux-lowlatency 0 5.15.0-35.36
Ubuntu:22.04:LTS linux-lowlatency 0 5.15.0-37.39
Ubuntu:22.04:LTS linux-lowlatency-hwe-6.5 0 6.5.0-14.14.1~22.04.1
Ubuntu:22.04:LTS linux-lowlatency-hwe-6.8 0 6.8.0-38.38.1~22.04.2
Ubuntu:22.04:LTS linux-nvidia 0 5.15.0-1005.5
Ubuntu:22.04:LTS linux-nvidia-6.2 0 6.2.0-1003.3~22.04.1
Ubuntu:22.04:LTS linux-nvidia-6.5 0 6.5.0-1004.4
Ubuntu:22.04:LTS linux-nvidia-6.8 0 6.8.0-1008.8~22.04.1
Ubuntu:22.04:LTS linux-oem-5.17 0 5.17.0-1003.3
Ubuntu:22.04:LTS linux-oem-6.0 0 No fix
Ubuntu:22.04:LTS linux-oem-6.5 0 6.5.0-1003.3
Ubuntu:22.04:LTS linux-oracle 0 5.15.0-1007.9
Ubuntu:22.04:LTS linux-oracle 0 5.15.0-1009.12
Ubuntu:22.04:LTS linux-oracle-6.5 0 6.5.0-1013.13~22.04.4
Ubuntu:22.04:LTS linux-oracle-6.8 0 6.8.0-1006.6~22.04.3
Ubuntu:22.04:LTS linux-raspi 0 5.15.0-1011.13
Ubuntu:22.04:LTS linux-realtime 0 No fix
Ubuntu:22.04:LTS linux-riscv 0 5.15.0-1012.13
Ubuntu:22.04:LTS linux-riscv-6.5 0 6.5.0-17.17.1.1~22.04.1
Ubuntu:22.04:LTS linux-riscv-6.8 0 6.8.0-38.38.1~22.04.1
Ubuntu:22.04:LTS linux-starfive-6.5 0 6.5.0-1007.8~22.04.1
Ubuntu:22.04:LTS linux-xilinx-zynqmp 0 5.15.0-1022.26
Ubuntu:22.04:LTS:for:NVIDIA:BlueField linux-bluefield 0 5.15.0-1011.13
Ubuntu:24.04:LTS linux 0 6.5.0-9.9
Ubuntu:24.04:LTS linux-aws 0 6.5.0-1008.8
Ubuntu:24.04:LTS linux-azure 0 6.5.0-1007.7
Ubuntu:24.04:LTS linux-gcp 0 6.5.0-1007.7
Ubuntu:24.04:LTS linux-gke 0 6.8.0-1003.5
Ubuntu:24.04:LTS linux-gkeop 0 6.8.0-1001.3
Ubuntu:24.04:LTS linux-ibm 0 6.5.0-1009.9
Ubuntu:24.04:LTS linux-lowlatency 0 6.5.0-9.9.1

Related vulnerabilities