{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-139141",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-11-30T13:22:15.916Z",
        "datePublished": "2026-11-30T13:31:57.651Z",
        "dateUpdated": "2026-11-30T13:31:57.651Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-30T13:31:57.651Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: dcb: initialize PFC value before calling getpfccfg\n\ndcbnl_getpfccfg() and dcbnl_cee_fill() pass the address of an\nuninitialized stack u8 to the driver's getpfccfg() op and then put it\ninto the netlink reply unconditionally.  The op returns void, so the\ncore cannot tell whether the driver wrote the value.\n\ni40e_dcbnl_get_pfc_cfg() and ice_dcbnl_get_pfc_cfg() return without\nwriting *setting unless the DCBX agent is host managed and in CEE mode.\nBoth drivers normally run with firmware managed DCBX\n(DCB_CAP_DCBX_LLD_MANAGED), and i40e with FW LLDP disabled runs host\nmanaged in IEEE mode, so on a DCB capable i40e/ice port the PFC values\nin DCB_CMD_PFC_GCFG and DCB_CMD_CEE_GET replies, and in the CEE part of\nRTNLGRP_DCB notifications, come from uninitialized stack.  The same u8\nis reused for all eight priorities, so this is one byte per reply.\n\ndcb_doit() only requires CAP_NET_ADMIN for RTM_SETDCB, so the GET\ncommands are available to unprivileged users.\n\nSet the value to 0 before each call, like the PG config path already\npresets its outputs to DCB_ATTR_VALUE_UNDEFINED.  0 is also what the\nreply contains today on kernels built with CONFIG_INIT_STACK_ALL_ZERO,\nso nothing changes for those.\n\nFound by code inspection, compile-tested only (W=1).  I don't have\ni40e/ice hardware to check the reply."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "net/dcb/dcbnl.c"
                    ],
                    "versions": [
                        {
                            "version": "b94b013eb6269526eeb3768101666ba6f526313e",
                            "lessThan": "fe58c5ae957b30da483cb3abc1ae9888716c0b47",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b94b013eb6269526eeb3768101666ba6f526313e",
                            "lessThan": "dc05db00fff80eb47abc6f530202a5729cc1e574",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b94b013eb6269526eeb3768101666ba6f526313e",
                            "lessThan": "f8b5f7a291ebd83d1d4df7eb933e5077221c21c7",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b94b013eb6269526eeb3768101666ba6f526313e",
                            "lessThan": "e52a4c4030db8cebbbec23803ccf8acf21998159",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b94b013eb6269526eeb3768101666ba6f526313e",
                            "lessThan": "eedcc28f16d6ed21fd5c8f5302d0611c00e475fa",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b94b013eb6269526eeb3768101666ba6f526313e",
                            "lessThan": "581328d3342577aade1f5673469387789d88a651",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b94b013eb6269526eeb3768101666ba6f526313e",
                            "lessThan": "39042ffba46976f559efe8471c2d2264571f7d34",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b94b013eb6269526eeb3768101666ba6f526313e",
                            "lessThan": "ca87a2dffbb550fc934647d5e8d1c4ae85590132",
                            "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/dcb/dcbnl.c"
                    ],
                    "versions": [
                        {
                            "version": "5.5",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "5.5",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.275",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.226",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.193",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.163",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.119",
                            "lessThanOrEqual": "6.12.*",
                            "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": "5.5",
                                    "versionEndExcluding": "5.10.275"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.5",
                                    "versionEndExcluding": "5.15.226"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.5",
                                    "versionEndExcluding": "6.1.193"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.5",
                                    "versionEndExcluding": "6.6.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.5",
                                    "versionEndExcluding": "6.12.119"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.5",
                                    "versionEndExcluding": "6.18.65"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.5",
                                    "versionEndExcluding": "7.3.6"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.5",
                                    "versionEndExcluding": "7.4-rc1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/fe58c5ae957b30da483cb3abc1ae9888716c0b47"
                },
                {
                    "url": "https://git.kernel.org/stable/c/dc05db00fff80eb47abc6f530202a5729cc1e574"
                },
                {
                    "url": "https://git.kernel.org/stable/c/f8b5f7a291ebd83d1d4df7eb933e5077221c21c7"
                },
                {
                    "url": "https://git.kernel.org/stable/c/e52a4c4030db8cebbbec23803ccf8acf21998159"
                },
                {
                    "url": "https://git.kernel.org/stable/c/eedcc28f16d6ed21fd5c8f5302d0611c00e475fa"
                },
                {
                    "url": "https://git.kernel.org/stable/c/581328d3342577aade1f5673469387789d88a651"
                },
                {
                    "url": "https://git.kernel.org/stable/c/39042ffba46976f559efe8471c2d2264571f7d34"
                },
                {
                    "url": "https://git.kernel.org/stable/c/ca87a2dffbb550fc934647d5e8d1c4ae85590132"
                }
            ],
            "title": "net: dcb: initialize PFC value before calling getpfccfg",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}