CVE-2023-53271
Last modified
CVE-2023-53271 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: ubi: Fix unreferenced object reported by kmemleak in ubi_resize_volume() There is a memory leaks problem reported by kmemleak: unreferenced object 0xffff888102007a00 (size 128): comm "ubirsvol", pid 32090, jiffies 4298464136 (age 2361.231s) hex dump (first 32 bytes): ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ backtrace: [<ffffffff8176cecd>] __kmalloc+0x4d/0x150 [<ffffffffa02a9a36>] ubi_eba_create_table+0x76/0x170 [ubi] [<ffffffffa029764e>] ubi_resize_volume+0x1be/0xbc0 [ubi] [<ffffffffa02a3321>] ubi_cdev_ioctl+0x701/0x1850 [ubi] [<ffffffff81975d2d>] __x64_sys_ioctl+0x11d/0x170 [<ffffffff83c142a5>] do_syscall_64+0x35/0x80 [<ffffffff83e0006a>] entry_SYSCALL_64_after_hwframe+0x46/0xb0 This is due to a mismatch between create and destroy interfaces, and in detail that "new_eba_tbl" created by ubi_eba_create_table() but destroyed by kfree(), while will causing "new_eba_tbl->entries" not freed. Fix it by replacing kfree(new_eba_tbl) with ubi_eba_destroy_table(new_eba_tbl). EPSS estimates a 0.15% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: ubi: Fix unreferenced object reported by kmemleak in ubi_resize_volume() There is a memory leaks problem reported by kmemleak: unreferenced object 0xffff888102007a00 (size 128): comm "ubirsvol", pid 32090, jiffies 4298464136 (age 2361.231s) hex dump (first 32 bytes): ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ backtrace: [<ffffffff8176cecd>] __kmalloc+0x4d/0x150 [<ffffffffa02a9a36>] ubi_eba_create_table+0x76/0x170 [ubi] [<ffffffffa029764e>] ubi_resize_volume+0x1be/0xbc0 [ubi] [<ffffffffa02a3321>] ubi_cdev_ioctl+0x701/0x1850 [ubi] [<ffffffff81975d2d>] __x64_sys_ioctl+0x11d/0x170 [<ffffffff83c142a5>] do_syscall_64+0x35/0x80 [<ffffffff83e0006a>] entry_SYSCALL_64_after_hwframe+0x46/0xb0 This is due to a mismatch between create and destroy interfaces, and in detail that "new_eba_tbl" created by ubi_eba_create_table() but destroyed by kfree(), while will causing "new_eba_tbl->entries" not freed. Fix it by replacing kfree(new_eba_tbl) with ubi_eba_destroy_table(new_eba_tbl)
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 4.9, < 4.14.308 |
| Linux | Linux Kernel | >= 4.15, < 4.19.276 |
| Linux | Linux Kernel | >= 4.20, < 5.4.235 |
| Linux | Linux Kernel | >= 5.5, < 5.10.173 |
| Linux | Linux Kernel | >= 5.11, < 5.15.100 |
| Linux | Linux Kernel | >= 5.16, < 6.1.18 |
| Linux | Linux Kernel | >= 6.2, < 6.2.5 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-53271?
How severe is CVE-2023-53271?
How do I fix CVE-2023-53271?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2023
- CVE-2023-53266In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-53267In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-53268In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-53269In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-5327A vulnerability was found in SATO CL4NX-J Plus 1.13.2-u455_r…6.5
- CVE-2023-53270In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-53272In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2023-53273In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-53274In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2023-53275In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-53276In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-53277In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2023-53271?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
