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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-22995— ublk: fix use-after-free in ublk_partition_scan_work

Quick assessment

Affected
Linux Linux
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于释放后重用问题,可能导致空指针取消引用。

AI Predicted 5.5 Difficulty: Moderate EPSS 0.13% · P3

Affected Version Matrix 3

VendorProduct Version RangeStatus
Linux Linux 63dfbcd59b4b823eac4441efff10b1c303c8f49f< 72e28774e9644c2bdbb4920842fbf77103a15a85 affected
7fc4da6a304bdcd3de14fc946dc2c19437a9cc5a< f0d385f6689f37a2828c686fb279121df006b4cb affected
6.18.4< 6.18.6 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-22995

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
ublk: fix use-after-free in ublk_partition_scan_work
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: ublk: fix use-after-free in ublk_partition_scan_work A race condition exists between the async partition scan work and device teardown that can lead to a use-after-free of ub->ub_disk: 1. ublk_ctrl_start_dev() schedules partition_scan_work after add_disk() 2. ublk_stop_dev() calls ublk_stop_dev_unlocked() which does: - del_gendisk(ub->ub_disk) - ublk_detach_disk() sets ub->ub_disk = NULL - put_disk() which may free the disk 3. The worker ublk_partition_scan_work() then dereferences ub->ub_disk leading to UAF Fix this by using ublk_get_disk()/ublk_put_disk() in the worker to hold a reference to the disk during the partition scan. The spinlock in ublk_get_disk() synchronizes with ublk_detach_disk() ensuring the worker either gets a valid reference or sees NULL and exits early. Also change flush_work() to cancel_work_sync() to avoid running the partition scan work unnecessarily when the disk is already detached.
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存在安全漏洞,该漏洞源于释放后重用问题,可能导致空指针取消引用。
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

Vendor Product Affected Versions CPE Subscribe
Linux Linux 63dfbcd59b4b823eac4441efff10b1c303c8f49f ~ 72e28774e9644c2bdbb4920842fbf77103a15a85 -
Linux Linux 6.18.4 ~ 6.18.6 -

II. Public POCs for CVE-2026-22995

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-22995

请登录查看更多情报信息。

Same Patch Batch · Linux · 2026-01-23 · 34 CVEs total

CVE-2026-22984 9.8 CRITICAL libceph: prevent potential out-of-bounds reads in handle_auth_done()
CVE-2025-71159 9.8 CRITICAL btrfs: fix use-after-free warning in btrfs_get_or_create_delayed_node()
CVE-2026-22980 7.8 HIGH nfsd: provide locking for v4_end_grace
CVE-2025-71145 7.8 HIGH usb: phy: isp1301: fix non-OF device reference imbalance
CVE-2025-71158 7.8 HIGH gpio: mpsse: ensure worker is torn down
CVE-2026-22988 7.8 HIGH arp: do not assume dev_hard_header() does not change skb->head
CVE-2025-71155 7.8 HIGH KVM: s390: Fix gmap_helper_zap_one_page() again
CVE-2025-71146 7.5 HIGH netfilter: nf_conncount: fix leaked ct in error paths
CVE-2025-71161 7.5 HIGH dm-verity: disable recursive forward error correction
CVE-2026-22990 7.5 HIGH libceph: replace overzealous BUG_ON in osdmap_apply_incremental()
CVE-2026-22991 7.5 HIGH libceph: make free_choose_arg_map() resilient to partial allocation
CVE-2026-22992 7.5 HIGH libceph: return the handler error from mon_handle_auth_done()
CVE-2025-71150 7.5 HIGH ksmbd: Fix refcount leak when invalid session is found on session lookup
CVE-2026-22989 nfsd: check that server is running in unlock_filesystem
CVE-2026-22987 net/sched: act_api: avoid dereferencing ERR_PTR in tcf_idrinfo_destroy
CVE-2026-22986 gpiolib: fix race condition for gdev->srcu
CVE-2026-22985 idpf: Fix RSS LUT NULL pointer crash on early ethtool operations
CVE-2026-22993 idpf: Fix RSS LUT NULL ptr issue after soft reset
CVE-2026-22994 bpf: Fix reference count leak in bpf_prog_test_run_xdp()
CVE-2026-22983 net: do not write to msg_get_inq in callee

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

IV. Related Vulnerabilities

V. Comments for CVE-2026-22995

No comments yet


Leave a comment