CVE-2024-26791: btrfs: dev-replace: properly validate device names
Vulnerability summary
CVE-2024-26791 is a high (CVSS 7.1) Out-of-bounds Read vulnerability in linux. EPSS estimates a 0.25% chance of exploitation in the next 30 days, higher than 17% of scored vulnerabilities.
Not severe (CVSS 7.1, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 26 · Related 23Timeline
- 04-04-2024PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: btrfs: dev-replace: properly validate device names There's a syzbot report that device name buffers passed to device replace are not properly checked for string termination which could lead to a read out of bounds in getname_kernel(). Add a helper that validates both source and target device name buffers. For devid as the source initialize the buffer to empty string in case something tries to read it later. This was originally analyzed and fixed in a different way by Edward Adam Davis (see links).
CVSS metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
EPSS trend
Probability
0.25%
Chance of exploitation in the next 30 days
Percentile
17%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.25% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu118 products
- linuxAll versions (No fix recorded) | < 5.4.0-186.206 | < 5.15.0-112.122
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 5.4.0-1126.136 | < 5.15.0-1063.69
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ e93c89c1aaaaaec3487c4c18dd02360371790722, < 11d7a2e429c02d51e2dc90713823ea8b8d3d3a84 | ≥ e93c89c1aaaaaec3487c4c18dd02360371790722, < c6652e20d7d783d060fe5f987eac7b5cabe31311 | ≥ e93c89c1aaaaaec3487c4c18dd02360371790722, < 2886fe308a83968dde252302884a1e63351cf16d | ≥ e93c89c1aaaaaec3487c4c18dd02360371790722, < ab2d68655d0f04650bef09fee948ff80597c5fb9 | ≥ e93c89c1aaaaaec3487c4c18dd02360371790722, < f590040ce2b712177306b03c2a63b16f7d48d3c8 | ≥ e93c89c1aaaaaec3487c4c18dd02360371790722, < b1690ced4d2d8b28868811fb81cd33eee5aefee1 | ≥ e93c89c1aaaaaec3487c4c18dd02360371790722, < 343eecb4ff49a7b1cc1dfe86958a805cf2341cfb | ≥ e93c89c1aaaaaec3487c4c18dd02360371790722, < 9845664b9ee47ce7ee7ea93caf47d39a9d4552c4 | 3.8
- linux_kernel< 4.19.309 | ≥ 4.20, < 5.4.271 | ≥ 5.5, < 5.10.212 | ≥ 5.11, < 5.15.151 | ≥ 5.16, < 6.1.81 | ≥ 6.2, < 6.6.21 | ≥ 6.7, < 6.7.9 | 6.8:rc1 | 6.8:rc2 | 6.8:rc3 | 6.8:rc4 | 6.8:rc5 | 6.8:rc6
Debian1 product
- linux< 6.1.82-1 | < 6.7.9-1
3 vendors · 121 products