I found that the function *grub_disk_cache_store* didn't check for
*cache->lock* before free *cache->data*, and didn't set *cache->lock*
before memcpy something to *cache->data*. If multi thread handle with the
same cache at the same time, it will cause a fault. I have created a patch
for it.

Attachment: 0001-Add-check-when-store-disk-cache.patch
Description: Binary data

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to