Vulnerabilities · 2022 · Linux
CVE-2022-49254
Linux Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: media: ti-vpe: cal: Fix a NULL pointer dereference in cal_ctx_v4l2_init_formats() In cal_ctx_v4l2_init_formats(), devm_kzalloc() is assigned to ctx->active_fmt and there is a dereference of it after that, which could lead to NULL pointer dereference on failure of devm_kzalloc(). Fix this bug by adding a NULL check of ctx->active_fmt. This bug was found by a static analyzer. Builds with 'make allyesconfig' show no new warnings, and our static analyzer no longer warns about this code.
Affected products
Linux Kernel. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/1381f1a629a090c251965edb56f849ad648414a4 · Patch
- git.kernel.org/stable/c/91e2805579ab0783eed53acc2bf9fb553e939004 · Patch
- git.kernel.org/stable/c/aa613ac270292e102503e9767882e39200efe608 · Patch
- git.kernel.org/stable/c/abd77889851d2ead0d0c9c4d29f1808801477b00 · Patch
- nvd.nist.gov/vuln/detail/CVE-2022-49254
- cve.org/CVERecord?id=CVE-2022-49254
More vulnerabilities in Linux products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.