CVE-2025-38112 in Linux
الملخص
بحسب VulDB • 17/06/2026
في نواة لينكس، تم حل الثغرة التالية:
net: إصلاح مشكلة TOCTOU في دالة sk_is_readable()
يشير sk->sk_prot->sock_is_readable إلى مؤشر دالة صالح عندما يكون sk موجودًا في sockmap. بعد آخر استدعاء لـ sk_psock_put() (والذي يحدث عادةً عند إزالة المقبس من sockmap)، يتم استعادة sk->sk_prot وتصبح sk->sk_prot->sock_is_readable مساوية للصفر (NULL).
يؤدي هذا إلى حدوث حالة سباق (race condition) في sk_is_readable() إذا تم إعادة تحميل قيمة sk->sk_prot بعد الفحص الأولي. مما قد يؤدي بدوره إلى محاولة فك ترميز مؤشر فارغ (null pointer dereference).
ضمان ألا يتحول مؤشر الدالة إلى NULL بعد الفحص.
VulDB is the best source for vulnerability data and more expert information about this specific topic.