CVE-2023-53611 (GCVE-0-2023-53611)

Vulnerability from cvelistv5 – Published: 2025-10-04 15:44 – Updated: 2025-10-04 15:44
VLAI?
Title
ipmi_si: fix a memleak in try_smi_init()
Summary
In the Linux kernel, the following vulnerability has been resolved: ipmi_si: fix a memleak in try_smi_init() Kmemleak reported the following leak info in try_smi_init(): unreferenced object 0xffff00018ecf9400 (size 1024): comm "modprobe", pid 2707763, jiffies 4300851415 (age 773.308s) backtrace: [<000000004ca5b312>] __kmalloc+0x4b8/0x7b0 [<00000000953b1072>] try_smi_init+0x148/0x5dc [ipmi_si] [<000000006460d325>] 0xffff800081b10148 [<0000000039206ea5>] do_one_initcall+0x64/0x2a4 [<00000000601399ce>] do_init_module+0x50/0x300 [<000000003c12ba3c>] load_module+0x7a8/0x9e0 [<00000000c246fffe>] __se_sys_init_module+0x104/0x180 [<00000000eea99093>] __arm64_sys_init_module+0x24/0x30 [<0000000021b1ef87>] el0_svc_common.constprop.0+0x94/0x250 [<0000000070f4f8b7>] do_el0_svc+0x48/0xe0 [<000000005a05337f>] el0_svc+0x24/0x3c [<000000005eb248d6>] el0_sync_handler+0x160/0x164 [<0000000030a59039>] el0_sync+0x160/0x180 The problem was that when an error occurred before handlers registration and after allocating `new_smi->si_sm`, the variable wouldn't be freed in the error handling afterwards since `shutdown_smi()` hadn't been registered yet. Fix it by adding a `kfree()` in the error handling path in `try_smi_init()`.
Severity ?
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 7960f18a56475bf2177c5ff56c72eb4c12c56440 , < b9bc8fbb2d416ce87f0342478dc9fcfd79f2c65f (git)
Affected: 7960f18a56475bf2177c5ff56c72eb4c12c56440 , < f53ab5a2bf20fed59a2f7542d3453228b8056358 (git)
Affected: 7960f18a56475bf2177c5ff56c72eb4c12c56440 , < 5c5f02e16b919c8cb6024dc3778c8d8f1fb1f26b (git)
Affected: 7960f18a56475bf2177c5ff56c72eb4c12c56440 , < cbb7d8a4b4beb3061b3a1847a742983a01dca381 (git)
Affected: 7960f18a56475bf2177c5ff56c72eb4c12c56440 , < 09cb2a71b2e982015fe0464f28da1ab42b8e6375 (git)
Affected: 7960f18a56475bf2177c5ff56c72eb4c12c56440 , < 1bfcfea0fae0d0a6c6ff5543e6d704b3807b83ce (git)
Affected: 7960f18a56475bf2177c5ff56c72eb4c12c56440 , < 7291af9a738d936c2d6869d030711dceb68404d0 (git)
Affected: 7960f18a56475bf2177c5ff56c72eb4c12c56440 , < 6cf1a126de2992b4efe1c3c4d398f8de4aed6e3f (git)
Create a notification for this product.
    Linux Linux Affected: 4.18
