Cloudanix VulnDB

CVE-2022-41849

Medium · 4.2

CVSS

4.2

EPSS

0.3%

Published

Sep 30, 2022

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A Linux kernel bug can make a computer crash if someone yanks out a certain USB device at exactly the wrong moment, but an attacker needs physical access to try it.

Exploitation
Physical Access
Attacker needs
Physical Access
Complexity
High
Impact
Denial Of Service
Component
OS kernel
Class
Race Condition
Remediation
Upgrade
Effort
Medium
Patch risk
Medium

What it actually does

Race condition between ufx_ops_open and ufx_usb_disconnect in the smscufx USB framebuffer driver causes use-after-free when a device is removed during open().

Why it matters to the business

Low-probability denial-of-service crashes on Linux systems using the affected USB video device; physical-access requirement and long-since-published fix limit operational exposure across the ecosystem.

How an attack unfolds

An attacker with physical access connects the USB device, triggers an open() call in the driver, then removes the device to win the race between the open and disconnect paths and trigger the use-after-free.

How to fix it

Upgrade the Linux kernel to a version containing commit 5610bcfe8693c02e2e4c8b31427f1bdbdecc839c or later; rebuild and reboot with the patched kernel.

How to confirm the fix worked

Verify the running kernel source contains commit 5610bcfe8693c02e2e4c8b31427f1bdbdecc839c; confirm absence of the race by code review or by attempting concurrent open/disconnect operations on patched versus unpatched builds.

Typical attack path

  1. Obtain brief physical access to the target system
  2. Insert the supported USB device
  3. Cause the driver open() path to execute
  4. Remove the USB device during the open window
  5. Trigger kernel panic or memory corruption via the resulting use-after-free

How to detect it

Review kernel logs and USB event traces for smscufx disconnect events occurring during open operations; look for use-after-free oops or panic messages referencing ufx_usb_disconnect.

What your security team should do

  • Apply the kernel update containing commit 5610bcfe8693c02e2e4c8b31427f1bdbdecc839c to all affected systems
  • Restrict physical access to systems that expose the vulnerable USB driver
  • Monitor kernel logs for smscufx-related oops or use-after-free warnings until patches are deployed

The record

drivers/video/fbdev/smscufx.c in the Linux kernel through 5.19.12 has a race condition and resultant use-after-free if a physically proximate attacker removes a USB device while calling open(), aka a race condition between ufx_ops_open and ufx_usb_disconnect.

Affected packages

