# CVE-2026-43312: media: i2c: ov5647: Initialize subdev before controls

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-05-08T13:11:29.719Z
- Modified: 2026-11-11T20:10:00.273Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 4974c2f19fd810ec9a4e534bfc69e176256b7a03 before f2a1998bc0053ebfe137f65081ed13afd9f34502; from 4974c2f19fd810ec9a4e534bfc69e176256b7a03 before 59e372aa4cf60e2500eba7f978acdcb18bb49032; from 4974c2f19fd810ec9a4e534bfc69e176256b7a03 before cabd025182cfed4a19b3aab57493e312d681e398; from 4974c2f19fd810ec9a4e534bfc69e176256b7a03 before 2dedda97a64e7735844609c6c77c0dd953d73833; from 4974c2f19fd810ec9a4e534bfc69e176256b7a03 before 8ecb21c20387cc0c8aa00489a21ccc69f6b0f5d1; from 4974c2f19fd810ec9a4e534bfc69e176256b7a03 before fb69e4842f5b463ff5f121d2ac7746014e3477ea; from 4974c2f19fd810ec9a4e534bfc69e176256b7a03 before eee13cbccacb6d0a3120c126b8544030905b069d; 5.12 (not affected: before 5.12; from 5.15.202 up to 5.15.*; from 6.1.165 up to 6.1.*; from 6.6.128 up to 6.6.*; from 6.12.75 up to 6.12.*; from 6.18.16 up to 6.18.*; from 6.19.6 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 5.12 before 5.15.202; from 5.16 before 6.1.165; from 6.2 before 6.6.128; from 6.7 before 6.12.75; from 6.13 before 6.18.16; from 6.19 before 6.19.6

## References

- <https://git.kernel.org/stable/c/f2a1998bc0053ebfe137f65081ed13afd9f34502> (patch)
- <https://git.kernel.org/stable/c/59e372aa4cf60e2500eba7f978acdcb18bb49032> (patch)
- <https://git.kernel.org/stable/c/cabd025182cfed4a19b3aab57493e312d681e398> (patch)
- <https://git.kernel.org/stable/c/2dedda97a64e7735844609c6c77c0dd953d73833> (patch)
- <https://git.kernel.org/stable/c/8ecb21c20387cc0c8aa00489a21ccc69f6b0f5d1> (patch)
- <https://git.kernel.org/stable/c/fb69e4842f5b463ff5f121d2ac7746014e3477ea> (patch)
- <https://git.kernel.org/stable/c/eee13cbccacb6d0a3120c126b8544030905b069d> (patch)

## Sources

- CVE List: [CVE-2026-43312](https://www.cve.org/CVERecord?id=CVE-2026-43312), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2026-43312](https://nvd.nist.gov/vuln/detail/CVE-2026-43312), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-43312 · Whole record: https://cve.day/CVE-2026-43312.json · Rebuilt by cve.day 2026-11-25T22:59:20.985Z
