CVE-2026-90107

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

State
Published
Severity
Not scored
Published
Sep 17, 2026
Updated
Oct 19, 2026
Reserved
Sep 11, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 555da9af827d95134656fa459c8f3ece04dd867a to before 8e3deb150a5237b672c4579e69a6deb02027dbedAffected
  • 555da9af827d95134656fa459c8f3ece04dd867a to before 11bc373ee6630709f0c2da2e7860c23d503c9e9dAffected
  • 555da9af827d95134656fa459c8f3ece04dd867a to before 032aec7d03c9102616b98fea74f8f7145e7f867cAffected
  • 555da9af827d95134656fa459c8f3ece04dd867a to before 957dba2b8b5aebfe09caa6a6b22b958079082eabAffected
  • 555da9af827d95134656fa459c8f3ece04dd867a to before f03aa5d36ae3c4068a1c3885146be99aa7fd9307Affected
  • 555da9af827d95134656fa459c8f3ece04dd867a to before 0879ea157acc1ac6752f6fcb755d1f91a2359238Affected
  • 555da9af827d95134656fa459c8f3ece04dd867a to before 5ff429dd6725fa6c1e17a4ed0be8ab675f67a98bAffected
  • 555da9af827d95134656fa459c8f3ece04dd867a to before 5ee0ceddc7785c6dcf4a8107fef01f0414a354f4Affected
LinuxLinux
  • 5.8Affected
  • before 5.8Not affected
  • 5.10.270 through 5.10.*Not affected
  • 5.15.221 through 5.15.*Not affected
  • 6.1.188 through 6.1.*Not affected
  • 6.6.157 through 6.6.*Not affected
  • 6.12.110 through 6.12.*Not affected
  • 6.18.52 through 6.18.*Not affected
  • 7.2.6 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.