Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2023-53800— ubi: Fix use-after-free when volume resizing failed

CVSS 7.8 · High EPSS 0.14% · P3

Possible ATT&CK Techniques 1AI

T1135 · Network Share Discovery

Affected Version Matrix 18

VendorProductVersion RangeStatus
LinuxLinux801c135ce73d5df1caf3eca35b66a10824ae0707< bf9875aa7f7d624a8c084425b14bf7e5907ebc30affected
801c135ce73d5df1caf3eca35b66a10824ae0707< bf795ebbb9995e2fe7945de71177f01c2f1215dcaffected
801c135ce73d5df1caf3eca35b66a10824ae0707< 9c8be1f165baee53b5a36ea0b3c9281d403a1d0baffected
801c135ce73d5df1caf3eca35b66a10824ae0707< 35f8d4064e54c18424db2997059d4c0b1d13d093affected
801c135ce73d5df1caf3eca35b66a10824ae0707< 53818746e549e61841428892a8d94344494be797affected
801c135ce73d5df1caf3eca35b66a10824ae0707< b0c951742348d216f094d16ed4f70ae73db881c0affected
801c135ce73d5df1caf3eca35b66a10824ae0707< 3d6378f7056ac7350338f941001162a8f660853caffected
801c135ce73d5df1caf3eca35b66a10824ae0707< 9af31d6ec1a4be4caab2550096c6bd2ba8fba472affected
… +10 more rows
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2023-53800

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
ubi: Fix use-after-free when volume resizing failed
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: ubi: Fix use-after-free when volume resizing failed There is an use-after-free problem reported by KASAN: ================================================================== BUG: KASAN: use-after-free in ubi_eba_copy_table+0x11f/0x1c0 [ubi] Read of size 8 at addr ffff888101eec008 by task ubirsvol/4735 CPU: 2 PID: 4735 Comm: ubirsvol Not tainted 6.1.0-rc1-00003-g84fa3304a7fc-dirty #14 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.14.0-1.fc33 04/01/2014 Call Trace: <TASK> dump_stack_lvl+0x34/0x44 print_report+0x171/0x472 kasan_report+0xad/0x130 ubi_eba_copy_table+0x11f/0x1c0 [ubi] ubi_resize_volume+0x4f9/0xbc0 [ubi] ubi_cdev_ioctl+0x701/0x1850 [ubi] __x64_sys_ioctl+0x11d/0x170 do_syscall_64+0x35/0x80 entry_SYSCALL_64_after_hwframe+0x46/0xb0 </TASK> When ubi_change_vtbl_record() returns an error in ubi_resize_volume(), "new_eba_tbl" will be freed on error handing path, but it is holded by "vol->eba_tbl" in ubi_eba_replace_table(). It means that the liftcycle of "vol->eba_tbl" and "vol" are different, so when resizing volume in next time, it causing an use-after-free fault. Fix it by not freeing "new_eba_tbl" after it replaced in ubi_eba_replace_table(), while will be freed in next volume resizing.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于ubi_resize_volume失败时未正确处理内存释放,可能导致释放后重用。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
LinuxLinux 801c135ce73d5df1caf3eca35b66a10824ae0707 ~ bf9875aa7f7d624a8c084425b14bf7e5907ebc30 -
LinuxLinux 2.6.22 -

II. Public POCs for CVE-2023-53800

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2023-53800

登录查看更多情报信息。

Same Patch Batch · Linux · 2025-12-09 · 152 CVEs total

CVE-2025-403439.8 CRITICALnvmet-fc: avoid scheduling association deletion twice
CVE-2023-537949.8 CRITICALcifs: fix session state check in reconnect to avoid use-after-free issue
CVE-2022-506669.8 CRITICALRDMA/siw: Fix QP destroy to wait for all references dropped.
CVE-2025-403428.8 HIGHnvme-fc: use lock accessing port_state and rport state
CVE-2023-538228.8 HIGHwifi: ath11k: Ignore frags from uninitialized peer in dp.
CVE-2025-403368.8 HIGHdrm/gpusvm: fix hmm_pfn_to_map_order() usage
CVE-2023-537858.8 HIGHmt76: mt7921: don't assume adequate headroom for SDIO headers
CVE-2023-538278.8 HIGHBluetooth: L2CAP: Fix use-after-free in l2cap_disconnect_{req,rsp}
CVE-2025-403288.8 HIGHsmb: client: fix potential UAF in smb2_close_cached_fid()
CVE-2023-538518.4 HIGHdrm/msm/dp: Drop aux devices together with DP controller
CVE-2025-403378.2 HIGHnet: stmmac: Correctly handle Rx checksum offload errors
CVE-2023-538038.1 HIGHscsi: ses: Fix slab-out-of-bounds in ses_enclosure_data_process()
CVE-2022-506568.1 HIGHnfc: pn533: Clear nfc_target before being used
CVE-2023-537817.8 HIGHsmc: Fix use-after-free in tcp_write_timer_handler().
CVE-2023-538297.8 HIGHf2fs: flush inode if atomic file is aborted
CVE-2023-538197.8 HIGHamdgpu: validate offset_in_bo of drm_amdgpu_gem_va
CVE-2023-538607.8 HIGHdm: don't attempt to queue IO under RCU protection
CVE-2023-538387.8 HIGHf2fs: synchronize atomic write aborts
CVE-2023-538167.8 HIGHdrm/amdkfd: fix potential kgd_mem UAFs
CVE-2023-538047.8 HIGHnilfs2: fix use-after-free bug of nilfs_root in nilfs_evict_inode()

Showing top 20 of 152 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2023-53800

No comments yet


Leave a comment