CVE-2023-53611

Source
https://cve.org/CVERecord?id=CVE-2023-53611
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53611.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-53611
Downstream
Related
Published
2025-10-04T15:44:19.593Z
Modified
2026-06-18T03:56:25.278020017Z
Summary
ipmi_si: fix a memleak in try_smi_init()
Details

In the Linux kernel, the following vulnerability has been resolved:

ipmisi: fix a memleak in trysmi_init()

Kmemleak reported the following leak info in trysmiinit():

unreferenced object 0xffff00018ecf9400 (size 1024): comm "modprobe", pid 2707763, jiffies 4300851415 (age 773.308s) backtrace: [<000000004ca5b312>] __kmalloc+0x4b8/0x7b0 [<00000000953b1072>] trysmiinit+0x148/0x5dc [ipmisi] [<000000006460d325>] 0xffff800081b10148 [<0000000039206ea5>] dooneinitcall+0x64/0x2a4 [<00000000601399ce>] doinitmodule+0x50/0x300 [<000000003c12ba3c>] loadmodule+0x7a8/0x9e0 [<00000000c246fffe>] __sesysinit_module+0x104/0x180 [<00000000eea99093>] _arm64sysinitmodule+0x24/0x30 [<0000000021b1ef87>] el0svccommon.constprop.0+0x94/0x250 [<0000000070f4f8b7>] doel0svc+0x48/0xe0 [<000000005a05337f>] el0svc+0x24/0x3c [<000000005eb248d6>] el0synchandler+0x160/0x164 [<0000000030a59039>] el0sync+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().

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53611.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
7960f18a56475bf2177c5ff56c72eb4c12c56440
Fixed
b9bc8fbb2d416ce87f0342478dc9fcfd79f2c65f
Fixed
f53ab5a2bf20fed59a2f7542d3453228b8056358
Fixed
5c5f02e16b919c8cb6024dc3778c8d8f1fb1f26b
Fixed
cbb7d8a4b4beb3061b3a1847a742983a01dca381
Fixed
09cb2a71b2e982015fe0464f28da1ab42b8e6375
Fixed
1bfcfea0fae0d0a6c6ff5543e6d704b3807b83ce
Fixed
7291af9a738d936c2d6869d030711dceb68404d0
Fixed
6cf1a126de2992b4efe1c3c4d398f8de4aed6e3f

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53611.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.18.0
Fixed
4.19.295
Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.257
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.195
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.132
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.53
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.4.16
Type
ECOSYSTEM
Events
Introduced
6.5.0
Fixed
6.5.3

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53611.json"