{"id":"CVE-2023-53278","summary":"ubifs: Fix memory leak in ubifs_sysfs_init()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nubifs: Fix memory leak in ubifs_sysfs_init()\n\nWhen insmod ubifs.ko, a kmemleak reported as below:\n\n unreferenced object 0xffff88817fb1a780 (size 8):\n   comm \"insmod\", pid 25265, jiffies 4295239702 (age 100.130s)\n   hex dump (first 8 bytes):\n     75 62 69 66 73 00 ff ff                          ubifs...\n   backtrace:\n     [\u003cffffffff81b3fc4c\u003e] slab_post_alloc_hook+0x9c/0x3c0\n     [\u003cffffffff81b44bf3\u003e] __kmalloc_track_caller+0x183/0x410\n     [\u003cffffffff8198d3da\u003e] kstrdup+0x3a/0x80\n     [\u003cffffffff8198d486\u003e] kstrdup_const+0x66/0x80\n     [\u003cffffffff83989325\u003e] kvasprintf_const+0x155/0x190\n     [\u003cffffffff83bf55bb\u003e] kobject_set_name_vargs+0x5b/0x150\n     [\u003cffffffff83bf576b\u003e] kobject_set_name+0xbb/0xf0\n     [\u003cffffffff8100204c\u003e] do_one_initcall+0x14c/0x5a0\n     [\u003cffffffff8157e380\u003e] do_init_module+0x1f0/0x660\n     [\u003cffffffff815857be\u003e] load_module+0x6d7e/0x7590\n     [\u003cffffffff8158644f\u003e] __do_sys_finit_module+0x19f/0x230\n     [\u003cffffffff815866b3\u003e] __x64_sys_finit_module+0x73/0xb0\n     [\u003cffffffff88c98e85\u003e] do_syscall_64+0x35/0x80\n     [\u003cffffffff88e00087\u003e] entry_SYSCALL_64_after_hwframe+0x63/0xcd\n\nWhen kset_register() failed, we should call kset_put to cleanup it.","modified":"2026-04-02T09:43:55.343958Z","published":"2025-09-16T08:11:12.997Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53278.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1c5fdf2d4647219d2267ccb08c7f2c7095bf3450"},{"type":"WEB","url":"https://git.kernel.org/stable/c/203a55f04f66eea1a1ca7e5a302a7f5c99c62327"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d42c2b18c42da7378e67b6414aafe93b65de89d1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53278.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53278"},{"type":"PACKAGE","url":"https://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"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}