Unaffected: 0 , < 4.18 (semver)
Unaffected: 4.19.295 , ≤ 4.19.* (semver)
Unaffected: 5.4.257 , ≤ 5.4.* (semver)
Unaffected: 5.10.195 , ≤ 5.10.* (semver)
Unaffected: 5.15.132 , ≤ 5.15.* (semver)
Unaffected: 6.1.53 , ≤ 6.1.* (semver)
Unaffected: 6.4.16 , ≤ 6.4.* (semver)
Unaffected: 6.5.3 , ≤ 6.5.* (semver)
Unaffected: 6.6 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/char/ipmi/ipmi_si_intf.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "b9bc8fbb2d416ce87f0342478dc9fcfd79f2c65f",
              "status": "affected",
              "version": "7960f18a56475bf2177c5ff56c72eb4c12c56440",
              "versionType": "git"
            },
            {
              "lessThan": "f53ab5a2bf20fed59a2f7542d3453228b8056358",
              "status": "affected",
              "version": "7960f18a56475bf2177c5ff56c72eb4c12c56440",
              "versionType": "git"
            },
            {
              "lessThan": "5c5f02e16b919c8cb6024dc3778c8d8f1fb1f26b",
              "status": "affected",
              "version": "7960f18a56475bf2177c5ff56c72eb4c12c56440",
              "versionType": "git"
            },
            {
              "lessThan": "cbb7d8a4b4beb3061b3a1847a742983a01dca381",
              "status": "affected",
              "version": "7960f18a56475bf2177c5ff56c72eb4c12c56440",
              "versionType": "git"
            },
            {
              "lessThan": "09cb2a71b2e982015fe0464f28da1ab42b8e6375",
              "status": "affected",
              "version": "7960f18a56475bf2177c5ff56c72eb4c12c56440",
              "versionType": "git"
            },
            {
              "lessThan": "1bfcfea0fae0d0a6c6ff5543e6d704b3807b83ce",
              "status": "affected",
              "version": "7960f18a56475bf2177c5ff56c72eb4c12c56440",
              "versionType": "git"
            },
            {
              "lessThan": "7291af9a738d936c2d6869d030711dceb68404d0",
              "status": "affected",
              "version": "7960f18a56475bf2177c5ff56c72eb4c12c56440",
              "versionType": "git"
            },
            {
              "lessThan": "6cf1a126de2992b4efe1c3c4d398f8de4aed6e3f",
              "status": "affected",
              "version": "7960f18a56475bf2177c5ff56c72eb4c12c56440",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/char/ipmi/ipmi_si_intf.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.18"
            },
            {
              "lessThan": "4.18",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.295",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.257",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.195",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.132",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.53",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.4.*",
              "status": "unaffected",
              "version": "6.4.16",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.5.*",
              "status": "unaffected",
              "version": "6.5.3",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.6",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.295",
                  "versionStartIncluding": "4.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.257",
                  "versionStartIncluding": "4.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.195",
                  "versionStartIncluding": "4.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.132",
                  "versionStartIncluding": "4.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.53",
                  "versionStartIncluding": "4.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.4.16",
                  "versionStartIncluding": "4.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.5.3",
                  "versionStartIncluding": "4.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6",
                  "versionStartIncluding": "4.18",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nipmi_si: fix a memleak in try_smi_init()\n\nKmemleak reported the following leak info in try_smi_init():\n\nunreferenced object 0xffff00018ecf9400 (size 1024):\n  comm \"modprobe\", pid 2707763, jiffies 4300851415 (age 773.308s)\n  backtrace:\n    [\u003c000000004ca5b312\u003e] __kmalloc+0x4b8/0x7b0\n    [\u003c00000000953b1072\u003e] try_smi_init+0x148/0x5dc [ipmi_si]\n    [\u003c000000006460d325\u003e] 0xffff800081b10148\n    [\u003c0000000039206ea5\u003e] do_one_initcall+0x64/0x2a4\n    [\u003c00000000601399ce\u003e] do_init_module+0x50/0x300\n    [\u003c000000003c12ba3c\u003e] load_module+0x7a8/0x9e0\n    [\u003c00000000c246fffe\u003e] __se_sys_init_module+0x104/0x180\n    [\u003c00000000eea99093\u003e] __arm64_sys_init_module+0x24/0x30\n    [\u003c0000000021b1ef87\u003e] el0_svc_common.constprop.0+0x94/0x250\n    [\u003c0000000070f4f8b7\u003e] do_el0_svc+0x48/0xe0\n    [\u003c000000005a05337f\u003e] el0_svc+0x24/0x3c\n    [\u003c000000005eb248d6\u003e] el0_sync_handler+0x160/0x164\n    [\u003c0000000030a59039\u003e] el0_sync+0x160/0x180\n\nThe problem was that when an error occurred before handlers registration\nand after allocating `new_smi-\u003esi_sm`, the variable wouldn\u0027t be freed in\nthe error handling afterwards since `shutdown_smi()` hadn\u0027t been\nregistered yet. Fix it by adding a `kfree()` in the error handling path\nin `try_smi_init()`."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-10-04T15:44:19.593Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/b9bc8fbb2d416ce87f0342478dc9fcfd79f2c65f"
        },
        {
          "url": "https://git.kernel.org/stable/c/f53ab5a2bf20fed59a2f7542d3453228b8056358"
        },
        {
          "url": "https://git.kernel.org/stable/c/5c5f02e16b919c8cb6024dc3778c8d8f1fb1f26b"
        },
        {
          "url": "https://git.kernel.org/stable/c/cbb7d8a4b4beb3061b3a1847a742983a01dca381"
        },
        {
          "url": "https://git.kernel.org/stable/c/09cb2a71b2e982015fe0464f28da1ab42b8e6375"
        },
        {
          "url": "https://git.kernel.org/stable/c/1bfcfea0fae0d0a6c6ff5543e6d704b3807b83ce"
        },
        {
          "url": "https://git.kernel.org/stable/c/7291af9a738d936c2d6869d030711dceb68404d0"
        },
        {
          "url": "https://git.kernel.org/stable/c/6cf1a126de2992b4efe1c3c4d398f8de4aed6e3f"
        }
      ],
      "title": "ipmi_si: fix a memleak in try_smi_init()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2023-53611",
    "datePublished": "2025-10-04T15:44:19.593Z",
    "dateReserved": "2025-10-04T15:40:38.480Z",
    "dateUpdated": "2025-10-04T15:44:19.593Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

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…