CVE-2022-0998
Linux Kernel vulnerability analysis and mitigation

Overview

An integer overflow vulnerability (CVE-2022-0998) was discovered in the Linux kernel's virtio device driver code, specifically in the vhostvdpaconfig_validate function. The vulnerability was disclosed in March 2022 and affects Linux kernel versions through 5.16.18. This security flaw impacts the Linux kernel's virtual device driver implementation (NVD, CVE).

Technical details

The vulnerability stems from an integer overflow issue in the way the vhostvdpaconfigvalidate function handles the return value of getconfigsize. Originally, the bug affected 32-bit systems due to improper type handling where a 'long' variable was used instead of 'sizet' for storing the configuration size (Kernel Patch, OSS Security).

Impact

When successfully exploited, this vulnerability could allow a local user to crash the system or potentially escalate their privileges. The vulnerability has received a CVSS score of 7.8 (HIGH), indicating significant potential impact on system security (NetApp Advisory).

Mitigation and workarounds

The issue was addressed through two key commits: commit 3ed21c1451a1 ('vdpa: check that offsets are within bounds') and commit 870aaff92e959e29d40f9cfdb5ed06ba2fc2dae0 which changed the variable type from 'long' to 'size_t'. It's important to note that both patches should be applied together, as applying only the second patch could create additional security problems (OSS Security).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-40205HIGH7.8
  • Linux KernelLinux Kernel
  • linux-gcp-5.4
NoYesNov 12, 2025
CVE-2025-40211HIGH7.1
  • Linux KernelLinux Kernel
  • linux-gcp-6.8
NoYesNov 21, 2025
CVE-2025-40206MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-modules-extra
NoYesNov 12, 2025
CVE-2025-40210MEDIUM5.1
  • Linux KernelLinux Kernel
  • kernel-rt-64k-modules
NoYesNov 21, 2025
CVE-2025-40212N/AN/A
  • Linux KernelLinux Kernel
  • linux-azure-6.14
NoYesNov 24, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management