Ecosystem Package Introduced Fixed
Debian:10 linux 0 4.19.269-1
Debian:10 linux-5.10 0 5.10.158-2~deb10u1
Debian:11 linux 0 5.10.158-1
Debian:12 linux 0 6.0.3-1
Debian:13 linux 0 6.0.3-1
Mageia:8 kernel 0 5.15.79-1.mga8
Mageia:8 kernel-linus 0 5.15.79-1.mga8
Mageia:8 kmod-virtualbox 0 7.0.2-1.2.mga8
Mageia:8 kmod-xtables-addons 0 3.21-1.7.mga8
SUSE:Enterprise Storage 7 kernel-default 0 5.3.18-150200.24.134.1
SUSE:Enterprise Storage 7 kernel-default-base 0 5.3.18-150200.24.134.1.150200.9.63.2
SUSE:Enterprise Storage 7 kernel-docs 0 5.3.18-150200.24.134.1
SUSE:Enterprise Storage 7 kernel-obs-build 0 5.3.18-150200.24.134.1
SUSE:Enterprise Storage 7 kernel-preempt 0 5.3.18-150200.24.134.1
SUSE:Enterprise Storage 7 kernel-source 0 5.3.18-150200.24.134.1
SUSE:Enterprise Storage 7 kernel-syms 0 5.3.18-150200.24.134.1
SUSE:Linux Enterprise High Availability Extension 15 SP2 kernel-default 0 5.3.18-150200.24.134.1
SUSE:Linux Enterprise High Availability Extension 15 SP3 kernel-default 0 5.3.18-150300.59.98.1
SUSE:Linux Enterprise High Availability Extension 15 SP4 kernel-default 0 5.14.21-150400.24.28.1
SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS kernel-default 0 5.3.18-150200.24.134.1
SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS kernel-default-base 0 5.3.18-150200.24.134.1.150200.9.63.2
SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS kernel-docs 0 5.3.18-150200.24.134.1
SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS kernel-obs-build 0 5.3.18-150200.24.134.1
SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS kernel-preempt 0 5.3.18-150200.24.134.1
SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS kernel-source 0 5.3.18-150200.24.134.1
SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS kernel-syms 0 5.3.18-150200.24.134.1
SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS kernel-default 0 5.3.18-150200.24.134.1
SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS kernel-default-base 0 5.3.18-150200.24.134.1.150200.9.63.2
SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS kernel-docs 0 5.3.18-150200.24.134.1
SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS kernel-obs-build 0 5.3.18-150200.24.134.1
SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS kernel-preempt 0 5.3.18-150200.24.134.1
SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS kernel-source 0 5.3.18-150200.24.134.1
SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS kernel-syms 0 5.3.18-150200.24.134.1
SUSE:Linux Enterprise Live Patching 15 SP2 kernel-default 0 5.3.18-150200.24.134.1
SUSE:Linux Enterprise Live Patching 15 SP2 kernel-livepatch-SLE15-SP2_Update_31 0 1-150200.5.3.2
SUSE:Linux Enterprise Live Patching 15 SP3 kernel-default 0 5.3.18-150300.59.98.1
SUSE:Linux Enterprise Live Patching 15 SP3 kernel-livepatch-SLE15-SP3_Update_25 0 1-150300.7.5.1
SUSE:Linux Enterprise Live Patching 15 SP4 kernel-default 0 5.14.21-150400.24.28.1
SUSE:Linux Enterprise Live Patching 15 SP4 kernel-livepatch-SLE15-SP4-RT_Update_1 0 1-150400.1.3.1
SUSE:Linux Enterprise Live Patching 15 SP4 kernel-livepatch-SLE15-SP4_Update_4 0 1-150400.9.3.5
SUSE:Linux Enterprise Micro 5.1 kernel-default 0 5.3.18-150300.59.98.1
SUSE:Linux Enterprise Micro 5.1 kernel-default-base 0 5.3.18-150300.59.98.1.150300.18.56.3
SUSE:Linux Enterprise Micro 5.1 kernel-rt 0 5.3.18-150300.106.1
SUSE:Linux Enterprise Micro 5.2 kernel-default 0 5.3.18-150300.59.98.1
SUSE:Linux Enterprise Micro 5.2 kernel-default-base 0 5.3.18-150300.59.98.1.150300.18.56.3
SUSE:Linux Enterprise Micro 5.2 kernel-rt 0 5.3.18-150300.106.1
SUSE:Linux Enterprise Micro 5.3 kernel-default 0 5.14.21-150400.24.28.1
SUSE:Linux Enterprise Micro 5.3 kernel-default-base 0 5.14.21-150400.24.28.1.150400.24.9.5
SUSE:Linux Enterprise Module for Basesystem 15 SP3 kernel-64kb 0 5.3.18-150300.59.98.1
SUSE:Linux Enterprise Module for Basesystem 15 SP3 kernel-default 0 5.3.18-150300.59.98.1
SUSE:Linux Enterprise Module for Basesystem 15 SP3 kernel-default-base 0 5.3.18-150300.59.98.1.150300.18.56.3
SUSE:Linux Enterprise Module for Basesystem 15 SP3 kernel-preempt 0 5.3.18-150300.59.98.1
SUSE:Linux Enterprise Module for Basesystem 15 SP3 kernel-source 0 5.3.18-150300.59.98.1
SUSE:Linux Enterprise Module for Basesystem 15 SP3 kernel-zfcpdump 0 5.3.18-150300.59.98.1
SUSE:Linux Enterprise Module for Basesystem 15 SP4 kernel-64kb 0 5.14.21-150400.24.28.1
SUSE:Linux Enterprise Module for Basesystem 15 SP4 kernel-default 0 5.14.21-150400.24.28.1
SUSE:Linux Enterprise Module for Basesystem 15 SP4 kernel-default-base 0 5.14.21-150400.24.28.1.150400.24.9.5
SUSE:Linux Enterprise Module for Basesystem 15 SP4 kernel-source 0 5.14.21-150400.24.28.1
SUSE:Linux Enterprise Module for Basesystem 15 SP4 kernel-zfcpdump 0 5.14.21-150400.24.28.1
SUSE:Linux Enterprise Module for Development Tools 15 SP3 kernel-docs 0 5.3.18-150300.59.98.1
SUSE:Linux Enterprise Module for Development Tools 15 SP3 kernel-obs-build 0 5.3.18-150300.59.98.1
SUSE:Linux Enterprise Module for Development Tools 15 SP3 kernel-preempt 0 5.3.18-150300.59.98.1
SUSE:Linux Enterprise Module for Development Tools 15 SP3 kernel-source 0 5.3.18-150300.59.98.1
SUSE:Linux Enterprise Module for Development Tools 15 SP3 kernel-syms 0 5.3.18-150300.59.98.1
SUSE:Linux Enterprise Module for Development Tools 15 SP4 kernel-docs 0 5.14.21-150400.24.28.1
SUSE:Linux Enterprise Module for Development Tools 15 SP4 kernel-obs-build 0 5.14.21-150400.24.28.1
SUSE:Linux Enterprise Module for Development Tools 15 SP4 kernel-source 0 5.14.21-150400.24.28.1
SUSE:Linux Enterprise Module for Development Tools 15 SP4 kernel-syms 0 5.14.21-150400.24.28.1
SUSE:Linux Enterprise Module for Legacy 15 SP3 kernel-default 0 5.3.18-150300.59.98.1
SUSE:Linux Enterprise Module for Legacy 15 SP4 kernel-default 0 5.14.21-150400.24.28.1
SUSE:Linux Enterprise Module for Public Cloud 15 SP3 kernel-azure 0 5.3.18-150300.38.80.1
SUSE:Linux Enterprise Module for Public Cloud 15 SP3 kernel-source-azure 0 5.3.18-150300.38.80.1
SUSE:Linux Enterprise Module for Public Cloud 15 SP3 kernel-syms-azure 0 5.3.18-150300.38.80.1
SUSE:Linux Enterprise Module for Public Cloud 15 SP4 kernel-azure 0 5.14.21-150400.14.16.1
SUSE:Linux Enterprise Module for Public Cloud 15 SP4 kernel-source-azure 0 5.14.21-150400.14.16.1
SUSE:Linux Enterprise Module for Public Cloud 15 SP4 kernel-syms-azure 0 5.14.21-150400.14.16.1
SUSE:Linux Enterprise Server 15 SP2-BCL kernel-default 0 5.3.18-150200.24.134.1
SUSE:Linux Enterprise Server 15 SP2-BCL kernel-default-base 0 5.3.18-150200.24.134.1.150200.9.63.2
SUSE:Linux Enterprise Server 15 SP2-BCL kernel-docs 0 5.3.18-150200.24.134.1
SUSE:Linux Enterprise Server 15 SP2-BCL kernel-preempt 0 5.3.18-150200.24.134.1
SUSE:Linux Enterprise Server 15 SP2-BCL kernel-source 0 5.3.18-150200.24.134.1
SUSE:Linux Enterprise Server 15 SP2-BCL kernel-syms 0 5.3.18-150200.24.134.1
SUSE:Linux Enterprise Server 15 SP2-LTSS kernel-default 0 5.3.18-150200.24.134.1
SUSE:Linux Enterprise Server 15 SP2-LTSS kernel-default-base 0 5.3.18-150200.24.134.1.150200.9.63.2
SUSE:Linux Enterprise Server 15 SP2-LTSS kernel-docs 0 5.3.18-150200.24.134.1
SUSE:Linux Enterprise Server 15 SP2-LTSS kernel-obs-build 0 5.3.18-150200.24.134.1
SUSE:Linux Enterprise Server 15 SP2-LTSS kernel-preempt 0 5.3.18-150200.24.134.1
SUSE:Linux Enterprise Server 15 SP2-LTSS kernel-source 0 5.3.18-150200.24.134.1
SUSE:Linux Enterprise Server 15 SP2-LTSS kernel-syms 0 5.3.18-150200.24.134.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP2 kernel-default 0 5.3.18-150200.24.134.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP2 kernel-default-base 0 5.3.18-150200.24.134.1.150200.9.63.2
SUSE:Linux Enterprise Server for SAP Applications 15 SP2 kernel-docs 0 5.3.18-150200.24.134.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP2 kernel-obs-build 0 5.3.18-150200.24.134.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP2 kernel-preempt 0 5.3.18-150200.24.134.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP2 kernel-source 0 5.3.18-150200.24.134.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP2 kernel-syms 0 5.3.18-150200.24.134.1
SUSE:Linux Enterprise Workstation Extension 15 SP3 kernel-default 0 5.3.18-150300.59.98.1
SUSE:Linux Enterprise Workstation Extension 15 SP3 kernel-preempt 0 5.3.18-150300.59.98.1
SUSE:Linux Enterprise Workstation Extension 15 SP4 kernel-default 0 5.14.21-150400.24.28.1
SUSE:Manager Proxy 4.1 kernel-default 0 5.3.18-150200.24.134.1
SUSE:Manager Proxy 4.1 kernel-default-base 0 5.3.18-150200.24.134.1.150200.9.63.2
SUSE:Manager Proxy 4.1 kernel-docs 0 5.3.18-150200.24.134.1
SUSE:Manager Proxy 4.1 kernel-preempt 0 5.3.18-150200.24.134.1
SUSE:Manager Proxy 4.1 kernel-source 0 5.3.18-150200.24.134.1
SUSE:Manager Proxy 4.1 kernel-syms 0 5.3.18-150200.24.134.1
SUSE:Manager Retail Branch Server 4.1 kernel-default 0 5.3.18-150200.24.134.1
SUSE:Manager Retail Branch Server 4.1 kernel-default-base 0 5.3.18-150200.24.134.1.150200.9.63.2
SUSE:Manager Retail Branch Server 4.1 kernel-docs 0 5.3.18-150200.24.134.1
SUSE:Manager Retail Branch Server 4.1 kernel-preempt 0 5.3.18-150200.24.134.1
SUSE:Manager Retail Branch Server 4.1 kernel-source 0 5.3.18-150200.24.134.1
SUSE:Manager Retail Branch Server 4.1 kernel-syms 0 5.3.18-150200.24.134.1
SUSE:Manager Server 4.1 kernel-default 0 5.3.18-150200.24.134.1
SUSE:Manager Server 4.1 kernel-default-base 0 5.3.18-150200.24.134.1.150200.9.63.2
SUSE:Manager Server 4.1 kernel-docs 0 5.3.18-150200.24.134.1
SUSE:Manager Server 4.1 kernel-obs-build 0 5.3.18-150200.24.134.1
SUSE:Manager Server 4.1 kernel-preempt 0 5.3.18-150200.24.134.1
SUSE:Manager Server 4.1 kernel-source 0 5.3.18-150200.24.134.1
SUSE:Manager Server 4.1 kernel-syms 0 5.3.18-150200.24.134.1
SUSE:Real Time Module 15 SP3 kernel-rt 0 5.3.18-150300.106.1
SUSE:Real Time Module 15 SP3 kernel-rt_debug 0 5.3.18-150300.106.1
SUSE:Real Time Module 15 SP3 kernel-source-rt 0 5.3.18-150300.106.1
SUSE:Real Time Module 15 SP3 kernel-syms-rt 0 5.3.18-150300.106.1
SUSE:Real Time Module 15 SP4 kernel-rt 0 5.14.21-150400.15.5.1
SUSE:Real Time Module 15 SP4 kernel-rt_debug 0 5.14.21-150400.15.5.1
SUSE:Real Time Module 15 SP4 kernel-source-rt 0 5.14.21-150400.15.5.1
SUSE:Real Time Module 15 SP4 kernel-syms-rt 0 5.14.21-150400.15.5.1
Ubuntu:16.04:LTS linux-hwe-edge 0 No fix
Ubuntu:18.04:LTS linux 0 4.15.0-204.215
Ubuntu:18.04:LTS linux-aws 0 4.15.0-1150.163
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-1096.104~18.04.1
Ubuntu:18.04:LTS linux-azure 0 No fix
Ubuntu:18.04:LTS linux-azure-4.15 0 4.15.0-1161.176
Ubuntu:18.04:LTS linux-azure-5.3 0 No fix
Ubuntu:18.04:LTS linux-azure-5.4 0 5.4.0-1103.109~18.04.1
Ubuntu:18.04:LTS linux-azure-edge 0 No fix
Ubuntu:18.04:LTS linux-dell300x 0 4.15.0-1060.65
Ubuntu:18.04:LTS linux-gcp 0 No fix
Ubuntu:18.04:LTS linux-gcp-4.15 0 4.15.0-1145.161
Ubuntu:18.04:LTS linux-gcp-5.3 0 No fix
Ubuntu:18.04:LTS linux-gcp-5.4 0 5.4.0-1100.109~18.04.1
Ubuntu:18.04:LTS linux-gke-4.15 0 No fix
Ubuntu:18.04:LTS linux-gke-5.4 0 No fix
Ubuntu:18.04:LTS linux-gkeop-5.4 0 No fix
Ubuntu:18.04:LTS linux-hwe 0 No fix
Ubuntu:18.04:LTS linux-hwe-5.4 0 5.4.0-139.156~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-1044.49~18.04.1
Ubuntu:18.04:LTS linux-kvm 0 4.15.0-1135.140
Ubuntu:18.04:LTS linux-oem 0 No fix
Ubuntu:18.04:LTS linux-oracle 0 4.15.0-1114.125
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-1093.102~18.04.1
Ubuntu:18.04:LTS linux-raspi-5.4 0 5.4.0-1080.91~18.04.1
Ubuntu:18.04:LTS linux-raspi2 0 4.15.0-1127.135
Ubuntu:18.04:LTS linux-snapdragon 0 4.15.0-1145.155
Ubuntu:20.04:LTS linux 0 5.4.0-139.156
Ubuntu:20.04:LTS linux-aws 0 5.4.0-1096.104
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-1030.34~20.04.1
Ubuntu:20.04:LTS linux-aws-5.8 0 No fix
Ubuntu:20.04:LTS linux-azure 0 5.4.0-1103.109
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-1033.40~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-1103.109+cvm1.1
Ubuntu:20.04:LTS linux-azure-fde-5.15 0 5.15.0-1033.40~20.04.1.1
Ubuntu:20.04:LTS linux-bluefield 0 5.4.0-1058.64
Ubuntu:20.04:LTS linux-gcp 0 5.4.0-1100.109
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-1029.36~20.04.1
Ubuntu:20.04:LTS linux-gcp-5.8 0 No fix
Ubuntu:20.04:LTS linux-gke 0 5.4.0-1094.101
Ubuntu:20.04:LTS linux-gke-5.15 0 5.15.0-1027.32~20.04.1
Ubuntu:20.04:LTS linux-gkeop 0 5.4.0-1064.68
Ubuntu:20.04:LTS linux-gkeop-5.15 0 No fix
Ubuntu:20.04:LTS linux-gkeop-5.15 0 5.15.0-1015.19~20.04.1
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-60.66~20.04.1
Ubuntu:20.04:LTS linux-hwe-5.8 0 No fix
Ubuntu:20.04:LTS linux-ibm 0 5.4.0-1044.49
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-1025.30~20.04.1
Ubuntu:20.04:LTS linux-iot 0 No fix
Ubuntu:20.04:LTS linux-iot 0 5.4.0-1012.14
Ubuntu:20.04:LTS linux-kvm 0 5.4.0-1086.92
Ubuntu:20.04:LTS linux-lowlatency-hwe-5.15 0 5.15.0-60.66~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 No fix
Ubuntu:20.04:LTS linux-oem-5.6 0 No fix
Ubuntu:20.04:LTS linux-oracle 0 5.4.0-1093.102
Ubuntu:20.04:LTS linux-oracle-5.11 0 No fix

Related vulnerabilities