Skip to content
Heist/ feed
Back to feed
HighFix available

ipmi:msghandler: Fix potential memory corruption in ipmi_create_user()

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: ipmi:msghandler: Fix potential memory corruption in ipmi_create_user() The "intf" list iterator is an invalid pointer if the correct "intf->intf_num" is not found. Calling atomic_dec(&intf->nr_users) on and invalid pointer will lead to memory corruption. We don't really need to call atomic_dec() if we haven't called atomic_add_return() so update the if (intf->in_shutdown) path as well.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.1.146, 6.12.39, 6.15.7, 6.6.99
CVEs
CVE-2025-38456
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 13:32 UTC · Revision 1

Source evidence

ipmi:msghandler: Fix potential memory corruption in ipmi_create_user()

core-osv · Original source

Published 25 Jul 2025, 15:27 UTC

In the Linux kernel, the following vulnerability has been resolved: ipmi:msghandler: Fix potential memory corruption in ipmi_create_user() The "intf" list iterator is an invalid pointer if the correct "intf->intf_num" is not found. Calling atomic_dec(&intf->nr_users) on and invalid pointer will lead to memory corruption. We don't really need to call atomic_dec() if we haven't called atomic_add_return() so update the if (intf->in_shutdown) path as well.

osv:CVE-2025-38456

Kernel

Fixed versions: 6.1.146, 6.6.99, 6.12.39, 6.15.7

Complete source record
{
  "id": "c15e028649089b378c7efc9d5fc3dccbce906ec51e6c96b4ef4db64123ab8810",
  "url": "https://osv.dev/vulnerability/CVE-2025-38456",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "ipmi:msghandler: Fix potential memory corruption in ipmi_create_user()",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: ipmi:msghandler: Fix potential memory corruption in ipmi_create_user() The \"intf\" list iterator is an invalid pointer if the correct \"intf->intf_num\" is not found. Calling atomic_dec(&intf->nr_users) on and invalid pointer will lead to memory corruption. We don't really need to call atomic_dec() if we haven't called atomic_add_return() so update the if (intf->in_shutdown) path as well.",
    "evidence": "osv:CVE-2025-38456",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.1.146",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.99",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.39",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.15.7",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2025-38456",
      "aliases": [
        "CVE-2025-38456"
      ],
      "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": "8e76741c3d8b20dfa2d6c30fa10ff927cfd93d82"
                },
                {
                  "fixed": "cbc1670297f675854e982d23c8583900ff0cc67a"
                },
                {
                  "fixed": "e2d5c005dfc96fe857676d1d8ac46b29275cb89b"
                },
                {
                  "fixed": "9e0d33e75c1604c3fad5586ad4dfa3b2695a3950"
                },
                {
                  "fixed": "7c1a6ddb99858e7d68961f74ae27caeeeca67b6a"
                },
                {
                  "fixed": "fa332f5dc6fc662ad7d3200048772c96b861cf6b"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38456.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.19.0"
                },
                {
                  "fixed": "6.1.146"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.99"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.39"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.15.7"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38456.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:36.132825364Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/7c1a6ddb99858e7d68961f74ae27caeeeca67b6a",
        "https://git.kernel.org/stable/c/9e0d33e75c1604c3fad5586ad4dfa3b2695a3950",
        "https://git.kernel.org/stable/c/cbc1670297f675854e982d23c8583900ff0cc67a",
        "https://git.kernel.org/stable/c/e2d5c005dfc96fe857676d1d8ac46b29275cb89b",
        "https://git.kernel.org/stable/c/fa332f5dc6fc662ad7d3200048772c96b861cf6b",
        "https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38456.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-38456",
        "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/2025/38xxx/CVE-2025-38456.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-38456",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 503155,
  "published_at": "2025-07-25T15:27:35.559+00:00"
}