PT-2024-11077 · Linux+1 · Linux Kernel+1
Marc Hartmayer
·
Published
2021-04-21
·
Updated
2025-01-08
·
CVE-2021-46968
CVSS v3.1
5.5
Medium
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
The issue is related to a memory leak in the Linux kernel, specifically in the s390/zcrypt module. Tests with kvm and a kmemdebug kernel showed that on hot unplug, the zcard and zqueue structs for the unplugged card or queue are not properly freed due to a mismatch with get/put for the embedded kref counter. This fix adjusts the handling of the kref counters, which start with an initial value of 1 and need to drop to zero with the unregister of the card or queue to trigger the release and free the object.
Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Memory Leak
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Linux Kernel
Suse