KVM: s390: Take srcu when importing watchpoint data
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 4c05bf21d1806853e662cc19e744736a3408f155, Kernel 6830fbc3724bf49c142aae69a4694f115fa9cedd, Kernel 76f5b4ea9ed0aa5a34bda9d8a878f2c73026ec03 and 3 more.
In the Linux kernel, the following vulnerability has been resolved: KVM: s390: Take srcu when importing watchpoint data __import_wp_info() backs up the original guest memory contents of a watchpoint with read_guest_abs(), which is kvm_read_guest() and therefore resolves the memslot via __kvm_memslots(). That requires kvm->srcu (or kvm->slots_lock) to be held, otherwise a concurrent memslot update can free the memslots array under us once its SRCU grace period has elapsed. As this is not fast path, following lock ordering (mutex first, then srcu) take the big hammer and hold the srcu for the full import.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =3.16, >=27291e2165b6de70c476b7b675308113edd69a60 <4c05bf21d1806853e662cc19e744736a3408f155, >=27291e2165b6de70c476b7b675308113edd69a60 <6830fbc3724bf49c142aae69a4694f115fa9cedd, >=27291e2165b6de70c476b7b675308113edd69a60 <76f5b4ea9ed0aa5a34bda9d8a878f2c73026ec03, >=27291e2165b6de70c476b7b675308113edd69a60 <a4e482def8533ebace517d9f67f1465841b1f982, >=27291e2165b6de70c476b7b675308113edd69a60 <cc710ee45395efb4937e042960f791d33924e5f6, >=27291e2165b6de70c476b7b675308113edd69a60 <f8e3a9997d5ecd56ebe4b262ff424516c068fecb | 4c05bf21d1806853e662cc19e744736a3408f155, 6830fbc3724bf49c142aae69a4694f115fa9cedd, 76f5b4ea9ed0aa5a34bda9d8a878f2c73026ec03, a4e482def8533ebace517d9f67f1465841b1f982, cc710ee45395efb4937e042960f791d33924e5f6, f8e3a9997d5ecd56ebe4b262ff424516c068fecb |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket