CVE-2026-43312 (GCVE-0-2026-43312)

Vulnerability from cvelistv5 – Published: 2026-05-08 13:11 – Updated: 2026-05-08 13:11
VLAI?
Title
media: i2c: ov5647: Initialize subdev before controls
Summary
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.
Severity ?
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 4974c2f19fd810ec9a4e534bfc69e176256b7a03 , < f2a1998bc0053ebfe137f65081ed13afd9f34502 (git)
Affected: 4974c2f19fd810ec9a4e534bfc69e176256b7a03 , < 59e372aa4cf60e2500eba7f978acdcb18bb49032 (git)
Affected: 4974c2f19fd810ec9a4e534bfc69e176256b7a03 , < cabd025182cfed4a19b3aab57493e312d681e398 (git)
Affected: 4974c2f19fd810ec9a4e534bfc69e176256b7a03 , < 2dedda97a64e7735844609c6c77c0dd953d73833 (git)
Affected: 4974c2f19fd810ec9a4e534bfc69e176256b7a03 , < 8ecb21c20387cc0c8aa00489a21ccc69f6b0f5d1 (git)
Affected: 4974c2f19fd810ec9a4e534bfc69e176256b7a03 , < fb69e4842f5b463ff5f121d2ac7746014e3477ea (git)
Affected: 4974c2f19fd810ec9a4e534bfc69e176256b7a03 , < eee13cbccacb6d0a3120c126b8544030905b069d (git)
Create a notification for this product.
    Linux Linux Affected: 5.12
Unaffected: 0 , < 5.12 (semver)
Unaffected: 5.15.202 , ≤ 5.15.* (semver)
Unaffected: 6.1.165 , ≤ 6.1.* (semver)
Unaffected: 6.6.128 , ≤ 6.6.* (semver)
Unaffected: 6.12.75 , ≤ 6.12.* (semver)
Unaffected: 6.18.16 , ≤ 6.18.* (semver)
Unaffected: 6.19.6 , ≤ 6.19.* (semver)
Unaffected: 7.0 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/media/i2c/ov5647.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "f2a1998bc0053ebfe137f65081ed13afd9f34502",
              "status": "affected",
              "version": "4974c2f19fd810ec9a4e534bfc69e176256b7a03",
              "versionType": "git"
            },
            {
              "lessThan": "59e372aa4cf60e2500eba7f978acdcb18bb49032",
              "status": "affected",
              "version": "4974c2f19fd810ec9a4e534bfc69e176256b7a03",
              "versionType": "git"
            },
            {
              "lessThan": "cabd025182cfed4a19b3aab57493e312d681e398",
              "status": "affected",
              "version": "4974c2f19fd810ec9a4e534bfc69e176256b7a03",
              "versionType": "git"
            },
            {
              "lessThan": "2dedda97a64e7735844609c6c77c0dd953d73833",
              "status": "affected",
              "version": "4974c2f19fd810ec9a4e534bfc69e176256b7a03",
              "versionType": "git"
            },
            {
              "lessThan": "8ecb21c20387cc0c8aa00489a21ccc69f6b0f5d1",
              "status": "affected",
              "version": "4974c2f19fd810ec9a4e534bfc69e176256b7a03",
              "versionType": "git"
            },
            {
              "lessThan": "fb69e4842f5b463ff5f121d2ac7746014e3477ea",
              "status": "affected",
              "version": "4974c2f19fd810ec9a4e534bfc69e176256b7a03",
              "versionType": "git"
            },
            {
              "lessThan": "eee13cbccacb6d0a3120c126b8544030905b069d",
              "status": "affected",
              "version": "4974c2f19fd810ec9a4e534bfc69e176256b7a03",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/media/i2c/ov5647.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.12"
            },
            {
              "lessThan": "5.12",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.202",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.165",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.128",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.75",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.16",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.19.*",
              "status": "unaffected",
              "version": "6.19.6",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.0",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.202",
                  "versionStartIncluding": "5.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.165",
                  "versionStartIncluding": "5.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.128",
                  "versionStartIncluding": "5.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.75",
                  "versionStartIncluding": "5.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.16",
                  "versionStartIncluding": "5.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.19.6",
                  "versionStartIncluding": "5.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0",
                  "versionStartIncluding": "5.12",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: i2c: ov5647: Initialize subdev before controls\n\nIn ov5647_init_controls() we call v4l2_get_subdevdata, but it is\ninitialized by v4l2_i2c_subdev_init() in the probe, which currently\nhappens after init_controls(). This can result in a segfault if the\nerror condition is hit, and we try to access i2c_client, so fix the\norder."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-05-08T13:11:29.719Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/f2a1998bc0053ebfe137f65081ed13afd9f34502"
        },
        {
          "url": "https://git.kernel.org/stable/c/59e372aa4cf60e2500eba7f978acdcb18bb49032"
        },
        {
          "url": "https://git.kernel.org/stable/c/cabd025182cfed4a19b3aab57493e312d681e398"
        },
        {
          "url": "https://git.kernel.org/stable/c/2dedda97a64e7735844609c6c77c0dd953d73833"
        },
        {
          "url": "https://git.kernel.org/stable/c/8ecb21c20387cc0c8aa00489a21ccc69f6b0f5d1"
        },
        {
          "url": "https://git.kernel.org/stable/c/fb69e4842f5b463ff5f121d2ac7746014e3477ea"
        },
        {
          "url": "https://git.kernel.org/stable/c/eee13cbccacb6d0a3120c126b8544030905b069d"
        }
      ],
      "title": "media: i2c: ov5647: Initialize subdev before controls",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-43312",
    "datePublished": "2026-05-08T13:11:29.719Z",
    "dateReserved": "2026-05-01T14:12:56.001Z",
    "dateUpdated": "2026-05-08T13:11:29.719Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-43312\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-05-08T14:16:39.587\",\"lastModified\":\"2026-05-08T14:16:39.587\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nmedia: i2c: ov5647: Initialize subdev before controls\\n\\nIn ov5647_init_controls() we call v4l2_get_subdevdata, but it is\\ninitialized by v4l2_i2c_subdev_init() in the probe, which currently\\nhappens after init_controls(). This can result in a segfault if the\\nerror condition is hit, and we try to access i2c_client, so fix the\\norder.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/2dedda97a64e7735844609c6c77c0dd953d73833\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/59e372aa4cf60e2500eba7f978acdcb18bb49032\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/8ecb21c20387cc0c8aa00489a21ccc69f6b0f5d1\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/cabd025182cfed4a19b3aab57493e312d681e398\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/eee13cbccacb6d0a3120c126b8544030905b069d\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/f2a1998bc0053ebfe137f65081ed13afd9f34502\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/fb69e4842f5b463ff5f121d2ac7746014e3477ea\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…