CVE-2021-46968

s390/zcrypt: fix zcard and zqueue hot-unplug memleak

published February 27, 2024

CVSS
—
EPSS
0%
Percentile
12.1
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

s390/zcrypt: fix zcard and zqueue hot-unplug memleak

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 because of a mismatch with get/put for the embedded

kref counter.

This fix now adjusts the handling of the kref counters. With init the

kref counter starts with 1. This initial value needs to drop to zero

with the unregister of the card or queue to trigger the release and

free the object.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00222 · 12.1th percentile
Published
2024-02-27T18:47Z
EPSS history
Timeline
  • 27 FEB 18:47Z
    s390/zcrypt: fix zcard and zqueue hot-unplug memleak
    cvelistv5