CVE-2023-53278: ubifs: Fix memory leak in ubifs_sysfs_init()
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
Remediation
Event History
Frequently Asked Questions
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.
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.
What systems are affected by CVE-2023-53278?
CVE-2023-53278 affects users of the Linux kernel who utilize the ubifs file system.
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.
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.