PT-2025-8182 · Linux+2 · Linux Kernel+2
Published
2022-02-17
·
Updated
2025-09-22
·
CVE-2022-49254
CVSS v3.1
5.5
Medium
| Vector | AV: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.Exploit
Fix
Improper Resource Release
NULL Pointer Dereference
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Astra Linux
Linux Kernel
Suse