Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 54be1f6c1c37498bba557049df646cc239fa37e3 before a48328afbc3f63e3b9de8827e2e16c15b17976f7; affected 54be1f6c1c37498bba557049df646cc239fa37e3 before 6cb7f9fed8f40f28fbd464ca99c946951afc0952; affected 54be1f6c1c37498bba557049df646cc239fa37e3 before 66dbcdbb0cadffd12eb8f2b115fd57d384c5109d; affected 54be1f6c1c37498bba557049df646cc239fa37e3 before 846f0709559b9e27024e126a80bc7afb76516912; affected 54be1f6c1c37498bba557049df646cc239fa37e3 before 7e32da6047d9afdae8dd17b87b4c8d97363c4ee2; affected 54be1f6c1c37498bba557049df646cc239fa37e3 before bf86c08123c6ab8c61cc0be1dad7540db93738ff |
| Linux / Linux | affected 5.0; unaffected 0 before 5.0; unaffected 6.1.188 through 6.1.*; unaffected 6.6.157 through 6.6.*; unaffected 6.12.109 through 6.12.*; unaffected 6.18.50 through 6.18.*; unaffected 7.2.4 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
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