{"id":"AZL-118226","summary":"CVE-2026-143159 affecting package kernel 6.6.161.1-1","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/smc: fix link group ownership in handshake abort\n\nAn aborted first-contact handshake can hang the handshake worker on the\nsocket lock it already holds, reset the clcsock of a socket that has\nfallen back to TCP, or corrupt the alert-node lookup when the handshake\nretries with the same connection.\n\nThe abort leaves a connection registered in a link group that another\ncontext has already unlinked for termination: smc_conn_free() skips the\nunregister when lgr-\u003elist is empty, so the alert token and alert node\nstay in lgr-\u003econns_all. If the handshake retries another device or SMC\nversion, smc_conn_create() creates a second link group and\nsmc_lgr_register_conn() inserts the same alert node into it: the token\nloop is skipped, rb_link_node() links a node that is still in the old\ntree into the new one, and a second sock_hold() is taken where only one\nsock_put() will follow. The old group's terminator then keeps returning\nthat node from rb_first() and can kill a connection that now belongs to\nthe new group.\n\nsmc_lgr_cleanup_early() also starts a second termination of the link\ngroup that is already being terminated, which takes lock_sock() on the\nsocket the handshake worker holds; if the termination work wins the race\ninstead, it later kills the freed connection and aborts the clcsock of a\nsocket that has fallen back to TCP. Making the unregister unconditional\nalso lets smc_conn_free() reach the delayed free work on a claimed link\ngroup, where the lockless freeing check can arm it after the owner has\ncancelled it.\n\nAlways unregister the connection, claim a link group for termination\nonce under lgr_lock, keep the link group alive across the abort, and arm\nthe delayed free work only under the same lock and cancel it\nsynchronously before the teardown. Drop an already freed connection in\nsmc_conn_kill() without running the connection and socket teardown.","modified":"2026-12-04T14:18:40.137825Z","published":"2026-12-03T10:17:50Z","upstream":["CVE-2026-143159"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143159"}],"affected":[{"package":{"name":"kernel","ecosystem":"Azure Linux:3","purl":"pkg:rpm/azure-linux/kernel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"6.6.161.1-1"}]}],"database_specific":{"source":"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-118226.json"}}],"schema_version":"1.9.2"}