Cloudanix VulnDB

CVE-2022-3112

Medium · 5.5

CVSS

5.5

EPSS

0.2%

Published

Dec 14, 2022

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A coding mistake in media handling code can make the system crash when processing certain video content on the local machine.

Exploitation
Local Privilege
Attacker needs
Low Privilege
Complexity
Low
Impact
Denial Of Service
Component
OS kernel
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Null pointer dereference in amvdec_set_canvases due to unchecked kzalloc return value, causing kernel crash on allocation failure during media decode canvas setup.

Why it matters to the business

Local denial of service that can interrupt media processing workloads on affected systems, with low likelihood of remote exploitation or data compromise.

How an attack unfolds

An attacker with local access triggers the vulnerable code path in the media decoder by supplying input that forces kzalloc failure, dereferencing the null pointer and crashing the kernel.

How to fix it

Update gst-plugins-good1.0 on Debian 11 to 1.18.4-2+deb11u1, on Debian 12/13 to 1.20.3-1, and gstreamer to commit ccf22e315cedf81e0075ab179ffb1b733da5206e or later equivalent kernel patch.

How to confirm the fix worked

Verify installed package versions against the listed fixed releases and confirm the presence of the kzalloc return-value check in vdec_helpers.c.

Typical attack path

  1. Obtain local user access on target system
  2. Invoke media decode operations that reach amvdec_set_canvases
  3. Force memory pressure to cause kzalloc failure
  4. Trigger null pointer dereference and kernel panic

How to detect it

Review kernel logs for null pointer dereference oops mentioning amvdec_set_canvases or vdec_helpers.c; correlate with local user media processing sessions.

What your security team should do

  • Apply the listed package updates on all affected systems
  • Restrict untrusted local users from media decode APIs where feasible
  • Monitor for kernel oops related to vdec_helpers

The record

