net/smc: fix qentry overwrite for CONFIRM_LINK and ADD_LINK_CONT in smc_llc_event_handler() (Linux Linux)

CVE-2026-74719
Not available

At a glance

Source
NVD
EPSS
EPSS 0.18 % · percentile 7 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

Description

In the Linux kernel, the following vulnerability has been resolved: net/smc: fix qentry overwrite for CONFIRM_LINK and ADD_LINK_CONT in smc_llc_event_handler() The SMC_LLC_CONFIRM_LINK / SMC_LLC_ADD_LINK_CONT branch in smc_llc_event_handler() stores an incoming qentry into the local LLC flow without first checking whether a qentry is already pending. If a malicious or buggy peer sends a second CONFIRM_LINK or ADD_LINK_CONT request while a flow is active and flow->qentry is already set, smc_llc_flow_qentry_set() overwrites the pointer without freeing the previous allocation, leaking one kmalloc-96 object per spurious message. The sibling SMC_LLC_DELETE_LINK branch already has the correct !flow->qentry guard. Apply the same guard to the CONFIRM_LINK/ADD_LINK_CONT branch so that a duplicate message when qentry is already occupied falls through to break and is freed by the kfree(qentry) at the out: label, rather than silently leaking the existing allocation. The response direction (smc_llc_rx_response()) is unaffected: it already guards with flow->qentry at the equivalent site and drops duplicate responses correctly.

References

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected 0fb0b02bd6fd26cba38002be4a6bbcae2228fd44 < e384f3cba6ea709f5b2272b1770db4ce14047f78 ; affected 0fb0b02bd6fd26cba38002be4a6bbcae2228fd44 < a1e980d7a9e7ee6faf4f5fd7b450413b969af26d ; affected 0fb0b02bd6fd26cba38002be4a6bbcae2228fd44 < e0eb87677c76b157cdf8eb7c1f19e56227165a33 ; affected 0fb0b02bd6fd26cba38002be4a6bbcae2228fd44 < 06734dfeaeba886aab1bf147249195b888ac3e4d ; affected 0fb0b02bd6fd26cba38002be4a6bbcae2228fd44 < c23c409228629107203d3c3e95fff1473173f1a6 ; affected 0fb0b02bd6fd26cba38002be4a6bbcae2228fd44 < 10cb31b2b74cb664c6c95cf72364d7d5c483ab82
Linux · Linuxaffected 5.8 ; unaffected 0 < 5.8 ; unaffected 5.10.265 ≤ 5.10.* ; unaffected 5.15.216 ≤ 5.15.* ; unaffected 6.1.183 ≤ 6.1.* ; unaffected 6.6.152 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD