CyberRota Analysis
AI-GeneratedThe vulnerability affects the Linux kernel's media subsystem, specifically within the vip_probe_slice() function, where an incorrect error handling for memory allocation can lead to misleading success indications. This could result in potential memory allocation failures being overlooked, impacting system stability and reliability. Linux kernel maintainers and developers working with media device drivers should prioritize addressing this issue to ensure robust error handling in their implementations.
Original NVD Description
In the Linux kernel, the following vulnerability has been resolved: media: ti: vpe: Fix the error code of devm_kzalloc() in vip_probe_slice() In vip_probe_slice(), the error check for devm_kzalloc() incorrectly uses PTR_ERR_OR_ZERO() which returns 0 for NULL pointer. Return -ENOMEM for devm_kzalloc() failure.