CVE-2026-139254

Source
https://cve.org/CVERecord?id=CVE-2026-139254
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139254.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-139254
Downstream
Published
2026-11-30T13:33:02Z
Modified
2026-11-30T15:00:19Z
Summary
net/mlx5: HWS, fix modify header pool creation race
Details

In the Linux kernel, the following vulnerability has been resolved:

net/mlx5: HWS, fix modify header pool creation race

mlx5_cmd_hws_modify_header_alloc() creates a pool at the index after the last one if no pool matches the pattern. TC and CT allocate modify headers concurrently, meaning two callers can take the same index and the second call fails with -EBUSY.

Its error path also destroys the pool it just created although another caller may already use it. Keep such a pool since cleanup releases it.

Pools now live until cleanup so the lookup needs no lock. A miss looks again under a mutex before creating the pool.

Tested for regressions on ConnectX-7 with firmware 28.48.1000.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139254.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
b36315ca69cb39c839c98a31cae27b266481b0ac
Fixed
479939aca455d0d14d618fb31668b49503e3dfeb
Fixed
d0df668d184893e596c9ce9ec55fff339949c803
Fixed
e4ab8ab27ab1c9f0cd1589bee471d93319e20c95

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139254.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.14.0
Fixed
6.18.65
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139254.json"