Description
In the Linux kernel, the following vulnerability has been resolved: smb: client: validate DFS referral PathConsumed parse_dfs_referrals() validates that the response contains the fixed referral entry array and, on for-next, the per-referral string offsets. However, the response also contains a PathConsumed value that is later used for DFS path parsing. If a malformed response provides a PathConsumed value larger than the search name, later DFS parsing can advance beyond the end of the path. Validate PathConsumed against the search name length before storing it in the parsed referral.
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
4ecce920e13ace16a5ba45efe8909946c28fb2ad to < bfebe5110fd135d86d65a0a346e14c106b02028baffected4ecce920e13ace16a5ba45efe8909946c28fb2ad to < 5b439f39f33ec15d319ced3b025e122346fba987affected4ecce920e13ace16a5ba45efe8909946c28fb2ad to < 285bd4a5f3f156aa5869843b47a1b1380b774241affected4ecce920e13ace16a5ba45efe8909946c28fb2ad to < 2fdd6d196c656b376cc251e1e9ff110b3ed522e1affected4ecce920e13ace16a5ba45efe8909946c28fb2ad to < 9f88a99ed511651b2dc2177d6854b2d1b8322e75affected4ecce920e13ace16a5ba45efe8909946c28fb2ad to < f6f5ee2aa33b350c671721b965251c42cebb962eaffected
Linux Linux
Default version status: affected
4.11affected0 to < 4.11unaffected6.1.183 to ≤ 6.1.*unaffected6.6.148 to ≤ 6.6.*unaffected6.12.101 to ≤ 6.12.*unaffected6.18.42 to ≤ 6.18.*unaffected7.1.6 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/bfebe5110fd135d86d65a0a346e14c106b02028b ↗
- https://git.kernel.org/stable/c/5b439f39f33ec15d319ced3b025e122346fba987 ↗
- https://git.kernel.org/stable/c/285bd4a5f3f156aa5869843b47a1b1380b774241 ↗
- https://git.kernel.org/stable/c/2fdd6d196c656b376cc251e1e9ff110b3ed522e1 ↗
- https://git.kernel.org/stable/c/9f88a99ed511651b2dc2177d6854b2d1b8322e75 ↗
- https://git.kernel.org/stable/c/f6f5ee2aa33b350c671721b965251c42cebb962e ↗