{"id":"DEBIAN-CVE-2022-49254","details":"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-\u003eactive_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-\u003eactive_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.","modified":"2026-08-27T23:04:29.937576634Z","published":"2025-02-26T07:01:02.300Z","upstream":["CVE-2022-49254"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2022-49254"}],"affected":[{"package":{"name":"linux","ecosystem":"Debian:12","purl":"pkg:deb/debian/linux?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.17.3-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2022-49254.json"}},{"package":{"name":"linux","ecosystem":"Debian:13","purl":"pkg:deb/debian/linux?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.17.3-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2022-49254.json"}},{"package":{"name":"linux","ecosystem":"Debian:14","purl":"pkg:deb/debian/linux?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.17.3-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2022-49254.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}