net: alacritech: fix dma_free_coherent() in error path
Summary
| CVE | CVE-2026-139412 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-30 14:19:10 UTC |
| Updated | 2026-11-30 14:19:10 UTC |
| Description | 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. |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected 60c140df15dbc34e2aabe210f82c37b978185b40 e06d57a4ec6b4400c674b927c201866f94727f7d git |
Not specified |
| CNA |
Linux |
Linux |
affected 60c140df15dbc34e2aabe210f82c37b978185b40 2c640d15a6bf2948afaf2cf6d6afc2c924c74d21 git |
Not specified |
| CNA |
Linux |
Linux |
affected 60c140df15dbc34e2aabe210f82c37b978185b40 65a1fce39ee5f9108fc1207afb3589c8e706251f git |
Not specified |
| CNA |
Linux |
Linux |
affected 60c140df15dbc34e2aabe210f82c37b978185b40 d4f1a8c57374a35e265d422d342d67f102a251c7 git |
Not specified |
| CNA |
Linux |
Linux |
affected 60c140df15dbc34e2aabe210f82c37b978185b40 8653a8ab2c66b143e67f5d1f9f1aa6a585477f99 git |
Not specified |
| CNA |
Linux |
Linux |
affected 60c140df15dbc34e2aabe210f82c37b978185b40 a05ca3ecf125d08e384be58538fd9d7ae492abcc git |
Not specified |
| CNA |
Linux |
Linux |
affected 60c140df15dbc34e2aabe210f82c37b978185b40 6edf7316de02659d5689b0d8e3e882f955484874 git |
Not specified |
| CNA |
Linux |
Linux |
affected 60c140df15dbc34e2aabe210f82c37b978185b40 05b5019b01fb9443b09ae4ed34af1135a80a84c8 git |
Not specified |
| CNA |
Linux |
Linux |
affected 4.10 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 4.10 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 5.10.275 5.10.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 5.15.226 5.15.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.1.193 6.1.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.6.163 6.6.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.12.119 6.12.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.65 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3.6 7.3.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.4-rc1 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/8653a8ab2c66b143e67f5d1f9f1aa6a585477f99 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/e06d57a4ec6b4400c674b927c201866f94727f7d |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/2c640d15a6bf2948afaf2cf6d6afc2c924c74d21 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/65a1fce39ee5f9108fc1207afb3589c8e706251f |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/05b5019b01fb9443b09ae4ed34af1135a80a84c8 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/6edf7316de02659d5689b0d8e3e882f955484874 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/a05ca3ecf125d08e384be58538fd9d7ae492abcc |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/d4f1a8c57374a35e265d422d342d67f102a251c7 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.