SEVERITY AND EXPLOITATION CONTEXT
CVE-2021-47585: btrfs: fix memory leak in __add_inode_ref()
Review published vectors, EPSS probability and CISA KEV status independently.
Browse all 394,234 published CVEs
Published CVE assessments
Explore dated records with provider-attributed vectors and metric explanations. Open a record to refresh its CVSS, EPSS and KEV context.
- CVE-2021-44228: Apache Log4j2 JNDI features do not protect against attacker controlled LDAP and other JNDI related endpoints
- CVE-2023-34362: MOVEit Transfer SQL Injection
- CVE-2024-3094: Xz: malicious code in distributed source
- CVE-2023-4966: Unauthenticated sensitive information disclosure
- CVE-2024-3400: PAN-OS: Arbitrary File Creation Leads to OS Command Injection Vulnerability in GlobalProtect
- CVE-2022-22965: Spring Framework Remote Code Execution (Spring4Shell)
- CVE-2025-5095: Burk Technology ARC Solo Missing Authentication for Critical Function
- CVE-2025-14945: Events Manager - Calendar, Bookings, Tickets, and more! <= 7.3.3 - Unauthenticated Stored Cross-Site Scripting via Event Attributes
Three signals, different questions
CVSS describes technical severity under the assumptions in a vector. EPSS estimates the probability of exploitation of a published CVE in the next 30 days. CISA KEV records vulnerabilities known to have been exploited. These signals are displayed separately; this tool does not combine them into an invented risk score.
Review the source and date
Published vectors may come from the CNA or additional record providers. Review their assumptions before using them in an assessment. Missing EPSS data is not zero probability. Absence from a retrieved KEV catalog does not prove that exploitation has never occurred. A failed source request is shown as unavailable, not as a negative result.
Sources: CVE Program, FIRST EPSS and CISA KEV mirror. Check vendor advisories for affected versions and remediation guidance.
btrfs: fix memory leak in __add_inode_ref()
In the Linux kernel, the following vulnerability has been resolved:
btrfs: fix memory leak in __add_inode_ref()
Line 1169 (#3) allocates a memory chunk for victim_name by kmalloc(),
but when the function returns in line 1184 (#4) victim_name allocated
by line 1169 (#3) is not freed, which will lead to a memory leak.
There is a similar snippet of code in this function as allocating a memory
chunk for victim_name in line 1104 (#1) as well as releasing the memory
in line 1116 (#2).
We should kfree() victim_name when the return value of backref_in_log()
is less than zero and before the function returns in line 1184 (#4).
1057 static inline int __add_inode_ref(struct btrfs_trans_handle *trans,
1058 struct btrfs_root *root,
1059 struct btrfs_path *path,
1060 struct btrfs_root *log_root,
1061 struct btrfs_inode *dir,
1062 struct btrfs_inode *inode,
1063 u64 inode_objectid, u64 parent_objectid,
1064 u64 ref_index, char *name, int namelen,
1065 int *search_done)
1066 {
1104 victim_name = kmalloc(victim_name_len, GFP_NOFS);
// #1: kmalloc (victim_name-1)
1105 if (!victim_name)
1106 return -ENOMEM;
1112 ret = backref_in_log(log_root, &search_key,
1113 parent_objectid, victim_name,
1114 victim_name_len);
1115 if (ret < 0) {
1116 kfree(victim_name); // #2: kfree (victim_name-1)
1117 return ret;
1118 } else if (!ret) {
1169 victim_name = kmalloc(victim_name_len, GFP_NOFS);
// #3: kmalloc (victim_name-2)
1170 if (!victim_name)
1171 return -ENOMEM;
1180 ret = backref_in_log(log_root, &search_key,
1181 parent_objectid, victim_name,
1182 victim_name_len);
1183 if (ret < 0) {
1184 return ret; // #4: missing kfree (victim_name-2)
1185 } else if (!ret) {
1241 return 0;
1242 }
Published CVE snapshot: 2026-10-22. Record last updated: 2026-05-11T13:57:23.382Z. The live panels refresh separately; this snapshot remains available if a source cannot be reached.
View the CVE Program source record
CVSS scoring availability
No valid CVSS 4.0 or 3.1 vector is available in this snapshot. An older version may appear in the source record. No score has been inferred.
Affected products reported by the provider
- Linux · Linux
- Linux · Linux
Consult the advisory for affected version ranges, configurations and remediation. A product listing alone does not establish that your installation is vulnerable.
Source references (3)
Interpret severity and exploitation separately
CVSS measures technical severity. EPSS estimates exploitation probability over the next 30 days. CISA KEV lists known exploited vulnerabilities. A missing EPSS result is not zero probability, and absence from KEV does not prove no exploitation. Review your deployment and retain the version, vector and evidence when documenting a finding.
Browse CVEs from 2021 · All published CVEs · Calculation methodology