CVE-2021-46956
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2021-46956 is a memory leak vulnerability in the Linux kernel's virtiofs filesystem component, specifically in the virtio_fs_probe() function. The vulnerability was discovered when passing the same tag twice to QEMU, which resulted in a memory leak in the virtiofs module. This issue affects Linux kernel versions from 5.4 up to (excluding) 5.4.118, from 5.5 up to (excluding) 5.10.36, from 5.11 up to (excluding) 5.11.20, and from 5.12 up to (excluding) 5.12.3 (NVD).

Technical details

The vulnerability occurs in the virtio_fs_probe() function where memory allocated for fs->vqs is not properly freed when the probe operation fails. The issue manifests when the same tag is passed twice to QEMU, resulting in a probe failure with error -17. The memory leak was confirmed through kmemleak, which reported an unreferenced object of size 1024 bytes in the systemd-udevd process. The CVSS v3.1 base score is 5.5 (MEDIUM) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

The vulnerability results in a memory leak in the Linux kernel's virtiofs filesystem component. While the immediate impact is resource consumption through memory leaks, the vulnerability does not allow for information disclosure or system compromise. The issue primarily affects system stability and resource availability (NVD).

Exploitability

The vulnerability requires local access and low privileges to exploit. The attack complexity is low, but no user interaction is needed. There are no known exploits in the wild. The vulnerability is triggered specifically when passing duplicate tags to QEMU in a virtiofs configuration (NVD).

Mitigation and workarounds

The vulnerability has been patched by adding a proper cleanup call (kfree(fs->vqs)) in the error handling path of virtio_fs_probe(). The fix was committed upstream and backported to affected stable kernel versions. Users should update their Linux kernel to versions 5.4.118, 5.10.36, 5.11.20, 5.12.3 or later to address this vulnerability (Kernel Patch).

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-2026-80913NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux
NoYesSep 04, 2026
CVE-2026-80905NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel
NoYesSep 04, 2026
CVE-2026-80898NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux
NoYesSep 04, 2026
CVE-2026-80897NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux
NoYesSep 04, 2026
CVE-2026-80892NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux
NoYesSep 04, 2026

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