{"id":"CVE-2026-90107","summary":"net/smc: free pending qentry in smc_llc_flow_stop() before memset","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/smc: free pending qentry in smc_llc_flow_stop() before memset\n\nsmc_llc_flow_stop() resets a flow struct with a blind memset:\n\n\tspin_lock_bh(&lgr-\u003ellc_flow_lock);\n\tmemset(flow, 0, sizeof(*flow));\n\tflow-\u003etype = SMC_LLC_FLOW_NONE;\n\tspin_unlock_bh(&lgr-\u003ellc_flow_lock);\n\nIf flow-\u003eqentry is non-NULL at this point the pointer is overwritten without the\nallocation being freed, leaking one kmalloc object.\n\nA late-arriving duplicate CONFIRM_LINK or ADD_LINK_CONT message can set\nflow-\u003eqentry after the legitimate message has been consumed by the waiter via\nsmc_llc_flow_qentry_clr() (which NULLs the pointer but leaves flow-\u003etype\nnon-zero) but before the flow completes and smc_llc_flow_stop() runs.  In that\nwindow the duplicate is stashed into flow-\u003eqentry, and then lost when\nsmc_llc_flow_stop() zeros the struct.\n\nCall smc_llc_flow_qentry_del() inside the lock before the memset.\nsmc_llc_flow_qentry_del() already checks flow-\u003eqentry before freeing, so the\nnormal case where no entry is pending is a no-op.","modified":"2026-09-19T03:47:24.663752564Z","published":"2026-09-17T16:06:16.157Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90107.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/032aec7d03c9102616b98fea74f8f7145e7f867c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0879ea157acc1ac6752f6fcb755d1f91a2359238"},{"type":"WEB","url":"https://git.kernel.org/stable/c/11bc373ee6630709f0c2da2e7860c23d503c9e9d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5ee0ceddc7785c6dcf4a8107fef01f0414a354f4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5ff429dd6725fa6c1e17a4ed0be8ab675f67a98b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8e3deb150a5237b672c4579e69a6deb02027dbed"},{"type":"WEB","url":"https://git.kernel.org/stable/c/957dba2b8b5aebfe09caa6a6b22b958079082eab"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f03aa5d36ae3c4068a1c3885146be99aa7fd9307"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90107.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90107"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"555da9af827d95134656fa459c8f3ece04dd867a"},{"fixed":"8e3deb150a5237b672c4579e69a6deb02027dbed"},{"fixed":"11bc373ee6630709f0c2da2e7860c23d503c9e9d"},{"fixed":"032aec7d03c9102616b98fea74f8f7145e7f867c"},{"fixed":"957dba2b8b5aebfe09caa6a6b22b958079082eab"},{"fixed":"f03aa5d36ae3c4068a1c3885146be99aa7fd9307"},{"fixed":"0879ea157acc1ac6752f6fcb755d1f91a2359238"},{"fixed":"5ff429dd6725fa6c1e17a4ed0be8ab675f67a98b"},{"fixed":"5ee0ceddc7785c6dcf4a8107fef01f0414a354f4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90107.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.8.0"},{"fixed":"5.10.270"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.221"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.188"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.157"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.110"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.52"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90107.json"}}],"schema_version":"1.9.0"}