Skip to content
Heist/ feed
Back to feed
HighFix available

i2c: core: fix adapter registration race

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: i2c: core: fix adapter registration race Adapters can be looked up based on their id using i2c_get_adapter() which takes a reference to the embedded struct device. Make sure that the adapter (including its struct device) has been initialised before adding it to the IDR to avoid accessing uninitialised data which could, for example, lead to NULL-pointer dereferences or use-after-free. Note that the i2c-dev chardev, which is registered from a bus notifier, currently uses i2c_get_adapter() so the adapter needs to be added to the IDR before registration.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.261, 5.15.212, 6.1.178, 6.12.95, 6.18.38, 6.6.145, 7.1.3
CVEs
CVE-2026-53400
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 02:02 UTC · Revision 1

Source evidence

i2c: core: fix adapter registration race

core-osv · Original source

Published 19 Jul 2026, 12:02 UTC

In the Linux kernel, the following vulnerability has been resolved: i2c: core: fix adapter registration race Adapters can be looked up based on their id using i2c_get_adapter() which takes a reference to the embedded struct device. Make sure that the adapter (including its struct device) has been initialised before adding it to the IDR to avoid accessing uninitialised data which could, for example, lead to NULL-pointer dereferences or use-after-free. Note that the i2c-dev chardev, which is registered from a bus notifier, currently uses i2c_get_adapter() so the adapter needs to be added to the IDR before registration.

osv:CVE-2026-53400

Kernel

Fixed versions: 5.10.261, 5.15.212, 6.1.178, 6.6.145, 6.12.95, 6.18.38, 7.1.3

Complete source record
{
  "id": "6fd9c7ce8d74502849dcf07b1597873ca52b7b13c00d108614b9b29171d5879f",
  "url": "https://osv.dev/vulnerability/CVE-2026-53400",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "i2c: core: fix adapter registration race",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: i2c: core: fix adapter registration race Adapters can be looked up based on their id using i2c_get_adapter() which takes a reference to the embedded struct device. Make sure that the adapter (including its struct device) has been initialised before adding it to the IDR to avoid accessing uninitialised data which could, for example, lead to NULL-pointer dereferences or use-after-free. Note that the i2c-dev chardev, which is registered from a bus notifier, currently uses i2c_get_adapter() so the adapter needs to be added to the IDR before registration.",
    "evidence": "osv:CVE-2026-53400",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.10.261",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.212",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.178",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.145",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.95",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.38",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "7.1.3",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-53400",
      "aliases": [
        "CVE-2026-53400"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "6e13e641841833cc2aa5baefe89bb04bc388801b"
                },
                {
                  "fixed": "2e57c788e71f1763445f812eba4e0b4a2fbd0646"
                },
                {
                  "fixed": "a4365bc41baaf67f3a5aa8556d23544e6ec7480a"
                },
                {
                  "fixed": "1febb174815bcae56d73587e99e8f87e02f0784d"
                },
                {
                  "fixed": "da9d8d9711f78deebc202d0cffcf577e45ee8621"
                },
                {
                  "fixed": "78793c75dc6d0ff2e4d50ad617349b328a99054e"
                },
                {
                  "fixed": "6a946038f2a5a8c29048c6af369d4e391448a5c5"
                },
                {
                  "fixed": "a4c8094bbf4c6fa68b17e3b16f6a0a1b7a14f3e0"
                },
                {
                  "fixed": "ba14d7cf2fe7284610a29854bdff22b2537d3ce6"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53400.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "2.6.22"
                },
                {
                  "fixed": "5.10.261"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.212"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.178"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.145"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.95"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.38"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "7.1.3"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53400.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:48.898370029Z",
      "provider": "osv",
      "references": [
        "https://cert-portal.siemens.com/productcert/html/ssa-019113.html",
        "https://cert-portal.siemens.com/productcert/html/ssa-457936.html",
        "https://git.kernel.org/stable/c/1febb174815bcae56d73587e99e8f87e02f0784d",
        "https://git.kernel.org/stable/c/2e57c788e71f1763445f812eba4e0b4a2fbd0646",
        "https://git.kernel.org/stable/c/6a946038f2a5a8c29048c6af369d4e391448a5c5",
        "https://git.kernel.org/stable/c/78793c75dc6d0ff2e4d50ad617349b328a99054e",
        "https://git.kernel.org/stable/c/a4365bc41baaf67f3a5aa8556d23544e6ec7480a",
        "https://git.kernel.org/stable/c/a4c8094bbf4c6fa68b17e3b16f6a0a1b7a14f3e0",
        "https://git.kernel.org/stable/c/ba14d7cf2fe7284610a29854bdff22b2537d3ce6",
        "https://git.kernel.org/stable/c/da9d8d9711f78deebc202d0cffcf577e45ee8621",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53400.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-53400",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53400.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-53400",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 517203,
  "published_at": "2026-07-19T12:02:00.632+00:00"
}