CVE-2025-40209 — Missing Release of Memory after Effective Lifetime in Linux
15 documents6 sources
Severity
—N/A
No vectorEPSS
0.0%
top 94.67%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedNov 21
Latest updateFeb 24
Description
In the Linux kernel, the following vulnerability has been resolved:
btrfs: fix memory leak of qgroup_list in btrfs_add_qgroup_relation
When btrfs_add_qgroup_relation() is called with invalid qgroup levels
(src >= dst), the function returns -EINVAL directly without freeing the
preallocated qgroup_list structure passed by the caller. This causes a
memory leak because the caller unconditionally sets the pointer to NULL
after the call, preventing any cleanup.
The issue occurs because the level va…
Affected Packages5 packages
▶CVEListV5linux/linux4addc1ffd67ad34394674dc91379dc04cfdd2537 — 3412d0e973e8f8381747d69033eda809a57a2581+3