In the Linux kernel, the following vulnerability has been resolved:
dm-verity: correctly handle dm_bufio_client_create() failure
If either of the calls to dm_bufio_client_create() in verity_fec_ctr()
fails, then dm_bufio_client_destroy() is later called with an ERR_PTR()
argument. That causes a crash. Fix this.
A vulnerability in Linux kernel's dm-verity module causes a crash when dm_bufio_client_create() fails, as the error pointer is incorrectly passed to dm_bufio_client_destroy(). The fix ensures proper error handling to prevent kernel crashes during device mapper verity initialization.
تحتوي وحدة dm-verity في نواة Linux على ثغرة في معالجة الأخطاء حيث يتم تمرير مؤشر خطأ (ERR_PTR) إلى دالة dm_bufio_client_destroy() عند فشل استدعاء dm_bufio_client_create(). هذا يسبب انهيار النواة (kernel crash) أثناء تهيئة جهاز mapper verity.
A vulnerability in Linux kernel's dm-verity module causes a crash when dm_bufio_client_create() fails, as the error pointer is incorrectly passed to dm_bufio_client_destroy(). The fix ensures proper error handling to prevent kernel crashes during device mapper verity initialization.
Update the Linux kernel to the patched version that properly checks for error pointers before calling dm_bufio_client_destroy() in the verity_fec_ctr() function. Implement proper error handling to validate dm_bufio_client_create() return values.
قم بتحديث نواة Linux إلى النسخة المصححة التي تتحقق بشكل صحيح من مؤشرات الخطأ قبل استدعاء dm_bufio_client_destroy() في دالة verity_fec_ctr(). تطبيق معالجة الأخطاء الصحيحة للتحقق من قيم إرجاع dm_bufio_client_create().