CVE-2021-46968
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2021-46968 affects the Linux kernel and involves a memory leak vulnerability in the s390/zcrypt component. The issue was discovered when tests with kvm and a kmemdebug kernel revealed that during hot unplug operations, the zcard and zqueue structs for unplugged cards or queues were not properly freed due to a mismatch with get/put operations for the embedded kref counter (Kernel Patch).

Technical details

The vulnerability stems from a reference counting issue where the kref counter, which starts with a value of 1 during initialization, fails to properly drop to zero when unregistering the card or queue. This prevents the release and freeing of the object, resulting in a memory leak. The issue affects Linux kernel versions from 5.10 up to (excluding) 5.10.36, 5.11 up to (excluding) 5.11.20, and 5.12 up to (excluding) 5.12.3. The vulnerability has been assigned a CVSS v3.1 base score of 5.5 MEDIUM (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 condition when hot-unplugging crypto cards and queues on s390 systems. While there are no direct confidentiality or integrity impacts, the memory leak can lead to resource exhaustion over time, potentially affecting system availability (NVD).

Exploitability

The vulnerability requires local access with low privileges to exploit. The attack complexity is low, and no user interaction is required. However, the scope is unchanged, meaning the impact is limited to the vulnerable component (NVD).

Mitigation and workarounds

The vulnerability has been fixed by adjusting the handling of kref counters to ensure proper memory cleanup during hot-unplug operations. The fix involves adding proper zcrypt_card_put(zc) and zcrypt_queue_put(zq) calls in the unregister functions. Users should upgrade to Linux kernel versions 5.10.36, 5.11.20, 5.12.3 or later to receive the fix (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-74583NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-debug
NoYesAug 21, 2026
CVE-2026-74582NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel.src
NoYesAug 21, 2026
CVE-2026-74581NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-modules-internal
NoYesAug 21, 2026
CVE-2026-74580NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-debug
NoYesAug 21, 2026
CVE-2025-30156NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-debug-devel-matched
NoYesAug 21, 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