net/smc: fix UAF on lgr list traversal in smcr_port_err()
- 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 5.15.222, 6.1.189, 6.6.158, 6.12.112, 6.18.55, and 1 more
- 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: net/smc: fix UAF on lgr list traversal in smcr_port_err() smcr_port_err() traverses smc_lgr_list.list without holding smc_lgr_list.lock, allowing a concurrent smc_lgr_terminate_sched() to free an lgr while it is still being dereferenced. Hold smc_lgr_list.lock across the traversal. Update smc_ib_gid_check() to call smcr_port_err() after releasing the lock.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 541afa10c126b6c22c2a805a559c70cc41fd156e · fixed in 34bcf11cd2528ae00bb6d764d808083c66824277; From 541afa10c126b6c22c2a805a559c70cc41fd156e · fixed in 0edcc4284392b28826b5d37532b366b291e6e0fa; From 541afa10c126b6c22c2a805a559c70cc41fd156e · fixed in 00a59600ae72d24859d0ad1783a78bc921bc2599; From 541afa10c126b6c22c2a805a559c70cc41fd156e · fixed in 3d35f069e1c119992000d51236dbe54da2d4e61e; From 541afa10c126b6c22c2a805a559c70cc41fd156e · fixed in 3d65a2eb4449fc9658fb860dea893025d028d90e; From 541afa10c126b6c22c2a805a559c70cc41fd156e · fixed in a9b968e42690d784c241a0761c10253271f7df5d; From 541afa10c126b6c22c2a805a559c70cc41fd156e · fixed in 61cb282fe97b3b0ba32ca09417a693162bf4ae3f
- Linux Linux
5.8
- KernelLinux
From 5.8.0 · fixed in 5.15.222; From 5.16.0 · fixed in 6.1.189; From 6.2.0 · fixed in 6.6.158; From 6.7.0 · fixed in 6.12.112; From 6.13.0 · fixed in 6.18.55; From 6.19.0 · fixed in 7.2.9
References 7
git.kernel.org
- stable/c/34bcf11cd2528ae00bb6d764d808083c66824277
- stable/c/0edcc4284392b28826b5d37532b366b291e6e0fa
- stable/c/00a59600ae72d24859d0ad1783a78bc921bc2599
- stable/c/3d35f069e1c119992000d51236dbe54da2d4e61e
- stable/c/3d65a2eb4449fc9658fb860dea893025d028d90e
- stable/c/a9b968e42690d784c241a0761c10253271f7df5d
- stable/c/61cb282fe97b3b0ba32ca09417a693162bf4ae3f