smb: client: validate DFS referral PathConsumed
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.1.183, 6.6.148, 6.12.101, 6.18.42, 7.1.6
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: yes
- Technical impact: partial
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: yes · Technical impact: partial
- Record last updated
Affected versions
- Linux Linux
From 4ecce920e13ace16a5ba45efe8909946c28fb2ad · fixed in bfebe5110fd135d86d65a0a346e14c106b02028b; From 4ecce920e13ace16a5ba45efe8909946c28fb2ad · fixed in 5b439f39f33ec15d319ced3b025e122346fba987; From 4ecce920e13ace16a5ba45efe8909946c28fb2ad · fixed in 285bd4a5f3f156aa5869843b47a1b1380b774241; From 4ecce920e13ace16a5ba45efe8909946c28fb2ad · fixed in 2fdd6d196c656b376cc251e1e9ff110b3ed522e1; From 4ecce920e13ace16a5ba45efe8909946c28fb2ad · fixed in 9f88a99ed511651b2dc2177d6854b2d1b8322e75; From 4ecce920e13ace16a5ba45efe8909946c28fb2ad · fixed in f6f5ee2aa33b350c671721b965251c42cebb962e
- Linux Linux
4.11
- KernelLinux
From 4.11.0 · fixed in 6.1.183; From 6.2.0 · fixed in 6.6.148; From 6.7.0 · fixed in 6.12.101; From 6.13.0 · fixed in 6.18.42; From 6.19.0 · fixed in 7.1.6