{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2024-35999",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2024-05-17T13:50:33.149Z",
        "datePublished": "2024-05-20T09:48:01.653Z",
        "dateUpdated": "2026-08-05T11:31:30.660Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-08-05T11:31:30.660Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nsmb3: missing lock when picking channel\n\nCoverity spotted a place where we should have been holding the\nchannel lock when accessing the ses channel index.\n\nAddresses-Coverity: 1582039 (\"Data race condition (MISSING_LOCK)\")"
                }
            ],
            "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 - The race is driven by the remote SMB server over TCP/445 — channel invalidation happens in `cifs_chan_skip_or_disable()` and `cifs_decrease_secondary_channels()`, both reached from responses the server controls (dropping `SMB2_GLOBAL_CAP_MULTI_CHANNEL` on reconnect, changing the advertised interface list, or resetting a channel's connection). A malicious or compromised server, or an on-path attacker, can force channel teardown at will against a client with a multichannel mount.\nAC:L - The remote peer deterministically and repeatedly controls one side of the race by tearing down or re-advertising channels, while ongoing background I/O and writeback continuously call `cifs_pick_channel()` for the other side; the server can even force client requests via oplock/lease breaks. No unpredictable memory layout or victim state is required, and SMB3 multichannel is a widely deployed mount option rather than a rare config.\nPR:N - The attacker is the remote SMB peer or an on-path attacker and needs no account, credentials, or privileges on the victim client; the defect is hit during ordinary operation of an already-established session.\nUI:N - The multichannel CIFS mount is a pre-existing environmental condition (fstab/autofs/Azure Files), and at exploit time no deliberate victim action is needed — background writeback, echoes, and cached-dir refreshes reach `cifs_pick_channel()` on their own.\nS:U - The unsynchronized read and its effects are confined to the client kernel's own CIFS session and `TCP_Server_Info` structures within a single security authority; no VM, IOMMU, container, or sandbox boundary is crossed.\nC:N - `ses->chans[]` is a fixed-size in-struct array and `index` is bounded by `chan_count <= CIFS_MAX_CHANNELS`, so the racy load reads no out-of-bounds memory and yields no read primitive; the observable value is a NULL or unvalidated channel pointer, not disclosed kernel data.\nI:N - Nothing is written out of bounds and no file data or kernel object is modified — the defect only causes the wrong (or NULL) channel to be selected, and SMB signing/encryption still governs what is actually transmitted.\nA:H - The returned channel was never validated, so it can be NULL — propagating `-EIO`/`-ECONNABORTED` failures out of reads, writes, flushes and writeback across the whole mount — or a channel already marked `terminate`/`NEEDS_RECONNECT`, in which case requests are submitted on a dying connection and block until reconnect or timeout, wedging the mount. The remote server can retrigger this indefinitely."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/smb/client/transport.c"
                    ],
                    "versions": [
                        {
                            "version": "724244cdb3828522109c88e56a0242537aefabe9",
                            "lessThan": "98c7ed29cd754ae7475dc7cb3f33399fda902729",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "724244cdb3828522109c88e56a0242537aefabe9",
                            "lessThan": "0fcf7e219448e937681216353c9a58abae6d3c2e",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "724244cdb3828522109c88e56a0242537aefabe9",
                            "lessThan": "60ab245292280905603bc0d3654f4cf8fceccb00",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "724244cdb3828522109c88e56a0242537aefabe9",
                            "lessThan": "8094a600245e9b28eb36a13036f202ad67c1f887",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "3d74c2c917e4006a3bd660d2fc7829cb2ef64113",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5.15.27",
                            "lessThan": "5.16",
                            "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/transport.c"
                    ],
                    "versions": [
                        {
                            "version": "5.16",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "5.16",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.91",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.30",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.8.9",
                            "lessThanOrEqual": "6.8.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.9",
                            "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.16",
                                    "versionEndExcluding": "6.1.91"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.16",
                                    "versionEndExcluding": "6.6.30"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.16",
                                    "versionEndExcluding": "6.8.9"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.16",
                                    "versionEndExcluding": "6.9"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.15.27"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/98c7ed29cd754ae7475dc7cb3f33399fda902729"
                },
                {
                    "url": "https://git.kernel.org/stable/c/0fcf7e219448e937681216353c9a58abae6d3c2e"
                },
                {
                    "url": "https://git.kernel.org/stable/c/60ab245292280905603bc0d3654f4cf8fceccb00"
                },
                {
                    "url": "https://git.kernel.org/stable/c/8094a600245e9b28eb36a13036f202ad67c1f887"
                }
            ],
            "title": "smb3: missing lock when picking channel",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        },
        "adp": [
            {
                "problemTypes": [
                    {
                        "descriptions": [
                            {
                                "type": "CWE",
                                "lang": "en",
                                "description": "CWE-noinfo Not enough information"
                            }
                        ]
                    }
                ],
                "metrics": [
                    {
                        "cvssV3_1": {
                            "scope": "UNCHANGED",
                            "version": "3.1",
                            "baseScore": 5.5,
                            "attackVector": "LOCAL",
                            "baseSeverity": "MEDIUM",
                            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
                            "integrityImpact": "NONE",
                            "userInteraction": "NONE",
                            "attackComplexity": "LOW",
                            "availabilityImpact": "HIGH",
                            "privilegesRequired": "LOW",
                            "confidentialityImpact": "NONE"
                        }
                    },
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2024-05-31T18:47:15.980890Z",
                                "id": "CVE-2024-35999",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2024-10-29T20:01:44.554Z"
                }
            },
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T03:30:13.189Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://git.kernel.org/stable/c/98c7ed29cd754ae7475dc7cb3f33399fda902729",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://git.kernel.org/stable/c/0fcf7e219448e937681216353c9a58abae6d3c2e",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://git.kernel.org/stable/c/60ab245292280905603bc0d3654f4cf8fceccb00",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://git.kernel.org/stable/c/8094a600245e9b28eb36a13036f202ad67c1f887",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            }
        ]
    }
}