{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-143254",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-12-03T03:10:28.362Z",
        "datePublished": "2026-12-03T09:21:02.101Z",
        "dateUpdated": "2026-12-04T03:31:51.550Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-12-04T03:31:51.550Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ncalipso: do not charge request socket options to the listener\n\ncalipso_req_setattr() and calipso_req_delattr() allocate ireq->ipv6_opt\nwith ipv6_renew_options(), which charges the listener sk_omem_alloc\nthrough sock_kmalloc().\n\ntcp_v6_reqsk_destructor() frees ireq->ipv6_opt without uncharging it,\nso each request socket leaks its options size from the listener\nbudget. Once sysctl_optmem_max is reached, sock_kmalloc() fails,\ncalipso_req_setattr() returns -ENOBUFS, and tcp_v6_route_req() drops\nall subsequent SYN packets. __sk_destruct() also reports an optmem\nleakage when the listener is destroyed.\n\nUncharging in tcp_v6_reqsk_destructor() would not be correct: after a\nmigration, req->rsk_listener is no longer the socket that was charged.\n\nThese options belong to the request socket, there is no reason to\ncharge them to the listener. Change ipv6_renew_options() to use\nkmalloc() when its sk argument is NULL, and use this from\ncalipso_req_setattr() and calipso_req_delattr(),\nlike cipso_v4_req_setattr() which uses kzalloc().\n\nNote:\n\nAfter this patch, calipso_req_setattr() and calipso_req_delattr()\nno longer need the listener. Commit 10876da918fa (\"calipso: Fix\nnull-ptr-deref in calipso_req_{set,del}attr().\") could be reverted\nin net-next (also removing the then unused sk variables), so that\nCALIPSO works with SYN cookies."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                        "baseScore": 7.5,
                        "baseSeverity": "HIGH"
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "AV:N - A remote IPv6 TCP SYN reaches calipso_req_setattr() through tcp_v6_rcv(), tcp_v6_do_rcv(), tcp_rcv_state_process(), tcp_v6_conn_request(), tcp_v6_route_req(), and selinux_netlbl_inet_conn_request() when netlbl_domhsh_getentry_af6() selects CALIPSO. The SYN is not malformed; once the listener sk_omem_alloc hits sysctl_optmem_max, tcp_v6_route_req() drops later SYNs, so the harm is remote.\nAC:L - With SELinux MLS (mls_export_netlbl_lvl sets NETLBL_SECATTR_MLS_LVL) and a CALIPSO NetLabel map, every SYN makes calipso_req_setattr() call ipv6_renew_options()/sock_kmalloc() on the listener, and tcp_v6_reqsk_destructor() kfree_rcu()s ireq->ipv6_opt with no atomic_sub. Repeating or RSTing SYNs grows the charge with no race.\nPR:N - security_inet_conn_request() runs from tcp_v6_route_req() on the inbound SYN, before the handshake finishes. calipso_req_setattr() only checks sk_to_full_sk() for a listener and that calipso_genopt() sees an MLS level; the sender presents no credential or capability.\nUI:N - The attacker transmits the IPv6 SYNs that tcp_v6_route_req() turns into request sockets, and calipso_req_setattr() applies the local MLS secattr during that SYN processing.\nS:U - The stuck charge is the listening socket's own sk_omem_alloc, and the dropped SYNs affect that same listener in its own network namespace and security authority.\nC:N - tcp_v6_reqsk_destructor() kfree_rcu()s the ipv6_txoptions block. The leftover is only an elevated sk_omem_alloc counter on the listener, and the CALIPSO bytes generated by calipso_genopt() are not returned to the sender.\nI:N - ipv6_renew_options() allocates exactly tot_len and sock_kmalloc() stops at sysctl_optmem_max (128KB). The destructor frees that buffer; the failure is a stuck quota, not an out-of-bounds write or use-after-free.\nA:H - Once the leaked charge reaches sysctl_optmem_max, sock_kmalloc() fails, calipso_req_setattr() returns -ENOBUFS, and tcp_v6_route_req() returns NULL so tcp_conn_request() drops every further SYN on that listener until the listening socket is destroyed."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "net/ipv6/calipso.c",
                        "net/ipv6/exthdrs.c"
                    ],
                    "versions": [
                        {
                            "version": "e1adea927080821ebfa7505bff752a4015955660",
                            "lessThan": "0007514639551da53bb11f9275a9c61d9b251ca2",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "e1adea927080821ebfa7505bff752a4015955660",
                            "lessThan": "36673c6b55a5d5d7496d6ac23daa442e05735373",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "e1adea927080821ebfa7505bff752a4015955660",
                            "lessThan": "2c1dce211361249e311eaf8ed703e680fed3b7ba",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "e1adea927080821ebfa7505bff752a4015955660",
                            "lessThan": "cd155dea914ce071014c5e84c216f2e971cf692f",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "e1adea927080821ebfa7505bff752a4015955660",
                            "lessThan": "36d5a01be1059c6038c8e0e177d94028ada9ae6a",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "e1adea927080821ebfa7505bff752a4015955660",
                            "lessThan": "b4a2cc6d748d3056a25812dcf5f5377a59afd02f",
                            "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/ipv6/calipso.c",
                        "net/ipv6/exthdrs.c"
                    ],
                    "versions": [
                        {
                            "version": "4.8",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "4.8",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.276",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.227",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.120",
                            "lessThanOrEqual": "6.12.*",
                            "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": "4.8",
                                    "versionEndExcluding": "5.10.276"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.8",
                                    "versionEndExcluding": "5.15.227"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.8",
                                    "versionEndExcluding": "6.12.120"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.8",
                                    "versionEndExcluding": "6.18.66"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.8",
                                    "versionEndExcluding": "7.3.7"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.8",
                                    "versionEndExcluding": "7.4-rc3"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/0007514639551da53bb11f9275a9c61d9b251ca2"
                },
                {
                    "url": "https://git.kernel.org/stable/c/36673c6b55a5d5d7496d6ac23daa442e05735373"
                },
                {
                    "url": "https://git.kernel.org/stable/c/2c1dce211361249e311eaf8ed703e680fed3b7ba"
                },
                {
                    "url": "https://git.kernel.org/stable/c/cd155dea914ce071014c5e84c216f2e971cf692f"
                },
                {
                    "url": "https://git.kernel.org/stable/c/36d5a01be1059c6038c8e0e177d94028ada9ae6a"
                },
                {
                    "url": "https://git.kernel.org/stable/c/b4a2cc6d748d3056a25812dcf5f5377a59afd02f"
                }
            ],
            "title": "calipso: do not charge request socket options to the listener",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}