{"id":"CVE-2026-43226","aliases":["CVE-2026-43226"],"related":[],"kind":"vulnerability","state":"published","title":"net/rds: No shortcut out of RDS_CONN_ERROR","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/rds: No shortcut out of RDS_CONN_ERROR\n\nRDS connections carry a state \"rds_conn_path::cp_state\"\nand transitions from one state to another and are conditional\nupon an expected state: \"rds_conn_path_transition.\"\n\nThere is one exception to this conditionality, which is\n\"RDS_CONN_ERROR\" that can be enforced by \"rds_conn_path_drop\"\nregardless of what state the condition is currently in.\n\nBut as soon as a connection enters state \"RDS_CONN_ERROR\",\nthe connection handling code expects it to go through the\nshutdown-path.\n\nThe RDS/TCP multipath changes added a shortcut out of\n\"RDS_CONN_ERROR\" straight back to \"RDS_CONN_CONNECTING\"\nvia \"rds_tcp_accept_one_path\" (e.g. after \"rds_tcp_state_change\").\n\nA subsequent \"rds_tcp_reset_callbacks\" can then transition\nthe state to \"RDS_CONN_RESETTING\" with a shutdown-worker queued.\n\nThat'll trip up \"rds_conn_init_shutdown\", which was\nnever adjusted to handle \"RDS_CONN_RESETTING\" and subsequently\ndrops the connection with the dreaded \"DR_INV_CONN_STATE\",\nwhich leaves \"RDS_SHUTDOWN_WORK_QUEUED\" on forever.\n\nSo we do two things here:\n\na) Don't shortcut \"RDS_CONN_ERROR\", but take the longer\n   path through the shutdown code.\n\nb) Add \"RDS_CONN_RESETTING\" to the expected states in\n  \"rds_conn_init_shutdown\" so that we won't error out\n  and get stuck, if we ever hit weird state transitions\n  like this again.\"","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/rds: No shortcut out of RDS_CONN_ERROR\n\nRDS connections carry a state \"rds_conn_path::cp_state\"\nand transitions from one state to another and are conditional\nupon an expected state: \"rds_conn_path_transition.\"\n\nThere is one exception to this conditionality, which is\n\"RDS_CONN_ERROR\" that can be enforced by \"rds_conn_path_drop\"\nregardless of what state the condition is currently in.\n\nBut as soon as a connection enters state \"RDS_CONN_ERROR\",\nthe connection handling code expects it to go through the\nshutdown-path.\n\nThe RDS/TCP multipath changes added a shortcut out of\n\"RDS_CONN_ERROR\" straight back to \"RDS_CONN_CONNECTING\"\nvia \"rds_tcp_accept_one_path\" (e.g. after \"rds_tcp_state_change\").\n\nA subsequent \"rds_tcp_reset_callbacks\" can then transition\nthe state to \"RDS_CONN_RESETTING\" with a shutdown-worker queued.\n\nThat'll trip up \"rds_conn_init_shutdown\", which was\nnever adjusted to handle \"RDS_CONN_RESETTING\" and subsequently\ndrops the connection with the dreaded \"DR_INV_CONN_STATE\",\nwhich leaves \"RDS_SHUTDOWN_WORK_QUEUED\" on forever.\n\nSo we do two things here:\n\na) Don't shortcut \"RDS_CONN_ERROR\", but take the longer\n   path through the shutdown code.\n\nb) Add \"RDS_CONN_RESETTING\" to the expected states in\n  \"rds_conn_init_shutdown\" so that we won't error out\n  and get stuck, if we ever hit weird state transitions\n  like this again.\"","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nnet/rds: Sin atajo para salir de RDS_CONN_ERROR\n\nLas conexiones RDS llevan un estado ’rds_conn_path::cp_state’ y las transiciones de un estado a otro son condicionales a un estado esperado: ’rds_conn_path_transition’.\n\nHay una excepción a esta condicionalidad, que es ’RDS_CONN_ERROR’ que puede ser forzado por ’rds_conn_path_drop’ independientemente del estado en el que se encuentre actualmente la conexión.\n\nPero tan pronto como una conexión entra en el estado ’RDS_CONN_ERROR’, el código de manejo de la conexión espera que pase por la ruta de apagado.\n\nLos cambios de multipath de RDS/TCP añadieron un atajo para salir de ’RDS_CONN_ERROR’ directamente de vuelta a ’RDS_CONN_CONNECTING’ a través de ’rds_tcp_accept_one_path’ (p. ej., después de ’rds_tcp_state_change’).\n\nUna ’rds_tcp_reset_callbacks’ subsiguiente puede entonces hacer la transición del estado a ’RDS_CONN_RESETTING’ con un trabajador de apagado en cola.\n\nEso hará tropezar a ’rds_conn_init_shutdown’, que nunca fue ajustado para manejar ’RDS_CONN_RESETTING’ y posteriormente descarta la conexión con el temido ’DR_INV_CONN_STATE’, lo que deja ’RDS_SHUTDOWN_WORK_QUEUED’ activado para siempre.\n\nAsí que hacemos dos cosas aquí:\n\na) No atajar ’RDS_CONN_ERROR’, sino tomar la ruta más larga a través del código de apagado.\n\nb) Añadir ’RDS_CONN_RESETTING’ a los estados esperados en ’rds_conn_init_shutdown’ para que no fallemos y nos quedemos atascados, si alguna vez nos encontramos con transiciones de estado extrañas como esta de nuevo.","source":"nvd"}],"published":"2026-05-06T11:28:24.952Z","modified":"2026-11-11T20:10:00.273Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"5916e2c1554f3e36f770401c989c3c7fadf619ca","fixed":"9bcd7c00691a2db9745817d5ea79262a503b135c","status":"affected"},{"type":"git","introduced":"5916e2c1554f3e36f770401c989c3c7fadf619ca","fixed":"a179ac7be8f5a650d0068040705f4cddd6ca369c","status":"affected"},{"type":"git","introduced":"5916e2c1554f3e36f770401c989c3c7fadf619ca","fixed":"19e384a7d00d888303a8285977cdf1970c6cccd6","status":"affected"},{"type":"git","introduced":"5916e2c1554f3e36f770401c989c3c7fadf619ca","fixed":"f0f729bdffb08af32e0f54521b81b8a9e0321f16","status":"affected"},{"type":"git","introduced":"5916e2c1554f3e36f770401c989c3c7fadf619ca","fixed":"81248b1eb3c5954cc1fc7b33b7c03e34d20cb8c8","status":"affected"},{"type":"git","introduced":"5916e2c1554f3e36f770401c989c3c7fadf619ca","fixed":"899ef00963ce76f9fc421a7d02335fe4ead6389b","status":"affected"},{"type":"git","introduced":"5916e2c1554f3e36f770401c989c3c7fadf619ca","fixed":"9ff599a9be784a808c36765086e3db2144aa3b66","status":"affected"},{"type":"git","introduced":"5916e2c1554f3e36f770401c989c3c7fadf619ca","fixed":"ad22d24be635c6beab6a1fdd3f8b1f3c478d15da","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.8","status":"unaffected"},{"type":"semver","introduced":"5.10.252","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.202","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.165","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.128","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.75","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.16","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.6","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":"4.8","fixed":"5.10.252"},{"status":"affected","introduced":"5.11","fixed":"5.15.202"},{"status":"affected","introduced":"5.16","fixed":"6.1.165"},{"status":"affected","introduced":"6.2","fixed":"6.6.128"},{"status":"affected","introduced":"6.7","fixed":"6.12.75"},{"status":"affected","introduced":"6.13","fixed":"6.18.16"},{"status":"affected","introduced":"6.19","fixed":"6.19.6"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/9bcd7c00691a2db9745817d5ea79262a503b135c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a179ac7be8f5a650d0068040705f4cddd6ca369c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/19e384a7d00d888303a8285977cdf1970c6cccd6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f0f729bdffb08af32e0f54521b81b8a9e0321f16","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/81248b1eb3c5954cc1fc7b33b7c03e34d20cb8c8","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/899ef00963ce76f9fc421a7d02335fe4ead6389b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9ff599a9be784a808c36765086e3db2144aa3b66","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ad22d24be635c6beab6a1fdd3f8b1f3c478d15da","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-43226","url":"https://www.cve.org/CVERecord?id=CVE-2026-43226","licence":"CVE Terms of Use","modified":"2026-08-05T12:26:42.896Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-43226","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43226","licence":"Public domain","modified":"2026-11-11T20:10:00.273Z"}],"updatedAt":"2026-11-25T22:59:20.738Z","epss":{"score":0.00523,"percentile":0.45885,"date":"2026-12-01T12:00:22.000Z"}}