{"id":"CVE-2026-43226","summary":"net/rds: No shortcut out of RDS_CONN_ERROR","details":"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.\"","modified":"2026-06-18T03:56:19.413722482Z","published":"2026-05-06T11:28:24.952Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43226.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/19e384a7d00d888303a8285977cdf1970c6cccd6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/81248b1eb3c5954cc1fc7b33b7c03e34d20cb8c8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/899ef00963ce76f9fc421a7d02335fe4ead6389b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9bcd7c00691a2db9745817d5ea79262a503b135c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9ff599a9be784a808c36765086e3db2144aa3b66"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a179ac7be8f5a650d0068040705f4cddd6ca369c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ad22d24be635c6beab6a1fdd3f8b1f3c478d15da"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f0f729bdffb08af32e0f54521b81b8a9e0321f16"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43226.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43226"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"5916e2c1554f3e36f770401c989c3c7fadf619ca"},{"fixed":"9bcd7c00691a2db9745817d5ea79262a503b135c"},{"fixed":"a179ac7be8f5a650d0068040705f4cddd6ca369c"},{"fixed":"19e384a7d00d888303a8285977cdf1970c6cccd6"},{"fixed":"f0f729bdffb08af32e0f54521b81b8a9e0321f16"},{"fixed":"81248b1eb3c5954cc1fc7b33b7c03e34d20cb8c8"},{"fixed":"899ef00963ce76f9fc421a7d02335fe4ead6389b"},{"fixed":"9ff599a9be784a808c36765086e3db2144aa3b66"},{"fixed":"ad22d24be635c6beab6a1fdd3f8b1f3c478d15da"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-43226.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.8.0"},{"fixed":"5.10.252"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.202"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.165"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.128"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.75"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.16"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"6.19.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-43226.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}