CVE-2023-53278: ubifs: Fix memory leak in ubifs_sysfs_init()

Published Sep 16, 2025
·
Updated

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>] slabpostallochook+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>] dosysfinitmodule+0x19f/0x230 [<ffffffff815866b3>] x64sysfinitmodule+0x73/0xb0 [<ffffffff88c98e85>] dosyscall64+0x35/0x80 [<ffffffff88e00087>] entrySYSCALL64afterhwframe+0x63/0xcd

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

Affected Software

3 affected components
Linux Kernel
Linux Linux kernel>=5.17<6.1.18
Linux Linux kernel>=6.2<6.2.5

Event History

Sep 16, 2025
CVE Published
via MITRE·08:11 AM
Data Sourced
via MITRE·08:11 AM
Description
Data Sourced
via NVD·08:15 AM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2023-53278?

CVE-2023-53278 has a low severity rating due to its nature as a memory leak in the ubifs subsystem.

2

How do I fix CVE-2023-53278?

To fix CVE-2023-53278, you should update your Linux kernel to the latest stable version that includes the patch for this vulnerability.

3

What systems are affected by CVE-2023-53278?

CVE-2023-53278 affects users of the Linux kernel who utilize the ubifs file system.

4

What is the impact of CVE-2023-53278?

The impact of CVE-2023-53278 is primarily a memory leak, which can lead to increased memory usage in the system over time.

5

Is CVE-2023-53278 exploitable?

CVE-2023-53278 is not classified as directly exploitable but does represent a potential risk for systems that continuously run the affected module.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203