{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-31609",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-03-09T15:48:24.122Z",
        "datePublished": "2026-04-24T14:42:30.797Z",
        "dateUpdated": "2026-08-05T12:23:48.014Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-08-05T12:23:48.014Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: avoid double-free in smbd_free_send_io() after smbd_send_batch_flush()\n\nsmbd_send_batch_flush() already calls smbd_free_send_io(),\nso we should not call it again after smbd_post_send()\nmoved it to the batch list."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
                        "baseScore": 9.8,
                        "baseSeverity": "CRITICAL"
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "AV:N - The vulnerable path is in the SMB client SMB Direct/RDMA transport and processes protocol events from a remote SMB Direct peer over the network.\nAC:L - A malicious peer can request immediate empty responses and then disrupt the RDMA connection to drive the post-send error path; the trigger is repeatable and does not depend on conditions outside attacker influence.\nPR:N - The attacker is the remote SMB Direct peer/server and does not need privileges on the vulnerable client system or authenticated local access.\nUI:N - In a reasonable deployment with an existing or automatically established SMB Direct mount, the remote peer can trigger the bug through protocol traffic and disconnect timing without further user action.\nS:U - The corruption occurs in the client kernel and impacts the same operating-system security authority, with no VM, IOMMU, or sandbox boundary crossing identified.\nC:H - This is a kernel heap double-free of an SMB Direct send object; as memory corruption, it can plausibly be shaped into use-after-free behavior and kernel memory disclosure.\nI:H - The double-free corrupts kernel allocator state for objects used in RDMA send handling and can plausibly be leveraged for arbitrary kernel memory modification or code execution.\nA:H - Even without full exploitation, the double-free can trigger allocator corruption, warnings, oops, panic, or connection teardown, causing high availability impact."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/smb/client/smbdirect.c"
                    ],
                    "versions": [
                        {
                            "version": "cca0526ef2344cab6944d7f441fc24e152da031b",
                            "lessThan": "a9940dcbe5cb92482c04efc7341039ddf7dbf607",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "37b5c06956183b65e6808b509cf637632016cdf7",
                            "lessThan": "22b7c1c619d808aec4cad3dc42103345e370d107",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "21538121efe6c8c5b51c742fa02cbe820bc48714",
                            "lessThan": "f9a162c2bbcd0ac85bd07c5b37cf20286048b65c",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "21538121efe6c8c5b51c742fa02cbe820bc48714",
                            "lessThan": "27b7c3e916218b5eb2ee350211140e961bfc49be",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6.18.11",
                            "lessThan": "6.18.24",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.19.1",
                            "lessThan": "6.19.14",
                            "status": "affected",
                            "versionType": "semver"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/smb/client/smbdirect.c"
                    ],
                    "versions": [
                        {
                            "version": "7.0",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "7.0",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.24",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.19.14",
                            "lessThanOrEqual": "6.19.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.0.1",
                            "lessThanOrEqual": "7.0.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.1",
                            "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": "6.18.11",
                                    "versionEndExcluding": "6.18.24"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.19.1",
                                    "versionEndExcluding": "6.19.14"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "7.0",
                                    "versionEndExcluding": "7.0.1"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "7.0",
                                    "versionEndExcluding": "7.1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/a9940dcbe5cb92482c04efc7341039ddf7dbf607"
                },
                {
                    "url": "https://git.kernel.org/stable/c/22b7c1c619d808aec4cad3dc42103345e370d107"
                },
                {
                    "url": "https://git.kernel.org/stable/c/f9a162c2bbcd0ac85bd07c5b37cf20286048b65c"
                },
                {
                    "url": "https://git.kernel.org/stable/c/27b7c3e916218b5eb2ee350211140e961bfc49be"
                }
            ],
            "title": "smb: client: avoid double-free in smbd_free_send_io() after smbd_send_batch_flush()",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}