# CVE-2026-90107: net/smc: free pending qentry in smc_llc_flow_stop() before memset

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 12% of CVEs (2026-12-02)
- Published: 2026-09-17T16:06:16.157Z
- Modified: 2026-10-19T09:19:00.003Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

net/smc: free pending qentry in smc_llc_flow_stop() before memset

smc_llc_flow_stop() resets a flow struct with a blind memset:

	spin_lock_bh(&lgr->llc_flow_lock);
	memset(flow, 0, sizeof(*flow));
	flow->type = SMC_LLC_FLOW_NONE;
	spin_unlock_bh(&lgr->llc_flow_lock);

If flow->qentry is non-NULL at this point the pointer is overwritten without the
allocation being freed, leaking one kmalloc object.

A late-arriving duplicate CONFIRM_LINK or ADD_LINK_CONT message can set
flow->qentry after the legitimate message has been consumed by the waiter via
smc_llc_flow_qentry_clr() (which NULLs the pointer but leaves flow->type
non-zero) but before the flow completes and smc_llc_flow_stop() runs.  In that
window the duplicate is stashed into flow->qentry, and then lost when
smc_llc_flow_stop() zeros the struct.

Call smc_llc_flow_qentry_del() inside the lock before the memset.
smc_llc_flow_qentry_del() already checks flow->qentry before freeing, so the
normal case where no entry is pending is a no-op.

(As written by CVE List.)

## Affected

- Linux Linux: from 555da9af827d95134656fa459c8f3ece04dd867a before 8e3deb150a5237b672c4579e69a6deb02027dbed; from 555da9af827d95134656fa459c8f3ece04dd867a before 11bc373ee6630709f0c2da2e7860c23d503c9e9d; from 555da9af827d95134656fa459c8f3ece04dd867a before 032aec7d03c9102616b98fea74f8f7145e7f867c; from 555da9af827d95134656fa459c8f3ece04dd867a before 957dba2b8b5aebfe09caa6a6b22b958079082eab; from 555da9af827d95134656fa459c8f3ece04dd867a before f03aa5d36ae3c4068a1c3885146be99aa7fd9307; from 555da9af827d95134656fa459c8f3ece04dd867a before 0879ea157acc1ac6752f6fcb755d1f91a2359238; from 555da9af827d95134656fa459c8f3ece04dd867a before 5ff429dd6725fa6c1e17a4ed0be8ab675f67a98b; from 555da9af827d95134656fa459c8f3ece04dd867a before 5ee0ceddc7785c6dcf4a8107fef01f0414a354f4; 5.8 (not affected: before 5.8; from 5.10.270 up to 5.10.*; from 5.15.221 up to 5.15.*; from 6.1.188 up to 6.1.*; from 6.6.157 up to 6.6.*; from 6.12.110 up to 6.12.*; from 6.18.52 up to 6.18.*; from 7.2.6 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/8e3deb150a5237b672c4579e69a6deb02027dbed>
- <https://git.kernel.org/stable/c/11bc373ee6630709f0c2da2e7860c23d503c9e9d>
- <https://git.kernel.org/stable/c/032aec7d03c9102616b98fea74f8f7145e7f867c>
- <https://git.kernel.org/stable/c/957dba2b8b5aebfe09caa6a6b22b958079082eab>
- <https://git.kernel.org/stable/c/f03aa5d36ae3c4068a1c3885146be99aa7fd9307>
- <https://git.kernel.org/stable/c/0879ea157acc1ac6752f6fcb755d1f91a2359238>
- <https://git.kernel.org/stable/c/5ff429dd6725fa6c1e17a4ed0be8ab675f67a98b>
- <https://git.kernel.org/stable/c/5ee0ceddc7785c6dcf4a8107fef01f0414a354f4>

## Sources

- CVE List: [CVE-2026-90107](https://www.cve.org/CVERecord?id=CVE-2026-90107), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-90107](https://nvd.nist.gov/vuln/detail/CVE-2026-90107), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-90107 · Whole record: https://cve.day/CVE-2026-90107.json · Rebuilt by cve.day 2026-11-25T22:59:39.305Z
