smb: client: clear ce->tgthint in free_tgts()
28Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 9.8epss 0.7%
exploitation probability
0.7%top 50% of all CVEs
observed exploitation
nono source reports it
In the Linux kernel, the following vulnerability has been resolved:
smb: client: clear ce->tgthint in free_tgts()
When free_tgts() frees all structures in ce->tlist, ce->tgthint
is left pointing to one of the freed cache_dfs_tgt structures.
If ce->tgthint is not reset before it is used later, it results
in a use-after-free.
Set ce->tgthint to NULL in free_tgts() after the elements are
freed to reflect that no elements remain.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
Linux · LinuxReferences
https://git.kernel.org/stable/c/14f60e959b5ac813715ff72e127beb3584ddabf6https://git.kernel.org/stable/c/3ff9462bb7a06d8d32a1dc02d39580b078ec9e55https://git.kernel.org/stable/c/5baab40404a9393bcc0b7b8f1950bf2c307e0984https://git.kernel.org/stable/c/7507bd1885643d0461a6017767492450af1ce2a3https://git.kernel.org/stable/c/9ab46a13798a61d9d020b01d4e57efdabe6624fahttps://git.kernel.org/stable/c/b1b741cf8e7ce1b91d937e23decd3d3358748700