Skip to main content
Network Thinking Solutions Logo

CVE-2022-49254

Linux kernel: media: ti-vpe: cal: Fix a NULL pointer dereference in cal_ctx_v4l2_init_formats()

All CVEs
CVE-2022-49254Published 2/26/2025

Linux kernel: media: ti-vpe: cal: Fix a NULL pointer dereference in cal_ctx_v4l2_init_formats()

Vendor advisory
CVSS5.5Medium

Overview

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.

Published
2/26/2025
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 5.12, < 5.15.33

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 5.16.19

Verify advisory

Source
linux kernel
linux
≥ 5.17, < 5.17.2

Verify advisory

Source
Linux
Linux
≥ 7168155002cf7aadbfaa14a28f037c880a214764, < aa613ac270292e102503e9767882e39200efe608

Verify advisory

Source
Linux
Linux
≥ 7168155002cf7aadbfaa14a28f037c880a214764, < 91e2805579ab0783eed53acc2bf9fb553e939004

Verify advisory

Source
Linux
Linux
≥ 7168155002cf7aadbfaa14a28f037c880a214764, < 1381f1a629a090c251965edb56f849ad648414a4

Verify advisory

Source
Linux
Linux
≥ 7168155002cf7aadbfaa14a28f037c880a214764, < abd77889851d2ead0d0c9c4d29f1808801477b00

Verify advisory

Source
Linux
Linux
5.12

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.