media: v4l2-tpg: fix some memleaks in tpg_alloc
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 4.19.311, 5.4.273, 5.10.214, 5.15.153, 6.1.83, and 3 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
In the Linux kernel, the following vulnerability has been resolved: media: v4l2-tpg: fix some memleaks in tpg_alloc In tpg_alloc, resources should be deallocated in each and every error-handling paths, since they are allocated in for statements. Otherwise there would be memleaks because tpg_free is called only when tpg_alloc return 0.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- Linux Linux
From 63881df94d3ecbb0deafa0b77da62ff2f32961c4 · fixed in 0de691ff547d86dd54c24b40a81f9c925df8dd77; From 63881df94d3ecbb0deafa0b77da62ff2f32961c4 · fixed in 8269ab16415f2065cd792c49b0475543936cbd79; From 63881df94d3ecbb0deafa0b77da62ff2f32961c4 · fixed in 94303a06e1852a366e9671fff46d19459f88cb28; From 63881df94d3ecbb0deafa0b77da62ff2f32961c4 · fixed in 770a57922ce36a8476c43f7400b6501c554ea511; From 63881df94d3ecbb0deafa0b77da62ff2f32961c4 · fixed in 6bf5c2fade8ed53b2d26fa9875e5b04f36c7145d; From 63881df94d3ecbb0deafa0b77da62ff2f32961c4 · fixed in 4c86c772fef06f5d7a66151bac42366825db0941; From 63881df94d3ecbb0deafa0b77da62ff2f32961c4 · fixed in 31096da07933598da8522c54bd007376fb152a09; From 63881df94d3ecbb0deafa0b77da62ff2f32961c4 · fixed in 622b1cf38521569869c8f7b9fbe9e4f1a289add7; From 63881df94d3ecbb0deafa0b77da62ff2f32961c4 · fixed in 8cf9c5051076e0eb958f4361d50d8b0c3ee6691c
- Linux Linux
3.18
- KernelLinux
From 3.18.0 · fixed in 4.19.311; From 4.20.0 · fixed in 5.4.273; From 5.5.0 · fixed in 5.10.214; From 5.11.0 · fixed in 5.15.153; From 5.16.0 · fixed in 6.1.83; From 6.2.0 · fixed in 6.6.23; From 6.7.0 · fixed in 6.7.11; From 6.8.0 · fixed in 6.8.2
References 9
git.kernel.org
- stable/c/0de691ff547d86dd54c24b40a81f9c925df8dd77
- stable/c/8269ab16415f2065cd792c49b0475543936cbd79
- stable/c/94303a06e1852a366e9671fff46d19459f88cb28
- stable/c/770a57922ce36a8476c43f7400b6501c554ea511
- stable/c/6bf5c2fade8ed53b2d26fa9875e5b04f36c7145d
- stable/c/4c86c772fef06f5d7a66151bac42366825db0941
- stable/c/31096da07933598da8522c54bd007376fb152a09
- stable/c/622b1cf38521569869c8f7b9fbe9e4f1a289add7
- stable/c/8cf9c5051076e0eb958f4361d50d8b0c3ee6691c