{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-143159",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-12-03T03:10:28.355Z",
        "datePublished": "2026-12-03T09:19:59.146Z",
        "dateUpdated": "2026-12-04T03:30:18.300Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-12-04T03:30:18.300Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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->list is empty, so the alert token and alert node\nstay in lgr->conns_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."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H",
                        "baseScore": 8.2,
                        "baseSeverity": "HIGH"
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "AV:N - A remote peer reaches this from smc_listen_work(), blocked in smc_clc_wait_msg() for a CLC CONFIRM on the TCP clcsock. A CLC DECLINE (type 0x04) whose header typev2 has SMC_FIRST_CONTACT_MASK calls smc_lgr_terminate_sched() and then smc_conn_abort(). CLC is carried on that routable TCP connection.\nAC:L - The attacker sends a CLC proposal, waits until the server has created a link group and is blocked in smc_clc_wait_msg() for CONFIRM, then sends the first-contact decline. That unlinks the lgr before smc_conn_free(), so the unregister is skipped on the path the attacker just took.\nPR:N - The decline is handled in smc_clc_wait_msg() from smc_listen_work() before smc_accept_enqueue() and before the listening application sees the socket. That path has no credential check, SMC login, or capability gate.\nUI:N - The attacker opens the TCP connection and sends the CLC proposal and the first-contact DECLINE. smc_listen_work() reaches smc_conn_abort() without the victim application calling accept(), read, or mount.\nS:U - The worker deadlock and the clcsock reset both stay in this host kernel's SMC socket and its TCP socket. They do not cross a guest/host boundary or change security authority.\nC:N - Skipping smc_lgr_unregister_conn() leaves the alert node in lgr->conns_all. The abort then either deadlocks in lock_sock() or tcp_abort()s the fallback clcsock in smc_close_active_abort(). Neither path returns link-group or socket memory to the peer.\nI:L - If terminate_work enters __smc_lgr_terminate() first, it later runs smc_conn_kill() on the connection smc_conn_free() already marked freed, and smc_close_active_abort() calls tcp_abort() on the clcsock after smc_switch_to_fallback(). That resets that one fallback connection.\nA:H - On a new link group, smc_listen_work() still holds lock_sock(&new_smc->sk) when __smc_lgr_terminate() finds the still-registered alert node and calls lock_sock() again. That smc_hs_wq worker deadlocks before smc_listen_out() drops queued_smc_hs, so repeated declines fill the listen backlog."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "net/smc/af_smc.c",
                        "net/smc/smc_core.c",
                        "net/smc/smc_core.h"
                    ],
                    "versions": [
                        {
                            "version": "2a0674fffb6bc1a7c0f46bb2e0b1bcf1d49c2232",
                            "lessThan": "420319c0f4236686cc5e1541636f03535d18146d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "2a0674fffb6bc1a7c0f46bb2e0b1bcf1d49c2232",
                            "lessThan": "1e1ccba5ecef761de3138d485563b06f57b32011",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "2a0674fffb6bc1a7c0f46bb2e0b1bcf1d49c2232",
                            "lessThan": "e227b511582828c5a6513f70fc6a71211e5efbf0",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "net/smc/af_smc.c",
                        "net/smc/smc_core.c",
                        "net/smc/smc_core.h"
                    ],
                    "versions": [
                        {
                            "version": "5.5",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "5.5",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.66",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.7",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc3",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.5",
                                    "versionEndExcluding": "6.18.66"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.5",
                                    "versionEndExcluding": "7.3.7"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.5",
                                    "versionEndExcluding": "7.4-rc3"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/420319c0f4236686cc5e1541636f03535d18146d"
                },
                {
                    "url": "https://git.kernel.org/stable/c/1e1ccba5ecef761de3138d485563b06f57b32011"
                },
                {
                    "url": "https://git.kernel.org/stable/c/e227b511582828c5a6513f70fc6a71211e5efbf0"
                }
            ],
            "title": "net/smc: fix link group ownership in handshake abort",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}