Linux
ksmbd: fix use-after-free in smb_break_all_levII_oplock()
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix use-after-free in smb_break_all_levII_oplock() There is a room in smb_break_all_levII_oplock that can cause racy issues when unlocking in the middle of the loop. This patch use read lock to protect whole loop.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 296cb5457cc6f4a754c4ae29855f8a253d52bcc6
- >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < d54ab1520d43e95f9b2e22d7a05fc9614192e5a5
- >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < d73686367ad68534257cd88a36ca3c52cb8b81d8
- >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 18b4fac5ef17f77fed9417d22210ceafd6525fc7
Fixed in 296cb5457cc6f4a754c4ae29855f8a253d52bcc6, d54ab1520d43e95f9b2e22d7a05fc9614192e5a5, d73686367ad68534257cd88a36ca3c52cb8b81d8, 18b4fac5ef17f77fed9417d22210ceafd6525fc7
- 5.15
Fixed in 0, 6.6.88, 6.12.25, 6.14.4, 6.15
Mitigation
Upgrade Linux to 296cb5457cc6f4a754c4ae29855f8a253d52bcc6 or d54ab1520d43e95f9b2e22d7a05fc9614192e5a5 or d73686367ad68534257cd88a36ca3c52cb8b81d8 or 18b4fac5ef17f77fed9417d22210ceafd6525fc7 or later.
Upgrade Linux to 0 or 6.6.88 or 6.12.25 or 6.14.4 or 6.15 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.