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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2023-52439— uio: Fix use-after-free in uio_open

AI Predicted 7.8 Difficulty: Moderate EPSS 0.30% · P22

Affected Version Matrix 20

VendorProductVersion RangeStatus
LinuxLinux57c5f4df0a5a0ee83df799991251e2ee93a5e4e9< 3174e0f7de1ba392dc191625da83df02d695b60caffected
57c5f4df0a5a0ee83df799991251e2ee93a5e4e9< e93da893d52d82d57fc0db2ca566024e0f26ff50affected
57c5f4df0a5a0ee83df799991251e2ee93a5e4e9< 5e0be1229ae199ebb90b33102f74a0f22d152570affected
57c5f4df0a5a0ee83df799991251e2ee93a5e4e9< 5cf604ee538ed0c467abe3b4cda5308a6398f0f7affected
57c5f4df0a5a0ee83df799991251e2ee93a5e4e9< 17a8519cb359c3b483fb5c7367efa9a8a508bdeaaffected
57c5f4df0a5a0ee83df799991251e2ee93a5e4e9< 35f102607054faafe78d2a6994b18d5d9d6e92adaffected
57c5f4df0a5a0ee83df799991251e2ee93a5e4e9< 913205930da6213305616ac539447702eaa85e41affected
57c5f4df0a5a0ee83df799991251e2ee93a5e4e9< 0c9ae0b8605078eafc3bea053cc78791e97ba2e2affected
… +12 more rows
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2023-52439

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
uio: Fix use-after-free in uio_open
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: uio: Fix use-after-free in uio_open core-1 core-2 ------------------------------------------------------- uio_unregister_device uio_open idev = idr_find() device_unregister(&idev->dev) put_device(&idev->dev) uio_device_release get_device(&idev->dev) kfree(idev) uio_free_minor(minor) uio_release put_device(&idev->dev) kfree(idev) ------------------------------------------------------- In the core-1 uio_unregister_device(), the device_unregister will kfree idev when the idev->dev kobject ref is 1. But after core-1 device_unregister, put_device and before doing kfree, the core-2 may get_device. Then: 1. After core-1 kfree idev, the core-2 will do use-after-free for idev. 2. When core-2 do uio_release and put_device, the idev will be double freed. To address this issue, we can get idev atomic & inc idev reference with minor_lock.
Source: CVE Program / CVE List V5
CVSS Information
N/A
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 存在安全漏洞,该漏洞源于 uio 模块的 uio_open 中存在释放后重用问题。
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 57c5f4df0a5a0ee83df799991251e2ee93a5e4e9 ~ 3174e0f7de1ba392dc191625da83df02d695b60c -
LinuxLinux 4.18 -

II. Public POCs for CVE-2023-52439

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2023-52439

登录查看更多情报信息。

Mailing List Discussions for CVE-2023-52439 (2)

Other References for CVE-2023-52439 (8)

Same Patch Batch · Linux · 2024-02-20 · 7 CVEs total

CVE-2023-52433netfilter: nft_set_rbtree: skip sync GC for new elements in this transaction
CVE-2024-26581netfilter: nft_set_rbtree: skip end interval element from gc
CVE-2023-52434smb: client: fix potential OOBs in smb2_parse_contexts()
CVE-2023-52435net: prevent mss overflow in skb_segment()
CVE-2023-52436f2fs: explicitly null-terminate the xattr list
CVE-2023-52438binder: fix use-after-free in shinker's callback

IV. Related Vulnerabilities

V. Comments for CVE-2023-52439

No comments yet


Leave a comment