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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-41078— btrfs: qgroup: fix quota root leak after quota disable failure

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 3.3 Difficulty: Theoretical EPSS 0.22% · P12

Possible ATT&CK Techniques 1 AI

T1042

Affected Version Matrix 14

VendorProduct Version RangeStatus
Linux Linux bed92eae26ccf280d1a2168b7509447b56675a27< 94818bdb00ef34a996a06aa63d11f591074cb757 affected
bed92eae26ccf280d1a2168b7509447b56675a27< 8a69529f22590b67bb018de9acbcf94abc8603cf affected
bed92eae26ccf280d1a2168b7509447b56675a27< 5ef3961682e5310f2221bae99bcf9f5d0f4b0d51 affected
bed92eae26ccf280d1a2168b7509447b56675a27< f88aeff5a173e8ba3133314eb4b964236ef3589d affected
bed92eae26ccf280d1a2168b7509447b56675a27< 7dd6a5b96157a21245566b21fd58276a214357ff affected
bed92eae26ccf280d1a2168b7509447b56675a27< a7e4c6a3031c74078dba7fa36239d0f4fe476c53 affected
3.6 affected
< 3.6 unaffected
… +6 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-41078

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: qgroup: fix quota root leak after quota disable failure
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: btrfs: qgroup: fix quota root leak after quota disable failure If during the quota disable we fail when cleaning the quota tree or when deleting the root from the root tree, we jump to the 'out' label without ever dropping the reference on the quota root, resulting in a leak of the root since fs_info->quota_root is no longer pointing to the root (we have set it to NULL just before those steps). Fix this by always doing a btrfs_put_root() call under the 'out' label. This is a problem that exists since qgroups were first added in 2012 by commit bed92eae26cc ("Btrfs: qgroup implementation and prototypes"), but back then we missed a kfree on the quota root and free_extent_buffer() calls on its root and commit root nodes, since back then roots were not yet reference counted.
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 bed92eae26ccf280d1a2168b7509447b56675a27 ~ 94818bdb00ef34a996a06aa63d11f591074cb757 -
Linux Linux 3.6 -

II. Public POCs for CVE-2024-41078

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

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-41078

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

Patches & Fixes for CVE-2024-41078 (1)

Other References for CVE-2024-41078 (5)

Same Patch Batch · Linux · 2024-07-29 · 121 CVEs total

CVE-2024-41081 9.8 CRITICAL ila: block BH in ila_output()
CVE-2024-41073 9.8 CRITICAL nvme: avoid double free special payload
CVE-2024-41040 9.8 CRITICAL net/sched: Fix UAF when resolving a clash
CVE-2024-41091 8.8 HIGH tun: add missing verification for short frame
CVE-2024-42083 8.8 HIGH ionic: fix kernel panic due to multi-buffer handling
CVE-2024-41062 8.8 HIGH bluetooth/l2cap: sync sock recv cb and release
CVE-2024-41046 8.8 HIGH net: ethernet: lantiq_etop: fix double free in detach
CVE-2024-41090 8.8 HIGH tap: add missing verification for short frame
CVE-2024-41057 7.8 HIGH cachefiles: fix slab-use-after-free in cachefiles_withdraw_cookie()
CVE-2024-42072 7.8 HIGH bpf: Fix may_goto with negative offset.
CVE-2024-42075 7.8 HIGH bpf: Fix remap of arena.
CVE-2024-41064 7.8 HIGH powerpc/eeh: avoid possible crash when edev->pdev changes
CVE-2024-41015 7.8 HIGH ocfs2: add bounds checking to ocfs2_check_dir_entry()
CVE-2024-41059 7.8 HIGH hfsplus: fix uninit-value in copy_name
CVE-2024-41049 7.8 HIGH filelock: fix potential use-after-free in posix_lock_inode
CVE-2024-41045 7.8 HIGH bpf: Defer work in bpf_timer_cancel_and_free
CVE-2024-41017 7.8 HIGH jfs: don't walk off the end of ealist
CVE-2024-41060 7.8 HIGH drm/radeon: check bo_va->bo is non-NULL before using it
CVE-2024-41051 7.8 HIGH cachefiles: wait for ondemand_object_worker to finish when dropping object
CVE-2024-41069 7.8 HIGH ASoC: topology: Fix references to freed memory

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

IV. Related Vulnerabilities

V. Comments for CVE-2024-41078

No comments yet


Leave a comment