Wind River Support Network

HomeDefectsLIN1021-7570
Not to be fixed

LIN1021-7570 : Security Advisory - linux - CVE-2023-52480

Created: Feb 29, 2024    Updated: Apr 4, 2024
Resolved Date: Apr 4, 2024
Found In Version: 10.21.20.1
Severity: Standard
Applicable for: Wind River Linux LTS 21
Component/s: Kernel

Description

In the Linux kernel, the following vulnerability has been resolved:

ksmbd: fix race condition between session lookup and expire

 Thread A                        +  Thread B
 ksmbd_session_lookup            |  smb2_sess_setup
   sess = xa_load                |
                                 |
                                 |    xa_erase(&conn->sessions, sess->id);
                                 |
                                 |    ksmbd_session_destroy(sess) --> kfree(sess)
                                 |
   // UAF!                       |
   sess->last_active = jiffies   |
                                 +

This patch add rwsem to fix race condition between ksmbd_session_lookup
and ksmbd_expire_session.

CREATE(Triage):(User=admin) CVE-2023-52480 (https://nvd.nist.gov/vuln/detail/CVE-2023-52480)
Live chat
Online