media: v4l2-mem2mem: fix a memleak in v4l2_m2m_register_entity
- 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-mem2mem: fix a memleak in v4l2_m2m_register_entity The entity->name (i.e. name) is allocated in v4l2_m2m_register_entity but isn't freed in its following error-handling paths. This patch adds such deallocation to prevent memleak of entity->name.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- Linux Linux
From be2fff656322e82f215730839063c2c2ca73d14b · fixed in 3dd8abb0ed0e0a7c66d6d677c86ccb188cc39333; From be2fff656322e82f215730839063c2c2ca73d14b · fixed in 0175f2d34c85744f9ad6554f696cf0afb5bd04e4; From be2fff656322e82f215730839063c2c2ca73d14b · fixed in afd2a82fe300032f63f8be5d6cd6981e75f8bbf2; From be2fff656322e82f215730839063c2c2ca73d14b · fixed in dc866b69cc51af9b8509b4731b8ce2a4950cd0ef; From be2fff656322e82f215730839063c2c2ca73d14b · fixed in 0c9550b032de48d6a7fa6a4ddc09699d64d9300d; From be2fff656322e82f215730839063c2c2ca73d14b · fixed in 90029b9c979b60de5cb2b70ade4bbf61d561bc5d; From be2fff656322e82f215730839063c2c2ca73d14b · fixed in 5dc319cc3c4f7b74f7dfba349aa26f87efb52458; From be2fff656322e82f215730839063c2c2ca73d14b · fixed in 9c23ef30e840fedc66948299509f6c2777c9cf4f; From be2fff656322e82f215730839063c2c2ca73d14b · fixed in 8f94b49a5b5d386c038e355bef6347298aabd211
- Linux Linux
4.19
- KernelLinux
From 4.19.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/3dd8abb0ed0e0a7c66d6d677c86ccb188cc39333
- stable/c/0175f2d34c85744f9ad6554f696cf0afb5bd04e4
- stable/c/afd2a82fe300032f63f8be5d6cd6981e75f8bbf2
- stable/c/dc866b69cc51af9b8509b4731b8ce2a4950cd0ef
- stable/c/0c9550b032de48d6a7fa6a4ddc09699d64d9300d
- stable/c/90029b9c979b60de5cb2b70ade4bbf61d561bc5d
- stable/c/5dc319cc3c4f7b74f7dfba349aa26f87efb52458
- stable/c/9c23ef30e840fedc66948299509f6c2777c9cf4f
- stable/c/8f94b49a5b5d386c038e355bef6347298aabd211