الرئيسية
الرئيسية
الاتجاهات
الاتجاهات
الثغرات
الثغرات
الأخبار
الأخبار
الباحثون
الباحثون
لماذا dbugs؟
لماذا dbugs؟
الإعدادات

Yewon Choi

#41421من 61,568
7.5إجمالي CVSS
الثغرات · 1
PT-2024-27025
2024-05-21
7.5
CVE-2024-36489
Linux
Linux Kernel
A missing memory barrier in the `tls init` function can cause a NULL dereference in `tls {setsockopt,getsockopt}` due to store-store reordering. This issue can be observed when the `ctx->sk proto` is initialized and the `sk->sk prot` is updated concurrently. The problem arises when the `READ ONCE` and `WRITE ONCE` operations are reordered, allowing the `ctx->sk proto->setsockopt()` function to access a NULL value. To fix this issue, the `rcu assign pointer` function is used to ensure that the `ctx->sk proto` is visible when changing the `sk->sk prot`.