{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-99212","id":"CVE-2026-99212","title":"Linux kernel use-after-free in RDS RDMA route failure handling","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/rds: don't let the rdma_cm destroy an id RDS still owns on route failure\n\nrds_rdma_cm_event_handler_cmn() hands the return value of\nrdma_resolve_route() straight back to the rdma_cm on\nRDMA_CM_EVENT_ADDR_RESOLVED.  A synchronous failure there - -ENOMEM\nfrom the route work allocation, an SA query that cannot be set up, a\nRoCE ","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/rds: don't let the rdma_cm destroy an id RDS still owns on route failure\n\nrds_rdma_cm_event_handler_cmn() hands the return value of\nrdma_resolve_route() straight back to the rdma_cm on\nRDMA_CM_EVENT_ADDR_RESOLVED.  A synchronous failure there - -ENOMEM\nfrom the route work allocation, an SA query that cannot be set up, a\nRoCE route with no usable device - makes addr_handler() destroy the\nid the event was delivered on.  That id is ic->i_cm_id, and nothing\nclears the pointer: the connection sits in RDS_CONN_CONNECTING with a\nfreed id until its shutdown calls rdma_disconnect() and\nrdma_destroy_id() on it.\n\nThe ROUTE_RESOLVED case already avoids this: rds_ib_cm_initiate_connect()\nforces a zero return while ic->i_cm_id == cm_id, as the comment there\nexplains.  Do the same here - drop the connection and return 0 - so\nthe id stays RDS's to destroy from the shutdown, and the reconnect\ngets a fresh one.","published":"2026-10-28T10:36:05.612Z","updated":"2026-11-02T02:30:45.371071329Z","reserved":"2026-09-25T10:25:14.401Z","status":"Received","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"55b7ed0b582f9ff4bf3b9b44969cddda8c6763ea","lessThan":"664fd3205cbec71ac52c005ee705cd917bb6fb1a","status":"affected","versionType":"git"},{"version":"55b7ed0b582f9ff4bf3b9b44969cddda8c6763ea","lessThan":"b8f141f65885810e24fc23b8a71692db62d535bf","status":"affected","versionType":"git"},{"version":"55b7ed0b582f9ff4bf3b9b44969cddda8c6763ea","lessThan":"e677eda15df7d5ce256654343418043c7ffd6f9b","status":"affected","versionType":"git"},{"version":"55b7ed0b582f9ff4bf3b9b44969cddda8c6763ea","lessThan":"92143c5d80382588d5a3047a4f14023ee9ef6485","status":"affected","versionType":"git"},{"version":"55b7ed0b582f9ff4bf3b9b44969cddda8c6763ea","lessThan":"a7c7d0ff876377fea7ae876a28d6df8d9349df57","status":"affected","versionType":"git"},{"version":"55b7ed0b582f9ff4bf3b9b44969cddda8c6763ea","lessThan":"91ece3efa064f0b3b3c67b9b045d9eeb4a034e43","status":"affected","versionType":"git"},{"version":"55b7ed0b582f9ff4bf3b9b44969cddda8c6763ea","lessThan":"98d446b7c013254a8a7b49720557676a3a851fde","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.30","status":"affected"},{"version":"0","lessThan":"2.6.30","status":"unaffected","versionType":"semver"},{"version":"5.15.224","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.191","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.161","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.115","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.59","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.2.13","lessThanOrEqual":"7.2.*","status":"unaffected","versionType":"semver"},{"version":"7.3","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/664fd3205cbec71ac52c005ee705cd917bb6fb1a","tags":["web"]},{"url":"https://git.kernel.org/stable/c/b8f141f65885810e24fc23b8a71692db62d535bf","tags":["web"]},{"url":"https://git.kernel.org/stable/c/e677eda15df7d5ce256654343418043c7ffd6f9b","tags":["web"]},{"url":"https://git.kernel.org/stable/c/92143c5d80382588d5a3047a4f14023ee9ef6485","tags":["web"]},{"url":"https://git.kernel.org/stable/c/a7c7d0ff876377fea7ae876a28d6df8d9349df57","tags":["web"]},{"url":"https://git.kernel.org/stable/c/91ece3efa064f0b3b3c67b9b045d9eeb4a034e43","tags":["web"]},{"url":"https://git.kernel.org/stable/c/98d446b7c013254a8a7b49720557676a3a851fde","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99212.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99212","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00118,"epssPercentile":0.0176,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-99212","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99212","ok":true,"note":"Received"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-99212","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-99212","ok":true,"note":"scored 2026-11-19"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}