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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-71159— btrfs: fix use-after-free warning in btrfs_get_or_create_delayed_node()

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存在安全漏洞,该漏洞源于refcount设置和delayed_node指针设置顺序不当,可能导致释放后重用。

CVSS 9.8 · Critical EPSS 0.25% · P15

Affected Version Matrix 6

VendorProduct Version RangeStatus
Linux Linux e8513c012de75fd65e2df5499572bc6ef3f6e409< c8385851a5435f4006281828d428e5d0b0bbf8af affected
e8513c012de75fd65e2df5499572bc6ef3f6e409< 83f59076a1ae6f5c6845d6f7ed3a1a373d883684 affected
6.18 affected
< 6.18 unaffected
6.18.6≤ 6.18.* unaffected
6.19≤ * unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-71159

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
btrfs: fix use-after-free warning in btrfs_get_or_create_delayed_node()
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: btrfs: fix use-after-free warning in btrfs_get_or_create_delayed_node() Previously, btrfs_get_or_create_delayed_node() set the delayed_node's refcount before acquiring the root->delayed_nodes lock. Commit e8513c012de7 ("btrfs: implement ref_tracker for delayed_nodes") moved refcount_set inside the critical section, which means there is no longer a memory barrier between setting the refcount and setting btrfs_inode->delayed_node. Without that barrier, the stores to node->refs and btrfs_inode->delayed_node may become visible out of order. Another thread can then read btrfs_inode->delayed_node and attempt to increment a refcount that hasn't been set yet, leading to a refcounting bug and a use-after-free warning. The fix is to move refcount_set back to where it was to take advantage of the implicit memory barrier provided by lock acquisition. Because the allocations now happen outside of the lock's critical section, they can use GFP_NOFS instead of GFP_ATOMIC.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/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存在安全漏洞,该漏洞源于refcount设置和delayed_node指针设置顺序不当,可能导致释放后重用。
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 e8513c012de75fd65e2df5499572bc6ef3f6e409 ~ c8385851a5435f4006281828d428e5d0b0bbf8af -
Linux Linux 6.18 -

II. Public POCs for CVE-2025-71159

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

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-71159

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

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

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

IV. Related Vulnerabilities

V. Comments for CVE-2025-71159

No comments yet


Leave a comment