{"id":"CVE-2026-31493","aliases":["CVE-2026-31493"],"related":[],"kind":"vulnerability","state":"published","title":"RDMA/efa: Fix use of completion ctx after free","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/efa: Fix use of completion ctx after free\n\nOn admin queue completion handling, if the admin command completed with\nerror we print data from the completion context. The issue is that we\nalready freed the completion context in polling/interrupts handler which\nmeans we print data from context in an unknown state (it might be\nalready used again).\nChange the admin submission flow so alloc/dealloc of the context will be\nsymmetric and dealloc will be called after any potential use of the\ncontext.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/efa: Fix use of completion ctx after free\n\nOn admin queue completion handling, if the admin command completed with\nerror we print data from the completion context. The issue is that we\nalready freed the completion context in polling/interrupts handler which\nmeans we print data from context in an unknown state (it might be\nalready used again).\nChange the admin submission flow so alloc/dealloc of the context will be\nsymmetric and dealloc will be called after any potential use of the\ncontext.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nRDMA/efa: Corregir el uso del contexto de finalización después de la liberación\n\nEn el manejo de la finalización de la cola de administración, si el comando de administración finalizó con error, imprimimos datos del contexto de finalización. El problema es que ya liberamos el contexto de finalización en el gestor de sondeo/interrupciones, lo que significa que imprimimos datos del contexto en un estado desconocido (podría estar ya siendo usado de nuevo).\nCambiar el flujo de envío de administración para que la asignación/desasignación del contexto sea simétrica y la desasignación se llame después de cualquier uso potencial del contexto.","source":"nvd"}],"published":"2026-04-22T13:54:16.255Z","modified":"2026-11-11T23:10:00.263Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"68fb9f3e312a36e49fd05ec2d6b668daf2c4931a","fixed":"8c24b5179af260a5f36571c992d29aab1f448544","status":"affected"},{"type":"git","introduced":"68fb9f3e312a36e49fd05ec2d6b668daf2c4931a","fixed":"7ba09d85f177e9f5f64b881f33dbcb57b2cf23d5","status":"affected"},{"type":"git","introduced":"68fb9f3e312a36e49fd05ec2d6b668daf2c4931a","fixed":"0dd98aea1c0c45987fa2dd92f988b0eb1a72c125","status":"affected"},{"type":"git","introduced":"68fb9f3e312a36e49fd05ec2d6b668daf2c4931a","fixed":"1cf95fe5dc5471efea947b4c6f8913da6bc7976e","status":"affected"},{"type":"git","introduced":"68fb9f3e312a36e49fd05ec2d6b668daf2c4931a","fixed":"ef3b06742c8a201d0e83edc9a33a89a4fe3009f8","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.12","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.114","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.21","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.11","lastAffected":"6.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.12.1","fixed":"6.18.21"},{"status":"affected","introduced":"6.19","fixed":"6.19.11"},{"status":"affected","version":"5.12"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/8c24b5179af260a5f36571c992d29aab1f448544","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7ba09d85f177e9f5f64b881f33dbcb57b2cf23d5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0dd98aea1c0c45987fa2dd92f988b0eb1a72c125","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1cf95fe5dc5471efea947b4c6f8913da6bc7976e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ef3b06742c8a201d0e83edc9a33a89a4fe3009f8","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-05T21:35:16.910Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-31493","url":"https://www.cve.org/CVERecord?id=CVE-2026-31493","licence":"CVE Terms of Use","modified":"2026-11-05T21:45:02.286Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-31493","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31493","licence":"Public domain","modified":"2026-11-11T23:10:00.263Z"}],"updatedAt":"2026-11-25T22:59:19.291Z","epss":{"score":0.0017,"percentile":0.06622,"date":"2026-12-01T12:00:22.000Z"}}