smb: client: validate DFS referral PathConsumed
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Kernel f6f5ee2aa33b350c671721b965251c42cebb962e, Kernel 285bd4a5f3f156aa5869843b47a1b1380b774241, Kernel 2fdd6d196c656b376cc251e1e9ff110b3ed522e1 and 8 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=4ecce920e13ace16a5ba45efe8909946c28fb2ad <f6f5ee2aa33b350c671721b965251c42cebb962e, >=4ecce920e13ace16a5ba45efe8909946c28fb2ad <285bd4a5f3f156aa5869843b47a1b1380b774241, >=4ecce920e13ace16a5ba45efe8909946c28fb2ad <2fdd6d196c656b376cc251e1e9ff110b3ed522e1, >=4ecce920e13ace16a5ba45efe8909946c28fb2ad <5b439f39f33ec15d319ced3b025e122346fba987, >=4ecce920e13ace16a5ba45efe8909946c28fb2ad <9f88a99ed511651b2dc2177d6854b2d1b8322e75, >=4ecce920e13ace16a5ba45efe8909946c28fb2ad <bfebe5110fd135d86d65a0a346e14c106b02028b, =4.11 | f6f5ee2aa33b350c671721b965251c42cebb962e, 285bd4a5f3f156aa5869843b47a1b1380b774241, 2fdd6d196c656b376cc251e1e9ff110b3ed522e1, 5b439f39f33ec15d319ced3b025e122346fba987, 9f88a99ed511651b2dc2177d6854b2d1b8322e75, bfebe5110fd135d86d65a0a346e14c106b02028b |
| linux-kernel: Kernel | >=6.13.0 <6.18.42, >=6.19.0 <7.1.6, >=6.2.0 <6.6.148, >=6.7.0 <6.12.101, >=4.11.0 <6.1.183 | 6.18.42, 7.1.6, 6.6.148, 6.12.101, 6.1.183 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket