{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-139254",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-11-30T13:22:15.923Z",
        "datePublished": "2026-11-30T13:33:02.805Z",
        "dateUpdated": "2026-11-30T13:33:02.805Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-30T13:33:02.805Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet/mlx5: HWS, fix modify header pool creation race\n\nmlx5_cmd_hws_modify_header_alloc() creates a pool at the index after\nthe last one if no pool matches the pattern. TC and CT allocate modify\nheaders concurrently, meaning two callers can take the same index and\nthe second call fails with -EBUSY.\n\nIts error path also destroys the pool it just created although another\ncaller may already use it. Keep such a pool since cleanup releases it.\n\nPools now live until cleanup so the lookup needs no lock. A miss looks\nagain under a mutex before creating the pool.\n\nTested for regressions on ConnectX-7 with firmware 28.48.1000."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/net/ethernet/mellanox/mlx5/core/steering/hws/fs_hws.c",
                        "drivers/net/ethernet/mellanox/mlx5/core/steering/hws/fs_hws.h"
                    ],
                    "versions": [
                        {
                            "version": "b36315ca69cb39c839c98a31cae27b266481b0ac",
                            "lessThan": "479939aca455d0d14d618fb31668b49503e3dfeb",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b36315ca69cb39c839c98a31cae27b266481b0ac",
                            "lessThan": "d0df668d184893e596c9ce9ec55fff339949c803",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b36315ca69cb39c839c98a31cae27b266481b0ac",
                            "lessThan": "e4ab8ab27ab1c9f0cd1589bee471d93319e20c95",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/net/ethernet/mellanox/mlx5/core/steering/hws/fs_hws.c",
                        "drivers/net/ethernet/mellanox/mlx5/core/steering/hws/fs_hws.h"
                    ],
                    "versions": [
                        {
                            "version": "6.14",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.14",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.65",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.6",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc1",
                            "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.14",
                                    "versionEndExcluding": "6.18.65"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.14",
                                    "versionEndExcluding": "7.3.6"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.14",
                                    "versionEndExcluding": "7.4-rc1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/479939aca455d0d14d618fb31668b49503e3dfeb"
                },
                {
                    "url": "https://git.kernel.org/stable/c/d0df668d184893e596c9ce9ec55fff339949c803"
                },
                {
                    "url": "https://git.kernel.org/stable/c/e4ab8ab27ab1c9f0cd1589bee471d93319e20c95"
                }
            ],
            "title": "net/mlx5: HWS, fix modify header pool creation race",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}