net: alacritech: fix dma_free_coherent() in error path
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
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.
| Product | Versions |
|---|---|
| Linux Linux | 60c140df15dbc34e2aabe210f82c37b978185b40 to before e06d57a4ec6b4400c674b927c201866f94727f7d Affected60c140df15dbc34e2aabe210f82c37b978185b40 to before 2c640d15a6bf2948afaf2cf6d6afc2c924c74d21 Affected60c140df15dbc34e2aabe210f82c37b978185b40 to before 65a1fce39ee5f9108fc1207afb3589c8e706251f Affected60c140df15dbc34e2aabe210f82c37b978185b40 to before d4f1a8c57374a35e265d422d342d67f102a251c7 Affected60c140df15dbc34e2aabe210f82c37b978185b40 to before 8653a8ab2c66b143e67f5d1f9f1aa6a585477f99 Affected60c140df15dbc34e2aabe210f82c37b978185b40 to before a05ca3ecf125d08e384be58538fd9d7ae492abcc Affected60c140df15dbc34e2aabe210f82c37b978185b40 to before 6edf7316de02659d5689b0d8e3e882f955484874 Affected60c140df15dbc34e2aabe210f82c37b978185b40 to before 05b5019b01fb9443b09ae4ed34af1135a80a84c8 Affected |
| Linux Linux | 4.10 Affectedbefore 4.10 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.119 through 6.12.* Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
- https://git.kernel.org/stable/c/e06d57a4ec6b4400c674b927c201866f94727f7d
- https://git.kernel.org/stable/c/2c640d15a6bf2948afaf2cf6d6afc2c924c74d21
- https://git.kernel.org/stable/c/65a1fce39ee5f9108fc1207afb3589c8e706251f
- https://git.kernel.org/stable/c/d4f1a8c57374a35e265d422d342d67f102a251c7
- https://git.kernel.org/stable/c/8653a8ab2c66b143e67f5d1f9f1aa6a585477f99
- https://git.kernel.org/stable/c/a05ca3ecf125d08e384be58538fd9d7ae492abcc
- https://git.kernel.org/stable/c/6edf7316de02659d5689b0d8e3e882f955484874
- https://git.kernel.org/stable/c/05b5019b01fb9443b09ae4ed34af1135a80a84c8
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.