smb: client: harden DFS cache against invalid target hints
- 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.188, 6.6.157, 6.12.109, 6.18.50, 7.2.4
- 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
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 54be1f6c1c37498bba557049df646cc239fa37e3 · fixed in a48328afbc3f63e3b9de8827e2e16c15b17976f7; From 54be1f6c1c37498bba557049df646cc239fa37e3 · fixed in 6cb7f9fed8f40f28fbd464ca99c946951afc0952; From 54be1f6c1c37498bba557049df646cc239fa37e3 · fixed in 66dbcdbb0cadffd12eb8f2b115fd57d384c5109d; From 54be1f6c1c37498bba557049df646cc239fa37e3 · fixed in 846f0709559b9e27024e126a80bc7afb76516912; From 54be1f6c1c37498bba557049df646cc239fa37e3 · fixed in 7e32da6047d9afdae8dd17b87b4c8d97363c4ee2; From 54be1f6c1c37498bba557049df646cc239fa37e3 · fixed in bf86c08123c6ab8c61cc0be1dad7540db93738ff
- Linux Linux
5.0
- KernelLinux
From 5.0.0 · fixed in 6.1.188; From 6.2.0 · fixed in 6.6.157; From 6.7.0 · fixed in 6.12.109; From 6.13.0 · fixed in 6.18.50; From 6.19.0 · fixed in 7.2.4