An issue was discovered in the Linux kernel through 5.16-rc6. amvdec_set_canvases in drivers/staging/media/meson/vdec/vdec_helpers.c lacks check of the return value of kzalloc() and will cause the null pointer dereference.

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 linux 0 5.10.113-1
Debian:12 linux 0 5.17.3-1
Debian:13 linux 0 5.17.3-1
SUSE:Enterprise Storage 7 kernel-default 0 5.3.18-150200.24.142.1
SUSE:Enterprise Storage 7 kernel-default-base 0 5.3.18-150200.24.142.1.150200.9.67.1
SUSE:Enterprise Storage 7 kernel-docs 0 5.3.18-150200.24.142.1
SUSE:Enterprise Storage 7 kernel-obs-build 0 5.3.18-150200.24.142.1
SUSE:Enterprise Storage 7 kernel-preempt 0 5.3.18-150200.24.142.1
SUSE:Enterprise Storage 7 kernel-source 0 5.3.18-150200.24.142.1
SUSE:Enterprise Storage 7 kernel-syms 0 5.3.18-150200.24.142.1
SUSE:Enterprise Storage 7.1 kernel-64kb 0 5.3.18-150300.59.109.1
SUSE:Enterprise Storage 7.1 kernel-default 0 5.3.18-150300.59.109.1
SUSE:Enterprise Storage 7.1 kernel-default-base 0 5.3.18-150300.59.109.1.150300.18.62.1
SUSE:Enterprise Storage 7.1 kernel-docs 0 5.3.18-150300.59.109.1
SUSE:Enterprise Storage 7.1 kernel-obs-build 0 5.3.18-150300.59.109.1
SUSE:Enterprise Storage 7.1 kernel-preempt 0 5.3.18-150300.59.109.1
SUSE:Enterprise Storage 7.1 kernel-source 0 5.3.18-150300.59.109.1
SUSE:Enterprise Storage 7.1 kernel-syms 0 5.3.18-150300.59.109.1
SUSE:Linux Enterprise High Availability Extension 15 SP2 kernel-default 0 5.3.18-150200.24.142.1
SUSE:Linux Enterprise High Availability Extension 15 SP3 kernel-default 0 5.3.18-150300.59.109.1
SUSE:Linux Enterprise High Availability Extension 15 SP4 kernel-default 0 5.14.21-150400.24.41.1
SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS kernel-default 0 5.3.18-150200.24.142.1
SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS kernel-default-base 0 5.3.18-150200.24.142.1.150200.9.67.1
SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS kernel-docs 0 5.3.18-150200.24.142.1
SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS kernel-obs-build 0 5.3.18-150200.24.142.1
SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS kernel-preempt 0 5.3.18-150200.24.142.1
SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS kernel-source 0 5.3.18-150200.24.142.1
SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS kernel-syms 0 5.3.18-150200.24.142.1
SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS kernel-64kb 0 5.3.18-150300.59.109.1
SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS kernel-default 0 5.3.18-150300.59.109.1
SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS kernel-default-base 0 5.3.18-150300.59.109.1.150300.18.62.1
SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS kernel-docs 0 5.3.18-150300.59.109.1
SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS kernel-obs-build 0 5.3.18-150300.59.109.1
SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS kernel-preempt 0 5.3.18-150300.59.109.1
SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS kernel-source 0 5.3.18-150300.59.109.1
SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS kernel-syms 0 5.3.18-150300.59.109.1
SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS kernel-64kb 0 5.3.18-150300.59.109.1
SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS kernel-default 0 5.3.18-150300.59.109.1
SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS kernel-default-base 0 5.3.18-150300.59.109.1.150300.18.62.1
SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS kernel-docs 0 5.3.18-150300.59.109.1
SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS kernel-obs-build 0 5.3.18-150300.59.109.1
SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS kernel-preempt 0 5.3.18-150300.59.109.1
SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS kernel-source 0 5.3.18-150300.59.109.1
SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS kernel-syms 0 5.3.18-150300.59.109.1
SUSE:Linux Enterprise Live Patching 15 SP2 kernel-default 0 5.3.18-150200.24.142.1
SUSE:Linux Enterprise Live Patching 15 SP2 kernel-livepatch-SLE15-SP2_Update_33 0 1-150200.5.3.1
SUSE:Linux Enterprise Live Patching 15 SP3 kernel-default 0 5.3.18-150300.59.109.1
SUSE:Linux Enterprise Live Patching 15 SP3 kernel-livepatch-SLE15-SP3_Update_28 0 1-150300.7.3.1
SUSE:Linux Enterprise Live Patching 15 SP4 kernel-default 0 5.14.21-150400.24.41.1
SUSE:Linux Enterprise Live Patching 15 SP4 kernel-livepatch-SLE15-SP4-RT_Update_2 0 1-150400.1.3.1
SUSE:Linux Enterprise Live Patching 15 SP4 kernel-livepatch-SLE15-SP4_Update_7 0 1-150400.9.3.1
SUSE:Linux Enterprise Micro 5.1 kernel-default 0 5.3.18-150300.59.109.1
SUSE:Linux Enterprise Micro 5.1 kernel-default-base 0 5.3.18-150300.59.109.1.150300.18.62.1
SUSE:Linux Enterprise Micro 5.1 kernel-rt 0 5.3.18-150300.118.1
SUSE:Linux Enterprise Micro 5.2 kernel-default 0 5.3.18-150300.59.109.1
SUSE:Linux Enterprise Micro 5.2 kernel-default-base 0 5.3.18-150300.59.109.1.150300.18.62.1
SUSE:Linux Enterprise Micro 5.2 kernel-rt 0 5.3.18-150300.118.1
SUSE:Linux Enterprise Micro 5.3 kernel-default 0 5.14.21-150400.24.41.1
SUSE:Linux Enterprise Micro 5.3 kernel-default-base 0 5.14.21-150400.24.41.1.150400.24.15.1
SUSE:Linux Enterprise Micro 5.3 kernel-rt 0 5.14.21-150400.15.8.1
SUSE:Linux Enterprise Module for Basesystem 15 SP4 kernel-64kb 0 5.14.21-150400.24.41.1
SUSE:Linux Enterprise Module for Basesystem 15 SP4 kernel-default 0 5.14.21-150400.24.41.1
SUSE:Linux Enterprise Module for Basesystem 15 SP4 kernel-default-base 0 5.14.21-150400.24.41.1.150400.24.15.1
SUSE:Linux Enterprise Module for Basesystem 15 SP4 kernel-source 0 5.14.21-150400.24.41.1
SUSE:Linux Enterprise Module for Basesystem 15 SP4 kernel-zfcpdump 0 5.14.21-150400.24.41.1
SUSE:Linux Enterprise Module for Development Tools 15 SP4 kernel-docs 0 5.14.21-150400.24.41.1
SUSE:Linux Enterprise Module for Development Tools 15 SP4 kernel-obs-build 0 5.14.21-150400.24.41.1
SUSE:Linux Enterprise Module for Development Tools 15 SP4 kernel-source 0 5.14.21-150400.24.41.1
SUSE:Linux Enterprise Module for Development Tools 15 SP4 kernel-syms 0 5.14.21-150400.24.41.1
SUSE:Linux Enterprise Module for Legacy 15 SP4 kernel-default 0 5.14.21-150400.24.41.1
SUSE:Linux Enterprise Module for Public Cloud 15 SP4 kernel-azure 0 5.14.21-150400.14.31.1
SUSE:Linux Enterprise Module for Public Cloud 15 SP4 kernel-source-azure 0 5.14.21-150400.14.31.1
SUSE:Linux Enterprise Module for Public Cloud 15 SP4 kernel-syms-azure 0 5.14.21-150400.14.31.1
SUSE:Linux Enterprise Real Time 15 SP3 kernel-default 0 5.3.18-150300.59.109.1
SUSE:Linux Enterprise Real Time 15 SP3 kernel-default-base 0 5.3.18-150300.59.109.1.150300.18.62.1
SUSE:Linux Enterprise Real Time 15 SP3 kernel-docs 0 5.3.18-150300.59.109.1
SUSE:Linux Enterprise Real Time 15 SP3 kernel-obs-build 0 5.3.18-150300.59.109.1
SUSE:Linux Enterprise Real Time 15 SP3 kernel-preempt 0 5.3.18-150300.59.109.1
SUSE:Linux Enterprise Real Time 15 SP3 kernel-source 0 5.3.18-150300.59.109.1
SUSE:Linux Enterprise Real Time 15 SP3 kernel-syms 0 5.3.18-150300.59.109.1
SUSE:Linux Enterprise Server 15 SP2-LTSS kernel-default 0 5.3.18-150200.24.142.1
SUSE:Linux Enterprise Server 15 SP2-LTSS kernel-default-base 0 5.3.18-150200.24.142.1.150200.9.67.1
SUSE:Linux Enterprise Server 15 SP2-LTSS kernel-docs 0 5.3.18-150200.24.142.1
SUSE:Linux Enterprise Server 15 SP2-LTSS kernel-obs-build 0 5.3.18-150200.24.142.1
SUSE:Linux Enterprise Server 15 SP2-LTSS kernel-preempt 0 5.3.18-150200.24.142.1
SUSE:Linux Enterprise Server 15 SP2-LTSS kernel-source 0 5.3.18-150200.24.142.1
SUSE:Linux Enterprise Server 15 SP2-LTSS kernel-syms 0 5.3.18-150200.24.142.1
SUSE:Linux Enterprise Server 15 SP3-LTSS kernel-64kb 0 5.3.18-150300.59.109.1
SUSE:Linux Enterprise Server 15 SP3-LTSS kernel-default 0 5.3.18-150300.59.109.1
SUSE:Linux Enterprise Server 15 SP3-LTSS kernel-default-base 0 5.3.18-150300.59.109.1.150300.18.62.1
SUSE:Linux Enterprise Server 15 SP3-LTSS kernel-docs 0 5.3.18-150300.59.109.1
SUSE:Linux Enterprise Server 15 SP3-LTSS kernel-obs-build 0 5.3.18-150300.59.109.1
SUSE:Linux Enterprise Server 15 SP3-LTSS kernel-preempt 0 5.3.18-150300.59.109.1
SUSE:Linux Enterprise Server 15 SP3-LTSS kernel-source 0 5.3.18-150300.59.109.1
SUSE:Linux Enterprise Server 15 SP3-LTSS kernel-syms 0 5.3.18-150300.59.109.1
SUSE:Linux Enterprise Server 15 SP3-LTSS kernel-zfcpdump 0 5.3.18-150300.59.109.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP2 kernel-default 0 5.3.18-150200.24.142.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP2 kernel-default-base 0 5.3.18-150200.24.142.1.150200.9.67.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP2 kernel-docs 0 5.3.18-150200.24.142.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP2 kernel-obs-build 0 5.3.18-150200.24.142.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP2 kernel-preempt 0 5.3.18-150200.24.142.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP2 kernel-source 0 5.3.18-150200.24.142.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP2 kernel-syms 0 5.3.18-150200.24.142.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP3 kernel-default 0 5.3.18-150300.59.109.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP3 kernel-default-base 0 5.3.18-150300.59.109.1.150300.18.62.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP3 kernel-docs 0 5.3.18-150300.59.109.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP3 kernel-obs-build 0 5.3.18-150300.59.109.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP3 kernel-preempt 0 5.3.18-150300.59.109.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP3 kernel-source 0 5.3.18-150300.59.109.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP3 kernel-syms 0 5.3.18-150300.59.109.1
SUSE:Linux Enterprise Workstation Extension 15 SP4 kernel-default 0 5.14.21-150400.24.41.1
SUSE:Manager Proxy 4.2 kernel-default 0 5.3.18-150300.59.109.1
SUSE:Manager Proxy 4.2 kernel-default-base 0 5.3.18-150300.59.109.1.150300.18.62.1
SUSE:Manager Proxy 4.2 kernel-preempt 0 5.3.18-150300.59.109.1
SUSE:Manager Proxy 4.2 kernel-source 0 5.3.18-150300.59.109.1
SUSE:Manager Retail Branch Server 4.2 kernel-default 0 5.3.18-150300.59.109.1
SUSE:Manager Retail Branch Server 4.2 kernel-default-base 0 5.3.18-150300.59.109.1.150300.18.62.1
SUSE:Manager Retail Branch Server 4.2 kernel-preempt 0 5.3.18-150300.59.109.1
SUSE:Manager Retail Branch Server 4.2 kernel-source 0 5.3.18-150300.59.109.1
SUSE:Manager Server 4.2 kernel-default 0 5.3.18-150300.59.109.1
SUSE:Manager Server 4.2 kernel-default-base 0 5.3.18-150300.59.109.1.150300.18.62.1
SUSE:Manager Server 4.2 kernel-preempt 0 5.3.18-150300.59.109.1
SUSE:Manager Server 4.2 kernel-source 0 5.3.18-150300.59.109.1
SUSE:Manager Server 4.2 kernel-zfcpdump 0 5.3.18-150300.59.109.1
SUSE:Real Time Module 15 SP3 kernel-rt 0 5.3.18-150300.118.1
SUSE:Real Time Module 15 SP3 kernel-rt_debug 0 5.3.18-150300.118.1
SUSE:Real Time Module 15 SP3 kernel-source-rt 0 5.3.18-150300.118.1
SUSE:Real Time Module 15 SP3 kernel-syms-rt 0 5.3.18-150300.118.1
SUSE:Real Time Module 15 SP4 kernel-rt 0 5.14.21-150400.15.8.1
SUSE:Real Time Module 15 SP4 kernel-rt_debug 0 5.14.21-150400.15.8.1
SUSE:Real Time Module 15 SP4 kernel-source-rt 0 5.14.21-150400.15.8.1
SUSE:Real Time Module 15 SP4 kernel-syms-rt 0 5.14.21-150400.15.8.1
Ubuntu:14.04:LTS linux 0 3.11.0-12.19
Ubuntu:14.04:LTS linux-aws 0 4.4.0-1002.2
Ubuntu:14.04:LTS linux-azure 0 4.15.0-1023.24~14.04.1
Ubuntu:14.04:LTS linux-lts-xenial 0 4.4.0-13.29~14.04.1
Ubuntu:16.04:LTS linux 0 4.4.0-2.16
Ubuntu:16.04:LTS linux-aws 0 4.4.0-1001.10
Ubuntu:16.04:LTS linux-aws-hwe 0 4.15.0-1030.31~16.04.1
Ubuntu:16.04:LTS linux-azure 0 4.11.0-1009.9
Ubuntu:16.04:LTS linux-gcp 0 4.10.0-1004.4
Ubuntu:16.04:LTS linux-hwe 0 4.8.0-39.42~16.04.1
Ubuntu:16.04:LTS linux-hwe-edge 0 No fix
Ubuntu:16.04:LTS linux-kvm 0 4.4.0-1004.9
Ubuntu:16.04:LTS linux-oracle 0 4.15.0-1007.9~16.04.1
Ubuntu:18.04:LTS linux 0 4.13.0-16.19
Ubuntu:18.04:LTS linux-aws 0 4.15.0-1001.1
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-1018.18~18.04.1
Ubuntu:18.04:LTS linux-azure 0 No fix
Ubuntu:18.04:LTS linux-azure-4.15 0 4.15.0-1082.92
Ubuntu:18.04:LTS linux-azure-5.3 0 No fix
Ubuntu:18.04:LTS linux-azure-5.4 0 5.4.0-1020.20~18.04.1
Ubuntu:18.04:LTS linux-azure-edge 0 No fix
Ubuntu:18.04:LTS linux-dell300x 0 4.15.0-1005.8
Ubuntu:18.04:LTS linux-gcp 0 No fix
Ubuntu:18.04:LTS linux-gcp-4.15 0 4.15.0-1071.81
Ubuntu:18.04:LTS linux-gcp-5.3 0 No fix
Ubuntu:18.04:LTS linux-gcp-5.4 0 5.4.0-1019.19~18.04.2
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-37.41~18.04.1
Ubuntu:18.04:LTS linux-hwe-edge 0 5.0.0-15.16~18.04.1
Ubuntu:18.04:LTS linux-ibm-5.4 0 5.4.0-1010.11~18.04.2
Ubuntu:18.04:LTS linux-kvm 0 4.15.0-1002.2
Ubuntu:18.04:LTS linux-oem 0 No fix
Ubuntu:18.04:LTS linux-oem-osp1 0 5.0.0-1010.11
Ubuntu:18.04:LTS linux-oracle 0 4.15.0-1007.9
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-1019.19~18.04.1
Ubuntu:18.04:LTS linux-raspi-5.4 0 5.4.0-1013.13~18.04.1
Ubuntu:18.04:LTS linux-raspi2 0 4.13.0-1005.5
Ubuntu:18.04:LTS linux-snapdragon 0 4.4.0-1077.82
Ubuntu:20.04:LTS linux 0 5.4.0-9.12
Ubuntu:20.04:LTS linux-aws 0 5.4.0-1005.5
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-1006.6
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-5.15 0 5.15.0-1019.24~20.04.1.1
Ubuntu:20.04:LTS linux-bluefield 0 5.4.0-1007.10
Ubuntu:20.04:LTS linux-gcp 0 5.4.0-1005.5
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-1033.35
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-1008.9
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

Related vulnerabilities