Description
In the Linux kernel, the following vulnerability has been resolved: firmware: stratix10-svc: fix memory leaks and list corruption bugs Fix a memory leak when gen_pool_alloc() fails by freeing pmem on the error path. Switch pmem allocation from devm_kzalloc() to kzalloc() with explicit kfree() in the free path to match its list-managed lifetime. Remove the erroneous list_del(&svc_data_mem) which corrupted the list head on failed lookups.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
7ca5ce896524f5292e610b27d168269e5ab74951 to < 76cff60d7fcb08da537f529bf32a0927bb17265faffected7ca5ce896524f5292e610b27d168269e5ab74951 to < b9206568e08424fd817a4aeca4f944e241d2f530affected7ca5ce896524f5292e610b27d168269e5ab74951 to < 5df709d59227994888d7dbb7ea6c83316f0b79c0affected7ca5ce896524f5292e610b27d168269e5ab74951 to < 95f702e372964aff486338783f49e28a40a53127affected7ca5ce896524f5292e610b27d168269e5ab74951 to < fff6e5ff0318315998b540896537eaaa2ebf9f7baffected7ca5ce896524f5292e610b27d168269e5ab74951 to < 4f2db41a09eba7a45abd140bb86ffc519c191886affected7ca5ce896524f5292e610b27d168269e5ab74951 to < 8e93a083456d78f6b0aa1f58d2b0c7071a2a7a47affected7ca5ce896524f5292e610b27d168269e5ab74951 to < 9119ceb76e987c2ec2b549ea100e3268ce3a1c7caffected
Linux Linux
Default version status: affected
5.0affected0 to < 5.0unaffected5.10.265 to ≤ 5.10.*unaffected5.15.216 to ≤ 5.15.*unaffected6.1.183 to ≤ 6.1.*unaffected6.6.151 to ≤ 6.6.*unaffected6.12.101 to ≤ 6.12.*unaffected6.18.42 to ≤ 6.18.*unaffected7.1.6 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/76cff60d7fcb08da537f529bf32a0927bb17265f ↗
- https://git.kernel.org/stable/c/b9206568e08424fd817a4aeca4f944e241d2f530 ↗
- https://git.kernel.org/stable/c/5df709d59227994888d7dbb7ea6c83316f0b79c0 ↗
- https://git.kernel.org/stable/c/95f702e372964aff486338783f49e28a40a53127 ↗
- https://git.kernel.org/stable/c/fff6e5ff0318315998b540896537eaaa2ebf9f7b ↗
- https://git.kernel.org/stable/c/4f2db41a09eba7a45abd140bb86ffc519c191886 ↗
- https://git.kernel.org/stable/c/8e93a083456d78f6b0aa1f58d2b0c7071a2a7a47 ↗
- https://git.kernel.org/stable/c/9119ceb76e987c2ec2b549ea100e3268ce3a1c7c ↗