CVE-2024-50086
Linux Linux — ksmbd: fix user-after-free from session log off
Description · from the CVE record
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix user-after-free from session log off There is racy issue between smb2 session log off and smb2 session setup. It will cause user-after-free from session log off. This add session_lock when setting SMB2_SESSION_EXPIRED and referece count to session struct not to free session while it is being used.
Affected
ProductAffectedFixed inSource
Linux0626e6641f6b467447c81dd7678a69c66f7746cf – < 0f62358ce85b2d4c949ef1b648be01b29cec667a0f62358ce85b2d4c949ef1b648be01b29cec667aCNA
Linux0626e6641f6b467447c81dd7678a69c66f7746cf – < a9839c37fd813b432988f58a9d9dd59253d3eb2ca9839c37fd813b432988f58a9d9dd59253d3eb2cCNA
Linux0626e6641f6b467447c81dd7678a69c66f7746cf – < 5511999e9615e4318e9142d23b29bd1597befc085511999e9615e4318e9142d23b29bd1597befc08CNA
Linux0626e6641f6b467447c81dd7678a69c66f7746cf – < ee371898b53a9b9b51c02d22a8c31bfb86d45f0dee371898b53a9b9b51c02d22a8c31bfb86d45f0dCNA
Linux0626e6641f6b467447c81dd7678a69c66f7746cf – < 7aa8804c0b67b3cb263a472d17f2cb50d7f1a9307aa8804c0b67b3cb263a472d17f2cb50d7f1a930CNA
Linux5.155.15.171CNA
Scores by source
Linux (CNA)9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA ADP7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CISA ADPSSVCExploitation: none · Automatable: no · Technical impact: total