Skip to content
CVE PROGRAM SOURCE RECORD8.8 High

CVE-2025-37899

ksmbd: fix use-after-free in session logoff

Description

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix use-after-free in session logoff The sess->user object can currently be in use by another thread, for example if another connection has sent a session setup request to bind to the session being free'd. The handler for that connection could be in the smb2_sess_setup function which makes use of sess->user.

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 < 931dc8a3670f71c45c0b1379ea4e92dafbda1acaaffected
  • 0626e6641f6b467447c81dd7678a69c66f7746cf to < 70ad6455139e26e85f48f95d0e21f351c1909342affected
  • 0626e6641f6b467447c81dd7678a69c66f7746cf to < d5ec1d79509b3ee01de02c236f096bc050221b7faffected
  • 0626e6641f6b467447c81dd7678a69c66f7746cf to < 02d16046cd11a5c037b28c12ffb818c56dd3ef43affected
  • 0626e6641f6b467447c81dd7678a69c66f7746cf to < 2fc9feff45d92a92cd5f96487655d5be23fb7e2baffected

Linux Linux

Default version status: affected

  • 5.15affected
  • 0 to < 5.15unaffected
  • 6.1.159 to ≤ 6.1.*unaffected
  • 6.6.119 to ≤ 6.6.*unaffected
  • 6.12.28 to ≤ 6.12.*unaffected
  • 6.14.6 to ≤ 6.14.*unaffected
  • 6.15 to ≤ *unaffected

References