Skip to content
CVE PROGRAM SOURCE RECORD7.5 High

CVE-2023-3866

ksmbd: validate session id and tree id in the compound request

Description

In the Linux kernel, the following vulnerability has been resolved: ksmbd: validate session id and tree id in the compound request This patch validate session id and tree id in compound request. If first operation in the compound is SMB2 ECHO request, ksmbd bypass session and tree validation. So work->sess and work->tcon could be NULL. If secound request in the compound access work->sess or tcon, It cause NULL pointer dereferecing error.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 0626e6641f6b467447c81dd7678a69c66f7746cf to < eb947403518ea3d93f6d89264bb1f5416bb0c7d0affected
  • 0626e6641f6b467447c81dd7678a69c66f7746cf to < 854156d12caa9d36de1cf5f084591c7686cc8a9daffected
  • 0626e6641f6b467447c81dd7678a69c66f7746cf to < d1066c1b3663401cd23c0d6e60cdae750ce00c0faffected
  • 0626e6641f6b467447c81dd7678a69c66f7746cf to < 5005bcb4219156f1bf7587b185080ec1da08518eaffected

Linux Linux

Default version status: affected

  • 5.15affected
  • 0 to < 5.15unaffected
  • 5.15.121 to ≤ 5.15.*unaffected
  • 6.1.36 to ≤ 6.1.*unaffected
  • 6.3.10 to ≤ 6.3.*unaffected
  • 6.4 to ≤ *unaffected

References