media: bcm2835-unicam: Fix asc leaked in error/remove path
- 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 6.12.110, 6.18.52, 7.2.6
- 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
Summary
In the Linux kernel, the following vulnerability has been resolved: media: bcm2835-unicam: Fix asc leaked in error/remove path v4l2_async_nf_add_fwnode_remote() allocates the asc, which is freed when v4l2_async_nf_cleanup() is called. Call v4l2_async_nf_cleanup() properly in the driver paths. Discovered with kmemleak after rmmod: unreferenced object 0xffff000084526b80 (size 64): comm "modprobe", pid 185, jiffies 4295013512 hex dump (first 32 bytes): 01 00 00 00 00 00 00 00 e8 0d ff bf 00 00 ff ff ................ 40 83 bc 84 00 00 ff ff 60 83 bc 84 00 00 ff ff @.......`....... backtrace (crc ac584083): [<00000000ffb081a7>] kmemleak_alloc+0x38/0x44 [<00000000d2fd9301>] __kmalloc+0x1b0/0x250 [<000000004dd5354d>] __v4l2_async_nf_add_fwnode+0x28/0x9c [<0000000067587657>] __v4l2_async_nf_add_fwnode_remote+0x3c/0x64
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 392cd78d495f36c201eb5cc425b01017d493e094 · fixed in 5479372db364c80bb6bd59f640f5c31de3984bab; From 392cd78d495f36c201eb5cc425b01017d493e094 · fixed in 2c29cd408ef86e695acb2a5d4e00fa2f5695368d; From 392cd78d495f36c201eb5cc425b01017d493e094 · fixed in de9be39cefda1ecd762e6a913665c01f7bb18100; From 392cd78d495f36c201eb5cc425b01017d493e094 · fixed in 253c9659e25131b0169f718e7d094ac1aa0d9279
- Linux Linux
6.10
- KernelLinux
From 6.10.0 · fixed in 6.12.110; From 6.13.0 · fixed in 6.18.52; From 6.19.0 · fixed in 7.2.6