In the Linux kernel, the following vulnerability has been resolved:
staging: rtl8723bs: fix memory leak on failure path
cfg80211_inform_bss_frame() may return NULL on failure. In that case,
the allocated buffer 'buf' is not freed and the function returns early,
leading to potential memory leak.
Fix this by ensuring that 'buf' is freed on both success and failure paths.
A memory leak vulnerability exists in the Linux kernel's rtl8723bs staging driver where allocated buffer 'buf' is not freed when cfg80211_inform_bss_frame() fails. This could lead to memory exhaustion and denial of service on systems using this WiFi driver.
يحدث تسرب الذاكرة في برنامج تشغيل WiFi rtl8723bs عندما تفشل دالة cfg80211_inform_bss_frame في إرجاع قيمة صحيحة. المخزن المؤقت المخصص لا يتم تحريره في مسار الفشل مما يؤدي إلى استنزاف موارد النظام. الإصلاح يضمن تحرير الذاكرة في جميع المسارات الممكنة.
ذاكرة تسرب في برنامج تشغيل rtl8723bs في نواة لينكس حيث لا يتم تحرير المخزن المؤقت عند فشل الدالة. قد يؤدي هذا إلى استنزاف الذاكرة وحرمان الخدمة على الأنظمة التي تستخدم هذا برنامج التشغيل.
Update the Linux kernel to the latest patched version that includes the fix for rtl8723bs memory leak. Ensure proper buffer deallocation in both success and failure paths of cfg80211_inform_bss_frame() calls. Apply kernel security patches immediately.
قم بتحديث نواة لينكس إلى أحدث إصدار يتضمن إصلاح تسرب الذاكرة في rtl8723bs. تأكد من تحرير المخزن المؤقت بشكل صحيح في مسارات النجاح والفشل. طبق تصحيحات أمان النواة فوراً.