smb: client: clear ce->tgthint in free_tgts()
- 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
- Exploitation: none
- Automatable: yes
- Technical impact: total
Summary
In the Linux kernel, the following vulnerability has been resolved: smb: client: clear ce->tgthint in free_tgts() When free_tgts() frees all structures in ce->tlist, ce->tgthint is left pointing to one of the freed cache_dfs_tgt structures. If ce->tgthint is not reset before it is used later, it results in a use-after-free. Set ce->tgthint to NULL in free_tgts() after the elements are freed to reflect that no elements remain.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: yes · Technical impact: total
- Record last updated
Affected versions
- Linux Linux
From 54be1f6c1c37498bba557049df646cc239fa37e3 · fixed in 14f60e959b5ac813715ff72e127beb3584ddabf6; From 54be1f6c1c37498bba557049df646cc239fa37e3 · fixed in 3ff9462bb7a06d8d32a1dc02d39580b078ec9e55; From 54be1f6c1c37498bba557049df646cc239fa37e3 · fixed in 7507bd1885643d0461a6017767492450af1ce2a3; From 54be1f6c1c37498bba557049df646cc239fa37e3 · fixed in 9ab46a13798a61d9d020b01d4e57efdabe6624fa; From 54be1f6c1c37498bba557049df646cc239fa37e3 · fixed in 5baab40404a9393bcc0b7b8f1950bf2c307e0984; From 54be1f6c1c37498bba557049df646cc239fa37e3 · fixed in b1b741cf8e7ce1b91d937e23decd3d3358748700
- 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