{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-23239",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-01-13T15:37:45.989Z",
        "datePublished": "2026-03-10T17:28:26.190Z",
        "dateUpdated": "2026-08-05T12:20:49.864Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-08-05T12:20:49.864Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nespintcp: Fix race condition in espintcp_close()\n\nThis issue was discovered during a code audit.\n\nAfter cancel_work_sync() is called from espintcp_close(),\nespintcp_tx_work() can still be scheduled from paths such as\nthe Delayed ACK handler or ksoftirqd.\nAs a result, the espintcp_tx_work() worker may dereference a\nfreed espintcp ctx or sk.\n\nThe following is a simple race scenario:\n\n           cpu0                             cpu1\n\n  espintcp_close()\n    cancel_work_sync(&ctx->work);\n                                     espintcp_write_space()\n                                       schedule_work(&ctx->work);\n\nTo prevent this race condition, cancel_work_sync() is\nreplaced with disable_work_sync()."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                        "baseScore": 7.8,
                        "baseSeverity": "HIGH"
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "AV:L - The attacker must be a local user to create a TCP socket and set the espintcp ULP via setsockopt(TCP_ULP). This cannot be triggered remotely without local socket access.\nAC:L - The attacker controls both sides of the race: they trigger close() and control the remote peer (e.g., localhost connection) to send TCP ACKs that fire write_space, reliably creating the race condition.\nPR:L - No capability checks exist in the TCP_ULP setsockopt path or espintcp_init_sk(). Any unprivileged local user can set up an espintcp ULP socket and trigger this bug.\nUI:N - No user interaction is required; the attacker autonomously creates the socket, sets the ULP, and triggers the race.\nS:U - The vulnerability is a kernel-level use-after-free that does not cross a security boundary such as a VM or sandbox.\nC:H - The use-after-free on espintcp_ctx and sock structures allows an attacker to control freed object contents via heap spraying, enabling arbitrary kernel memory reads.\nI:H - The use-after-free enables heap spraying and arbitrary write primitives through the freed espintcp_ctx and sock structures, allowing potential kernel code execution.\nA:H - The use-after-free causes kernel crashes (oops/panic) when the work function dereferences freed memory, providing reliable denial of service."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "net/xfrm/espintcp.c"
                    ],
                    "versions": [
                        {
                            "version": "e27cca96cd68fa2c6814c90f9a1cfd36bb68c593",
                            "lessThan": "f7ad8b1d0e421c524604d5076b73232093490d5c",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "e27cca96cd68fa2c6814c90f9a1cfd36bb68c593",
                            "lessThan": "664e9df53226b4505a0894817ecad2c610ab11d8",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "e27cca96cd68fa2c6814c90f9a1cfd36bb68c593",
                            "lessThan": "022ff7f347588de6e17879a1da6019647b21321b",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "e27cca96cd68fa2c6814c90f9a1cfd36bb68c593",
                            "lessThan": "e1512c1db9e8794d8d130addd2615ec27231d994",
                            "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/xfrm/espintcp.c"
                    ],
                    "versions": [
                        {
                            "version": "5.6",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "5.6",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.75",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.16",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.19.6",
                            "lessThanOrEqual": "6.19.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.0",
                            "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.6",
                                    "versionEndExcluding": "6.12.75"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.6",
                                    "versionEndExcluding": "6.18.16"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.6",
                                    "versionEndExcluding": "6.19.6"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.6",
                                    "versionEndExcluding": "7.0"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/f7ad8b1d0e421c524604d5076b73232093490d5c"
                },
                {
                    "url": "https://git.kernel.org/stable/c/664e9df53226b4505a0894817ecad2c610ab11d8"
                },
                {
                    "url": "https://git.kernel.org/stable/c/022ff7f347588de6e17879a1da6019647b21321b"
                },
                {
                    "url": "https://git.kernel.org/stable/c/e1512c1db9e8794d8d130addd2615ec27231d994"
                }
            ],
            "title": "espintcp: Fix race condition in espintcp_close()",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}