CVE-2023-53278

Source
https://cve.org/CVERecord?id=CVE-2023-53278
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53278.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-53278
Downstream
Published
2025-09-16T08:11:12.997Z
Modified
2026-04-02T09:43:55.343958Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
ubifs: Fix memory leak in ubifs_sysfs_init()
Details

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

ubifs: Fix memory leak in ubifssysfsinit()

When insmod ubifs.ko, a kmemleak reported as below:

unreferenced object 0xffff88817fb1a780 (size 8): comm "insmod", pid 25265, jiffies 4295239702 (age 100.130s) hex dump (first 8 bytes): 75 62 69 66 73 00 ff ff ubifs... backtrace: [<ffffffff81b3fc4c>] slabpostalloc_hook+0x9c/0x3c0 [<ffffffff81b44bf3>] __kmalloctrackcaller+0x183/0x410 [<ffffffff8198d3da>] kstrdup+0x3a/0x80 [<ffffffff8198d486>] kstrdupconst+0x66/0x80 [<ffffffff83989325>] kvasprintfconst+0x155/0x190 [<ffffffff83bf55bb>] kobjectsetnamevargs+0x5b/0x150 [<ffffffff83bf576b>] kobjectsetname+0xbb/0xf0 [<ffffffff8100204c>] dooneinitcall+0x14c/0x5a0 [<ffffffff8157e380>] doinitmodule+0x1f0/0x660 [<ffffffff815857be>] loadmodule+0x6d7e/0x7590 [<ffffffff8158644f>] __dosysfinit_module+0x19f/0x230 [<ffffffff815866b3>] _x64sysfinitmodule+0x73/0xb0 [<ffffffff88c98e85>] dosyscall64+0x35/0x80 [<ffffffff88e00087>] entrySYSCALL64afterhwframe+0x63/0xcd

When ksetregister() failed, we should call ksetput to cleanup it.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53278.json",
    "cna_assigner": "Linux"
}
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
2e3cbf425804fb44a005e252f88f93dff108c911
Fixed
1c5fdf2d4647219d2267ccb08c7f2c7095bf3450
Fixed
d42c2b18c42da7378e67b6414aafe93b65de89d1
Fixed
203a55f04f66eea1a1ca7e5a302a7f5c99c62327

Database specific

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