CVE-2026-139412

Source
https://cve.org/CVERecord?id=CVE-2026-139412
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139412.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-139412
Downstream
Published
2026-11-30T13:34:30Z
Modified
2026-11-30T15:02:28Z
Summary
net: alacritech: fix dma_free_coherent() in error path
Details

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

net: alacritech: fix dma_free_coherent() in error path

In slic_init_stat_queue(), a series of coherent buffers is allocated with the length size. The size is then stored in stq->mem_size for normal deallocation. However, in the error path, stq->mem_size is also used but is not initialized. This error may leave the freed buffers mapped, leaking a resource and allowing the device to access freed memory.

Change the length in error path to size.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139412.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
60c140df15dbc34e2aabe210f82c37b978185b40
Fixed
e06d57a4ec6b4400c674b927c201866f94727f7d
Fixed
2c640d15a6bf2948afaf2cf6d6afc2c924c74d21
Fixed
65a1fce39ee5f9108fc1207afb3589c8e706251f
Fixed
d4f1a8c57374a35e265d422d342d67f102a251c7
Fixed
8653a8ab2c66b143e67f5d1f9f1aa6a585477f99
Fixed
a05ca3ecf125d08e384be58538fd9d7ae492abcc
Fixed
6edf7316de02659d5689b0d8e3e882f955484874
Fixed
05b5019b01fb9443b09ae4ed34af1135a80a84c8

Database specific

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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.10.0
Fixed
5.10.275
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.226
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.193
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.163
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.119
Type
ECOSYSTEM
Events
Introduced
6.13.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-139412.json"