GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2026-81006 (GCVE-0-2026-81006)

Vulnerability from cvelistv5 – Published: 2026-09-11 19:42 – Updated: 2026-09-13 06:29
VLAI
Title
ipmi: Remove all sysfs files on registration failure
Summary
In the Linux kernel, the following vulnerability has been resolved: ipmi: Remove all sysfs files on registration failure ipmi_add_smi() creates the nr_users and nr_msgs files before trying to create the maintenance_mode file. If that last creation fails, the error path removes only nr_users before dropping the final reference to the interface. Remove nr_msgs as well so no sysfs attribute embedded in the freed interface remains registered.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 627118470fccc61d7763aa667fcab0a9476843f6 , < d46c97eddcbc53ca885e8bb359930c58884616ff (git)
Affected: 627118470fccc61d7763aa667fcab0a9476843f6 , < b115b7d06f26b3f000d2afda88acb54c7a7cb2c9 (git)
Affected: 627118470fccc61d7763aa667fcab0a9476843f6 , < b6c46ab0bdee90c238e96ea4a74972118c97900d (git)
guessed Create a notification for this product.
Linux Linux Affected: 6.18
Unaffected: 0 , < 6.18 (semver)
Unaffected: 6.18.50 , ≤ 6.18.* (semver)
Unaffected: 7.2.4 , ≤ 7.2.* (semver)
Unaffected: 7.3-rc1 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/char/ipmi/ipmi_msghandler.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "d46c97eddcbc53ca885e8bb359930c58884616ff",
              "status": "affected",
              "version": "627118470fccc61d7763aa667fcab0a9476843f6",
              "versionType": "git"
            },
            {
              "lessThan": "b115b7d06f26b3f000d2afda88acb54c7a7cb2c9",
              "status": "affected",
              "version": "627118470fccc61d7763aa667fcab0a9476843f6",
              "versionType": "git"
            },
            {
              "lessThan": "b6c46ab0bdee90c238e96ea4a74972118c97900d",
              "status": "affected",
              "version": "627118470fccc61d7763aa667fcab0a9476843f6",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/char/ipmi/ipmi_msghandler.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.18"
            },
            {
              "lessThan": "6.18",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.50",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.50",
                  "versionStartIncluding": "6.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.4",
                  "versionStartIncluding": "6.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3-rc1",
                  "versionStartIncluding": "6.18",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nipmi: Remove all sysfs files on registration failure\n\nipmi_add_smi() creates the nr_users and nr_msgs files before trying to\ncreate the maintenance_mode file. If that last creation fails, the error\npath removes only nr_users before dropping the final reference to the\ninterface.\n\nRemove nr_msgs as well so no sysfs attribute embedded in the freed\ninterface remains registered."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - ipmi_add_smi() is reached only from local host-side SMI probe (ipmi_si, ipmi_ssif, ipmi_ipmb, ipmi_powernv) and the dangling nr_msgs file is hit by local sysfs read(2); IPMI-over-LAN is BMC firmware and does not enter this kernel path.\nAC:L - A local attacker can force device_create_file(maintenance_mode) to fail after nr_msgs is installed (memory pressure, hotmod/bind retries), then every read of the leftover attribute is a deterministic use-after-free with no race the attacker cannot control.\nPR:L - DEVICE_ATTR_RO(nr_msgs) is mode 0444 and nr_msgs_show() has no capability check, so any unprivileged local user who can read sysfs can trigger the UAF after a failed SMI registration; this is not limited to init-namespace root and is not a pre-auth network path.\nUI:N - The attacker causes SMI registration failure and then reads the leftover nr_msgs sysfs file themselves; no separate victim action such as mounting a filesystem or opening a hostile file is required.\nS:U - The use-after-free is of host-kernel struct ipmi_smi and its embedded device_attribute; impact stays in the same kernel security authority with no VM, IOMMU, or sandbox boundary crossing.\nC:H - The leftover sysfs attribute is embedded in the kmalloc\u0027d ipmi_smi that intf_free() kfree()s, so nr_msgs_show() container_of() and the users-list walk are a slab use-after-free that can be reclaimed for arbitrary kernel memory disclosure.\nI:H - sysfs dispatches through device_attribute.show stored in the freed ipmi_smi, and nr_msgs_show() takes users_mutex and walks intf-\u003eusers on that object, enabling heap spray and control-flow hijack per kernel UAF guidance.\nA:H - Reading the dangling nr_msgs file dereferences freed ipmi_smi memory (mutex_lock and list traversal) and readily oopses or panics the kernel; any use-after-free is High availability impact even without full exploitation."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-09-13T06:29:09.887Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/d46c97eddcbc53ca885e8bb359930c58884616ff"
        },
        {
          "url": "https://git.kernel.org/stable/c/b115b7d06f26b3f000d2afda88acb54c7a7cb2c9"
        },
        {
          "url": "https://git.kernel.org/stable/c/b6c46ab0bdee90c238e96ea4a74972118c97900d"
        }
      ],
      "title": "ipmi: Remove all sysfs files on registration failure",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-81006",
    "datePublished": "2026-09-11T19:42:58.111Z",
    "dateReserved": "2026-08-26T14:34:25.812Z",
    "dateUpdated": "2026-09-13T06:29:09.887Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-81006",
      "date": "2026-09-17",
      "epss": "0.00127",
      "percentile": "0.02714"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "drivers/char/ipmi/ipmi_msghandler.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "d46c97eddcbc53ca885e8bb359930c58884616ff",
                    "status": "affected",
                    "version": "627118470fccc61d7763aa667fcab0a9476843f6",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "b115b7d06f26b3f000d2afda88acb54c7a7cb2c9",
                    "status": "affected",
                    "version": "627118470fccc61d7763aa667fcab0a9476843f6",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "b6c46ab0bdee90c238e96ea4a74972118c97900d",
                    "status": "affected",
                    "version": "627118470fccc61d7763aa667fcab0a9476843f6",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "drivers/char/ipmi/ipmi_msghandler.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "6.18"
                  },
                  {
                    "lessThan": "6.18",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.50",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.2.*",
                    "status": "unaffected",
                    "version": "7.2.4",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.3-rc1",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nipmi: Remove all sysfs files on registration failure\n\nipmi_add_smi() creates the nr_users and nr_msgs files before trying to\ncreate the maintenance_mode file. If that last creation fails, the error\npath removes only nr_users before dropping the final reference to the\ninterface.\n\nRemove nr_msgs as well so no sysfs attribute embedded in the freed\ninterface remains registered."
          }
        ],
        "id": "CVE-2026-81006",
        "lastModified": "2026-09-13T07:17:07.273",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 7.8,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 1.8,
              "impactScore": 5.9,
              "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-09-11T20:19:09.313",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/b115b7d06f26b3f000d2afda88acb54c7a7cb2c9"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/b6c46ab0bdee90c238e96ea4a74972118c97900d"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/d46c97eddcbc53ca885e8bb359930c58884616ff"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-09-14T20:45:28+00:00",
      "cve": "CVE-2026-81006",
      "id": "CVE-2026-81006",
      "initial_release_date": "2026-09-11T00:00:00+00:00",
      "product_status:known_not_affected": "276",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: ipmi: Remove all sysfs files on registration failure",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-81006.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "important",
      "current_release_date": "2026-09-15T01:04:13Z",
      "cve": "CVE-2026-81006",
      "id": "CVE-2026-81006",
      "initial_release_date": "2026-09-12T16:35:44Z",
      "product_status:known_not_affected": "353",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-81006",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-81006.json",
      "version": "4"
    }
  }
}



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…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…