smb: client: harden DFS cache against invalid target hints
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel bf86c08123c6ab8c61cc0be1dad7540db93738ff, Kernel 66dbcdbb0cadffd12eb8f2b115fd57d384c5109d, Kernel 6cb7f9fed8f40f28fbd464ca99c946951afc0952 and 8 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=54be1f6c1c37498bba557049df646cc239fa37e3 <bf86c08123c6ab8c61cc0be1dad7540db93738ff, >=54be1f6c1c37498bba557049df646cc239fa37e3 <66dbcdbb0cadffd12eb8f2b115fd57d384c5109d, >=54be1f6c1c37498bba557049df646cc239fa37e3 <6cb7f9fed8f40f28fbd464ca99c946951afc0952, >=54be1f6c1c37498bba557049df646cc239fa37e3 <7e32da6047d9afdae8dd17b87b4c8d97363c4ee2, >=54be1f6c1c37498bba557049df646cc239fa37e3 <846f0709559b9e27024e126a80bc7afb76516912, >=54be1f6c1c37498bba557049df646cc239fa37e3 <a48328afbc3f63e3b9de8827e2e16c15b17976f7, =5.0 | bf86c08123c6ab8c61cc0be1dad7540db93738ff, 66dbcdbb0cadffd12eb8f2b115fd57d384c5109d, 6cb7f9fed8f40f28fbd464ca99c946951afc0952, 7e32da6047d9afdae8dd17b87b4c8d97363c4ee2, 846f0709559b9e27024e126a80bc7afb76516912, a48328afbc3f63e3b9de8827e2e16c15b17976f7 |
| linux-kernel: Kernel | >=6.13.0 <6.18.50, >=6.19.0 <7.2.4, >=6.2.0 <6.6.157, >=6.7.0 <6.12.109, >=5.0.0 <6.1.188 | 6.18.50, 7.2.4, 6.6.157, 6.12.109, 6.1.188 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket