Description
In the Linux kernel, the following vulnerability has been resolved: smb: client: harden DFS cache against invalid target hints Currently, get_tgt_name() returns ERR_PTR(-ENOENT) when ce->tgthint is NULL, and dfs_cache_noreq_update_tgthint() assumes ce->tgthint is always valid. In preparation for clearing ce->tgthint in free_tgts(), harden callers of get_tgt_name() against ERR_PTR results and harden dfs_cache_noreq_update_tgthint() against NULL pointer dereferences.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
54be1f6c1c37498bba557049df646cc239fa37e3 to < a48328afbc3f63e3b9de8827e2e16c15b17976f7affected54be1f6c1c37498bba557049df646cc239fa37e3 to < 6cb7f9fed8f40f28fbd464ca99c946951afc0952affected54be1f6c1c37498bba557049df646cc239fa37e3 to < 66dbcdbb0cadffd12eb8f2b115fd57d384c5109daffected54be1f6c1c37498bba557049df646cc239fa37e3 to < 846f0709559b9e27024e126a80bc7afb76516912affected54be1f6c1c37498bba557049df646cc239fa37e3 to < 7e32da6047d9afdae8dd17b87b4c8d97363c4ee2affected54be1f6c1c37498bba557049df646cc239fa37e3 to < bf86c08123c6ab8c61cc0be1dad7540db93738ffaffected
Linux Linux
Default version status: affected
5.0affected0 to < 5.0unaffected6.1.188 to ≤ 6.1.*unaffected6.6.157 to ≤ 6.6.*unaffected6.12.109 to ≤ 6.12.*unaffected6.18.50 to ≤ 6.18.*unaffected7.2.4 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/a48328afbc3f63e3b9de8827e2e16c15b17976f7 ↗
- https://git.kernel.org/stable/c/6cb7f9fed8f40f28fbd464ca99c946951afc0952 ↗
- https://git.kernel.org/stable/c/66dbcdbb0cadffd12eb8f2b115fd57d384c5109d ↗
- https://git.kernel.org/stable/c/846f0709559b9e27024e126a80bc7afb76516912 ↗
- https://git.kernel.org/stable/c/7e32da6047d9afdae8dd17b87b4c8d97363c4ee2 ↗
- https://git.kernel.org/stable/c/bf86c08123c6ab8c61cc0be1dad7540db93738ff ↗