{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-53611","id":"CVE-2023-53611","title":"ipmi_si: fix a memleak in try_smi_init()","description":"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    [<000000004ca5b312>] __kmalloc+0x4b8/0x7b0\n    [<00000000953b1072>] try_smi_init+0x148/0x5dc","descriptionLong":"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    [<000000004ca5b312>] __kmalloc+0x4b8/0x7b0\n    [<00000000953b1072>] try_smi_init+0x148/0x5dc [ipmi_si]\n    [<000000006460d325>] 0xffff800081b10148\n    [<0000000039206ea5>] do_one_initcall+0x64/0x2a4\n    [<00000000601399ce>] do_init_module+0x50/0x300\n    [<000000003c12ba3c>] load_module+0x7a8/0x9e0\n    [<00000000c246fffe>] __se_sys_init_module+0x104/0x180\n    [<00000000eea99093>] __arm64_sys_init_module+0x24/0x30\n    [<0000000021b1ef87>] el0_svc_common.constprop.0+0x94/0x250\n    [<0000000070f4f8b7>] do_el0_svc+0x48/0xe0\n    [<000000005a05337f>] el0_svc+0x24/0x3c\n    [<000000005eb248d6>] el0_sync_handler+0x160/0x164\n    [<0000000030a59039>] el0_sync+0x160/0x180\n\nThe problem was that when an error occurred before handlers registration\nand after allocating `new_smi->si_sm`, the variable wouldn't be freed in\nthe error handling afterwards since `shutdown_smi()` hadn't been\nregistered yet. Fix it by adding a `kfree()` in the error handling path\nin `try_smi_init()`.","published":"2025-10-04T15:44:19.593Z","updated":"2026-10-28T02:30:47.911047578Z","reserved":"2025-10-04T15:40:38.480Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"7960f18a56475bf2177c5ff56c72eb4c12c56440","lessThan":"b9bc8fbb2d416ce87f0342478dc9fcfd79f2c65f","status":"affected","versionType":"git"},{"version":"7960f18a56475bf2177c5ff56c72eb4c12c56440","lessThan":"f53ab5a2bf20fed59a2f7542d3453228b8056358","status":"affected","versionType":"git"},{"version":"7960f18a56475bf2177c5ff56c72eb4c12c56440","lessThan":"5c5f02e16b919c8cb6024dc3778c8d8f1fb1f26b","status":"affected","versionType":"git"},{"version":"7960f18a56475bf2177c5ff56c72eb4c12c56440","lessThan":"cbb7d8a4b4beb3061b3a1847a742983a01dca381","status":"affected","versionType":"git"},{"version":"7960f18a56475bf2177c5ff56c72eb4c12c56440","lessThan":"09cb2a71b2e982015fe0464f28da1ab42b8e6375","status":"affected","versionType":"git"},{"version":"7960f18a56475bf2177c5ff56c72eb4c12c56440","lessThan":"1bfcfea0fae0d0a6c6ff5543e6d704b3807b83ce","status":"affected","versionType":"git"},{"version":"7960f18a56475bf2177c5ff56c72eb4c12c56440","lessThan":"7291af9a738d936c2d6869d030711dceb68404d0","status":"affected","versionType":"git"},{"version":"7960f18a56475bf2177c5ff56c72eb4c12c56440","lessThan":"6cf1a126de2992b4efe1c3c4d398f8de4aed6e3f","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.18","status":"affected"},{"version":"0","lessThan":"4.18","status":"unaffected","versionType":"semver"},{"version":"4.19.295","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.257","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.195","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.132","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.53","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.4.16","lessThanOrEqual":"6.4.*","status":"unaffected","versionType":"semver"},{"version":"6.5.3","lessThanOrEqual":"6.5.*","status":"unaffected","versionType":"semver"},{"version":"6.6","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-401"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/b9bc8fbb2d416ce87f0342478dc9fcfd79f2c65f","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/f53ab5a2bf20fed59a2f7542d3453228b8056358","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/5c5f02e16b919c8cb6024dc3778c8d8f1fb1f26b","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/cbb7d8a4b4beb3061b3a1847a742983a01dca381","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/09cb2a71b2e982015fe0464f28da1ab42b8e6375","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/1bfcfea0fae0d0a6c6ff5543e6d704b3807b83ce","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/7291af9a738d936c2d6869d030711dceb68404d0","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/6cf1a126de2992b4efe1c3c4d398f8de4aed6e3f","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53611.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53611","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00149,"epssPercentile":0.04151,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-53611","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53611","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-53611","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-53611","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}