CVE-2026-43312

MEDIUM

media: i2c: ov5647: Initialize subdev before controls

Title source: cna
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: media: i2c: ov5647: Initialize subdev before controls In ov5647_init_controls() we call v4l2_get_subdevdata, but it is initialized by v4l2_i2c_subdev_init() in the probe, which currently happens after init_controls(). This can result in a segfault if the error condition is hit, and we try to access i2c_client, so fix the order.

Scores

CVSS v3 5.5
EPSS 0.0012
EPSS Percentile 2.4%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

Status published
Products (23)
linux/Kernel 5.12.0 - 5.15.202linux
linux/Kernel 5.16.0 - 6.1.165linux
linux/Kernel 6.13.0 - 6.18.16linux
linux/Kernel 6.19.0 - 6.19.6linux
linux/Kernel 6.2.0 - 6.6.128linux
linux/Kernel 6.7.0 - 6.12.75linux
Linux/Linux < 5.12
Linux/Linux 4974c2f19fd810ec9a4e534bfc69e176256b7a03 - 2dedda97a64e7735844609c6c77c0dd953d73833
Linux/Linux 4974c2f19fd810ec9a4e534bfc69e176256b7a03 - 59e372aa4cf60e2500eba7f978acdcb18bb49032
Linux/Linux 4974c2f19fd810ec9a4e534bfc69e176256b7a03 - 8ecb21c20387cc0c8aa00489a21ccc69f6b0f5d1
... and 13 more
Published May 08, 2026
Tracked Since May 08, 2026