Skip to content
Heist/ feed
Unrated

ipmi: si: Fix NULL pointer dereference after failed registration

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: ipmi: si: Fix NULL pointer dereference after failed registration try_smi_init() allocates new_smi->si_sm and later calls ipmi_register_smi_mod(), which maps to ipmi_add_smi(). During ipmi_add_smi(), the upper IPMI message handler obtains the initial BMC device information through __bmc_get_device_id(). This can fail if the BMC does not return a successful response to the Get Device ID command. When the BMC returns a nonzero completion code, the device-id helper retries the command and eventually returns -EIO if the device ID still cannot be fetched. On this failure path, ipmi_add_smi() logs "Unable to get the device id" and goes to out_err_started, where it invokes the lower driver's shutdown callback. try_smi_init() then logs the returned registration failure: ipmi_si IPI0001:00: IPMI message handler: Unable to get the device id: -5 ipmi_si IPI0001:00: Unable to register device: error -5 For ipmi_si, the shutdown callback is shutdown_smi(), which cleans up the SI state machine data, frees smi_info->si_sm, and sets smi_info->si_sm and smi_info->intf to NULL. However, intf->in_shutdown is not set on this failed-registration rollback path. Therefore, the asynchronous redo_bmc_reg work item can still retry BMC device-id probing after the lower driver has already cleared its SI state machine data. In the observed case, that retry path reached start_next_msg(), which passed the NULL smi_info->si_sm pointer to the

Announced Source revision 1
Original source ↗

CVE-2026-81005

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-81005

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "2512e40e48d21d8bac09f7e91d2c3ceb2d3b50b2",
        "lessThan": "75ecc80ef0614a9f8441ab476fb748d3e919bea8",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "2512e40e48d21d8bac09f7e91d2c3ceb2d3b50b2",
        "lessThan": "b11a1e545ad7a2f8f9ba7276b4ae9429c3399456",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "2512e40e48d21d8bac09f7e91d2c3ceb2d3b50b2",
        "lessThan": "f390b0e781ca689515b659f94ef05f01497ed833",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "2512e40e48d21d8bac09f7e91d2c3ceb2d3b50b2",
        "lessThan": "d377bf743f29b41729a084a633874ef9c1a13c6a",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "2512e40e48d21d8bac09f7e91d2c3ceb2d3b50b2",
        "lessThan": "d4be659a3e56f4eb16039ab8a1162efea086a714",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "2512e40e48d21d8bac09f7e91d2c3ceb2d3b50b2",
        "lessThan": "53af3a8bae0a93c1342e1b5519812203332aca8e",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "2512e40e48d21d8bac09f7e91d2c3ceb2d3b50b2",
        "lessThan": "8ada17dd4c4ffd6b94621e735d77eda196ce118f",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "2512e40e48d21d8bac09f7e91d2c3ceb2d3b50b2",
        "lessThan": "6d920a75df9a83ab096b3cde7a643b656e4fdfeb",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "288bd736c8a027040fc261c86a87b65e7bc3f6fa",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "4.18.10",
        "lessThan": "4.19",
        "versionType": "semver"
      }
    ],
    "programFiles": [
      "drivers/char/ipmi/ipmi_msghandler.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "4.19"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "4.19",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "5.10.270",
        "versionType": "semver",
        "lessThanOrEqual": "5.10.*"
      },
      {
        "status": "unaffected",
        "version": "5.15.221",
        "versionType": "semver",
        "lessThanOrEqual": "5.15.*"
      },
      {
        "status": "unaffected",
        "version": "6.1.188",
        "versionType": "semver",
        "lessThanOrEqual": "6.1.*"
      },
      {
        "status": "unaffected",
        "version": "6.6.157",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.109",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.50",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.2.4",
        "versionType": "semver",
        "lessThanOrEqual": "7.2.*"
      },
      {
        "status": "unaffected",
        "version": "7.3",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/char/ipmi/ipmi_msghandler.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-81005

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#34960 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement