{"id":"CVE-2026-74719","aliases":["CVE-2026-74719"],"related":[],"kind":"vulnerability","state":"published","title":"net/smc: fix qentry overwrite for CONFIRM_LINK and ADD_LINK_CONT in smc_llc_event_handler()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/smc: fix qentry overwrite for CONFIRM_LINK and ADD_LINK_CONT in smc_llc_event_handler()\n\nThe SMC_LLC_CONFIRM_LINK / SMC_LLC_ADD_LINK_CONT branch in\nsmc_llc_event_handler() stores an incoming qentry into the local LLC flow\nwithout first checking whether a qentry is already pending. If a malicious or\nbuggy peer sends a second CONFIRM_LINK or ADD_LINK_CONT request while a flow is\nactive and flow->qentry is already set, smc_llc_flow_qentry_set() overwrites the\npointer without freeing the previous allocation, leaking one kmalloc-96 object\nper spurious message.\n\nThe sibling SMC_LLC_DELETE_LINK branch already has the correct !flow->qentry\nguard. Apply the same guard to the CONFIRM_LINK/ADD_LINK_CONT branch so that a\nduplicate message when qentry is already occupied falls through to break and is\nfreed by the kfree(qentry) at the out: label, rather than silently leaking the\nexisting allocation.\n\nThe response direction (smc_llc_rx_response()) is unaffected: it already guards\nwith flow->qentry at the equivalent site and drops duplicate responses\ncorrectly.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/smc: fix qentry overwrite for CONFIRM_LINK and ADD_LINK_CONT in smc_llc_event_handler()\n\nThe SMC_LLC_CONFIRM_LINK / SMC_LLC_ADD_LINK_CONT branch in\nsmc_llc_event_handler() stores an incoming qentry into the local LLC flow\nwithout first checking whether a qentry is already pending. If a malicious or\nbuggy peer sends a second CONFIRM_LINK or ADD_LINK_CONT request while a flow is\nactive and flow->qentry is already set, smc_llc_flow_qentry_set() overwrites the\npointer without freeing the previous allocation, leaking one kmalloc-96 object\nper spurious message.\n\nThe sibling SMC_LLC_DELETE_LINK branch already has the correct !flow->qentry\nguard. Apply the same guard to the CONFIRM_LINK/ADD_LINK_CONT branch so that a\nduplicate message when qentry is already occupied falls through to break and is\nfreed by the kfree(qentry) at the out: label, rather than silently leaking the\nexisting allocation.\n\nThe response direction (smc_llc_rx_response()) is unaffected: it already guards\nwith flow->qentry at the equivalent site and drops duplicate responses\ncorrectly.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nnet/smc: corrección de sobrescritura de qentry para CONFIRM_LINK y ADD_LINK_CONT en smc_llc_event_handler()\n\nLa rama SMC_LLC_CONFIRM_LINK / SMC_LLC_ADD_LINK_CONT en smc_llc_event_handler() almacena un qentry entrante en el flujo LLC local sin verificar primero si un qentry ya está pendiente. Si un par malicioso o defectuoso envía una segunda solicitud CONFIRM_LINK o ADD_LINK_CONT mientras un flujo está activo y flow -> qentry ya está establecido, smc_llc_flow_qentry_set() sobrescribe el puntero sin liberar la asignación anterior, fugando un objeto kmalloc-96 por mensaje espurio.\n\nLa rama hermana SMC_LLC_DELETE_LINK ya tiene la protección !flow -> qentry correcta. Aplique la misma protección a la rama CONFIRM_LINK/ADD_LINK_CONT para que un mensaje duplicado, cuando qentry ya está ocupado, pase a 'break' y sea liberado por kfree(qentry) en la etiqueta 'out:', en lugar de fugar silenciosamente la asignación existente.\n\nLa dirección de respuesta (smc_llc_rx_response()) no se ve afectada: ya se protege con flow -> qentry en el sitio equivalente y descarta las respuestas duplicadas correctamente.","source":"nvd"}],"published":"2026-08-22T15:33:12.716Z","modified":"2026-10-14T13:10:00.187Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"0fb0b02bd6fd26cba38002be4a6bbcae2228fd44","fixed":"e384f3cba6ea709f5b2272b1770db4ce14047f78","status":"affected"},{"type":"git","introduced":"0fb0b02bd6fd26cba38002be4a6bbcae2228fd44","fixed":"a1e980d7a9e7ee6faf4f5fd7b450413b969af26d","status":"affected"},{"type":"git","introduced":"0fb0b02bd6fd26cba38002be4a6bbcae2228fd44","fixed":"e0eb87677c76b157cdf8eb7c1f19e56227165a33","status":"affected"},{"type":"git","introduced":"0fb0b02bd6fd26cba38002be4a6bbcae2228fd44","fixed":"06734dfeaeba886aab1bf147249195b888ac3e4d","status":"affected"},{"type":"git","introduced":"0fb0b02bd6fd26cba38002be4a6bbcae2228fd44","fixed":"c23c409228629107203d3c3e95fff1473173f1a6","status":"affected"},{"type":"git","introduced":"0fb0b02bd6fd26cba38002be4a6bbcae2228fd44","fixed":"10cb31b2b74cb664c6c95cf72364d7d5c483ab82","status":"affected"},{"type":"git","introduced":"0fb0b02bd6fd26cba38002be4a6bbcae2228fd44","fixed":"bfc336a9fbbf09805f3dfe25c195a4db90af2846","status":"affected"},{"type":"git","introduced":"0fb0b02bd6fd26cba38002be4a6bbcae2228fd44","fixed":"976245094925bab9bc39366b2e9ab44ffcde61d0","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.8","status":"unaffected"},{"type":"semver","introduced":"5.10.265","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.216","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.183","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.152","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.104","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.45","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.9","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/e384f3cba6ea709f5b2272b1770db4ce14047f78","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a1e980d7a9e7ee6faf4f5fd7b450413b969af26d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e0eb87677c76b157cdf8eb7c1f19e56227165a33","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/06734dfeaeba886aab1bf147249195b888ac3e4d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c23c409228629107203d3c3e95fff1473173f1a6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/10cb31b2b74cb664c6c95cf72364d7d5c483ab82","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bfc336a9fbbf09805f3dfe25c195a4db90af2846","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/976245094925bab9bc39366b2e9ab44ffcde61d0","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-74719","url":"https://www.cve.org/CVERecord?id=CVE-2026-74719","licence":"CVE Terms of Use","modified":"2026-08-22T15:33:12.716Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-74719","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74719","licence":"Public domain","modified":"2026-10-14T13:10:00.187Z"}],"updatedAt":"2026-11-25T22:59:34.948Z","epss":{"score":0.00177,"percentile":0.07546,"date":"2026-12-01T12:00:22.000Z"}}