Linux
ksmbd: fix use-after-free in smb2_lock
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix use-after-free in smb2_lock If smb_lock->zero_len has value, ->llist of smb_lock is not delete and flock is old one. It will cause use-after-free on error handling routine.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 410ce35a2ed6d0e114132bba29af49b69880c8c7
- >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 8573571060ca466cbef2c6f03306b2cc7b883506
- >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < a0609097fd10d618aed4864038393dd75131289e
- >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 636e021646cf9b52ddfea7c809b018e91f2188cb
- >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 84d2d1641b71dec326e8736a749b7ee76a9599fc
Fixed in 410ce35a2ed6d0e114132bba29af49b69880c8c7, 8573571060ca466cbef2c6f03306b2cc7b883506, a0609097fd10d618aed4864038393dd75131289e, 636e021646cf9b52ddfea7c809b018e91f2188cb, 84d2d1641b71dec326e8736a749b7ee76a9599fc
- 5.15
Fixed in 0, 6.1.131, 6.6.83, 6.12.19, 6.13.7, 6.14
Mitigation
Upgrade Linux to 410ce35a2ed6d0e114132bba29af49b69880c8c7 or 8573571060ca466cbef2c6f03306b2cc7b883506 or a0609097fd10d618aed4864038393dd75131289e or 636e021646cf9b52ddfea7c809b018e91f2188cb or 84d2d1641b71dec326e8736a749b7ee76a9599fc or later.
Upgrade Linux to 0 or 6.1.131 or 6.6.83 or 6.12.19 or 6.13.7 or 6.14 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.