s390/zcrypt: fix zcard and zqueue hot-unplug memleak
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 026499a9c2e002e621ad568d1378324ae97e5524, Kernel 055a063a18bcd19b93709e3eac8078d6b2f04599, Kernel 70fac8088cfad9f3b379c9082832b4d7532c16c2 and 1 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =5.10, >=29c2680fd2bf3862ff5cf2957f198512493156f9 <026499a9c2e002e621ad568d1378324ae97e5524, >=29c2680fd2bf3862ff5cf2957f198512493156f9 <055a063a18bcd19b93709e3eac8078d6b2f04599, >=29c2680fd2bf3862ff5cf2957f198512493156f9 <70fac8088cfad9f3b379c9082832b4d7532c16c2, >=29c2680fd2bf3862ff5cf2957f198512493156f9 <971dc8706cee47393d393905d294ea47e39503d3 | 026499a9c2e002e621ad568d1378324ae97e5524, 055a063a18bcd19b93709e3eac8078d6b2f04599, 70fac8088cfad9f3b379c9082832b4d7532c16c2, 971dc8706cee47393d393905d294ea47e39503d3 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket