← Back to CVE Explorer

CVE-2026-93200

Full vulnerability record from the local CVENow database.

Description

In the Linux kernel, the following vulnerability has been resolved: i3c: master: Fix use-after-free of master->this sysfs attribute callbacks for the master controller device dereference master->this. However, master->this is freed in i3c_master_detach_free_devs() before the master device itself is released. As a result, sysfs accesses can dereference a freed master->this pointer, leading to a use-after-free. Keep master->this alive until i3c_masterdev_release(), which is called after the master device and its sysfs state are being torn down. Do not free master->this as part of the normal device detach path. On the error path in i3c_master_set_info(), reset master->this and bus.cur_master to NULL before freeing the allocated device.

Severity
Not scored
CVSS score
Not available
Vulnerability status
Received
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2026-09-17 17:18:16.297000
Last modified
2026-10-30 13:21:00.113000
View original CVE JSON
{
  "id": "CVE-2026-93200",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "published": "2026-09-17T17:18:16.297",
  "lastModified": "2026-10-30T13:21:00.113",
  "vulnStatus": "Received",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ni3c: master: Fix use-after-free of master->this\n\nsysfs attribute callbacks for the master controller device dereference\nmaster->this.  However, master->this is freed in\ni3c_master_detach_free_devs() before the master device itself is\nreleased.\n\nAs a result, sysfs accesses can dereference a freed master->this\npointer, leading to a use-after-free.\n\nKeep master->this alive until i3c_masterdev_release(), which is called\nafter the master device and its sysfs state are being torn down. Do not\nfree master->this as part of the normal device detach path.\n\nOn the error path in i3c_master_set_info(), reset master->this and\nbus.cur_master to NULL before freeing the allocated device."
    }
  ],
  "affected": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "programFiles": [
            "drivers/i3c/master.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0",
              "lessThan": "a9b9cae0bd887ef0d438887f20b0a417491e45f0",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0",
              "lessThan": "94af669037d129914828a851d8b2a79b4537b73f",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0",
              "lessThan": "e766605a0490723df7b61e6abd0c392889732dd7",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0",
              "lessThan": "027679d613ea73b8a00831369ec34eea804ce1bd",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0",
              "lessThan": "23a1c4288a60e253a05a882bd8928ed61beb4a48",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0",
              "lessThan": "4f3145db05fede36b35f8249b8acde5bd5d54864",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0",
              "lessThan": "50034d8d0f797c3a7a599f750a7d3e792e80dea5",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0",
              "lessThan": "feb0ed76601f3c2f91f08688c5a7d8b9d382f720",
              "versionType": "git",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "programFiles": [
            "drivers/i3c/master.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "5.0",
              "status": "affected"
            },
            {
              "version": "0",
              "lessThan": "5.0",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "5.10.273",
              "lessThanOrEqual": "5.10.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "5.15.224",
              "lessThanOrEqual": "5.15.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.1.191",
              "lessThanOrEqual": "6.1.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.6.160",
              "lessThanOrEqual": "6.6.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.12.112",
              "lessThanOrEqual": "6.12.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.18.52",
              "lessThanOrEqual": "6.18.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.2.6",
              "lessThanOrEqual": "7.2.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.3",
              "lessThanOrEqual": "*",
              "versionType": "original_commit_for_fix",
              "status": "unaffected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {},
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/027679d613ea73b8a00831369ec34eea804ce1bd",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/23a1c4288a60e253a05a882bd8928ed61beb4a48",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/4f3145db05fede36b35f8249b8acde5bd5d54864",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/50034d8d0f797c3a7a599f750a7d3e792e80dea5",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/94af669037d129914828a851d8b2a79b4537b73f",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/a9b9cae0bd887ef0d438887f20b0a417491e45f0",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/e766605a0490723df7b61e6abd0c392889732dd7",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/feb0ed76601f3c2f91f08688c5a7d8b9d382f720",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ]
}