PT-2025-8182
CVE-2022-49254
·
Published
2022-02-17
·
Updated
2025-09-22
Description by
CVSS 3.1
5.5
MediumMetricsAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
A NULL pointer dereference issue was found in the Linux kernel, specifically in the
cal ctx v4l2 init formats() function. This issue occurs when devm kzalloc() fails and assigns a NULL value to ctx->active fmt, which is then dereferenced. The problem was identified by a static analyzer.Recommendations
For the affected Linux kernel versions, add a NULL check of
ctx->active fmt in the cal ctx v4l2 init formats() function to prevent the NULL pointer dereference. Found an issue in the description? Have something to add? Feel free to write us 👾