CVE-2025-37899

Summary

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 Software

VendorProductVersion RangeStatus
LinuxLinux0626e6641f6b467447c81dd7678a69c66f7746cf < 931dc8a3670f71c45c0b1379ea4e92dafbda1acaaffected
LinuxLinux0626e6641f6b467447c81dd7678a69c66f7746cf < 70ad6455139e26e85f48f95d0e21f351c1909342affected
LinuxLinux0626e6641f6b467447c81dd7678a69c66f7746cf < d5ec1d79509b3ee01de02c236f096bc050221b7faffected
LinuxLinux0626e6641f6b467447c81dd7678a69c66f7746cf < 02d16046cd11a5c037b28c12ffb818c56dd3ef43affected
LinuxLinux0626e6641f6b467447c81dd7678a69c66f7746cf < 2fc9feff45d92a92cd5f96487655d5be23fb7e2baffected
LinuxLinux5.15affected
LinuxLinux0 < 5.15unaffected
LinuxLinux6.1.159 <= 6.1.*unaffected
LinuxLinux6.6.119 <= 6.6.*unaffected
LinuxLinux6.12.28 <= 6.12.*unaffected
LinuxLinux6.14.6 <= 6.14.*unaffected
LinuxLinux6.15 <= *unaffected

Weaknesses

ADP Enrichment

CVE Program Container

Additional References

References