Home / Linux / Linux / CVE-2024-27080
CVE-2024-27080: is it exploited, and which versions of Linux are affected and fixed?
CVE-2024-27080 is a race condition vulnerability in Linux. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:39 UTC). Affected: Linux from 6.6.24 before 6.6.26, Linux from 6.1.191 before 6.2, Linux from 6.7.12 before 6.8 and 1 more (CVE record by Linux). Fixed in 6.6.26, 6.2, 6.8, 6.8.2 and 1 more (CVE record by Linux). Severity: Medium (4.7, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:39 UTC, CVE record November 28, 2026, 18:26 UTC and NVD November 19, 2026, 07:30 UTC.
What is CVE-2024-27080?
In the Linux kernel, the following vulnerability has been resolved: btrfs: fix race when detecting delalloc ranges during fiemap For fiemap we recently stopped locking the target extent range for the whole duration of the fiemap call, in order to avoid a deadlock in a scenario where the fiemap buffer happens to be a memory mapped range of the same file. This use case is very unlikely to be useful in practice but it may be triggered by fuzz testing (syzbot, etc). This however introduced a race that makes us miss delalloc ranges for file regions that are currently holes, so the caller of fiemap will not be aware that there's data for some file regions. This can be quite serious for some use cases - for example in coreutils versions before 9.0, the cp program used fiemap to detect holes and data in the source file, copying only regions with data (extents or delalloc) from the source file to the destination file in order to preserve holes (see the documentation for its --sparse command line option). This means that if cp was used with a source file that had delalloc in a hole, the destination file could end up without that data, which is effectively a data loss issue, if it happened to hit the race described below. The race happens like this: 1) Fiemap is called, without the FIEMAP_FLAG_SYNC flag, for a file that has delalloc in the file range [64M, 65M[, which is currently a hole; 2) Fiemap locks the inode in shared mode, then starts iterating the inode's subvolume tree searching for file extent items, without having the whole fiemap target range locked in the inode's io tree - the change introduced recently by commit b0ad381fa769 ("btrfs: fix deadlock with fiemap and extent locking"). It only locks ranges in the io tree when it finds a hole or prealloc extent since that commit; 3) Note that fiemap clones each leaf before using it, and this is to avoid deadlocks when locking a file range in the inode's io tree and the fiemap buffer is memory mapped to some file, because writing to the page with btrfs_page_mkwrite() will wait on any ordered extent for the page's range and the ordered extent needs to lock the range and may need to modify the same leaf, therefore leading to a deadlock on the leaf; 4) While iterating the file extent items in the cloned leaf before finding the hole in the range [64M, 65M[, the delalloc in that range is flushed and its ordered extent completes - meaning the corresponding file extent item is in the inode's subvolume tree, but not present in the cloned leaf that fiemap is iterating over; 5) When fiemap finds the hole in the [64M, 65M[ range by seeing the gap in the cloned leaf (or a file extent item with disk_bytenr == 0 in case the NO_HOLES feature is not enabled), it will lock that file range in the inode's io tree and then search for delalloc by checking for the EXTENT_DELALLOC bit in the io tree for that range and ordered extents (with btrfs_find_delalloc_in_range()). But it finds nothing since the delalloc in that range was already flushed and the ordered extent completed and is gone - as a result fiemap will not report that there's delalloc or an extent for the range [64M, 65M[, so user space will be mislead into thinking that there's a hole in that range. This could actually be sporadically triggered with test case generic/094 from fstests, which reports a missing extent/delalloc range like this: generic/094 2s ... - output mismatch (see /home/fdmanana/git/hub/xfstests/results//generic/094.out.bad) --- tests/generic/094.out 2020-06-10 19:29:03.830519425 +0100 +++ /home/fdmanana/git/hub/xfstests/results//generic/094.out.bad 2024-02-28 11:00:00.381071525 +0000 @@ -1,3 +1,9 @@ QA output created by 094 fiemap run with sync fiemap run without sync +ERROR: couldn't find extent at 7 +map is 'HHDDHPPDPHPH' +logical: [ 5.. 6] phys: ---truncated---
From the CVE record by Linux, last updated October 30, 2026, 12:18 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Linux | Linux | from 6.6.24 before 6.6.26 from 6.1.191 before 6.2 from 6.7.12 before 6.8 | 6.6.26, 6.2, 6.8 |
| Linux | Linux | from 6.8 until the fixed versions | 6.6.26, 6.8.2, 6.9 |
As the CVE record by Linux states it, last updated October 30, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| linux | linux kernel | from 6.6.24 before 6.6.26 | operating system |
| linux | linux kernel | from 6.7.12 before 6.8 | operating system |
| linux | linux kernel | 6.8 | operating system |
| linux | linux kernel | 6.8.1 | operating system |
NVD analysis (status Analyzed), last modified October 30, 2026, 13:17 UTC.
How severe is CVE-2024-27080?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.7 | CVSS 3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-27080 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, May 28, 2024)
- EPSS
- 0.19% probability of exploitation activity in the next 30 days, percentile 8.9 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization
Where are the vendor advisories and references?
- https://git.kernel.org/stable/c/49d640d2946c35a17b051d54171a032dd95b0f50
- https://git.kernel.org/stable/c/ced63fffd63072c0ca55d5a451010d71bf08c0b3
- https://git.kernel.org/stable/c/978b63f7464abcfd364a6c95f734282c50f3decf
When was it published, and where is the official record?
- Reserved
- February 19, 2024
- Published
- May 1, 2024, 13:05 UTC
- CVE record updated
- October 30, 2026, 12:18 UTC by Linux
- NVD
- Analyzed, last modified October 30, 2026, 13:17 UTC
- Last checked
- CVE list November 28, 2026, 18:26 UTC; NVD November 19, 2026, 07:30 UTC; KEV December 3, 2026, 16:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Linux?
- Jul 4, 2026CVE-2026-53362 Linux: heap buffer overflow exploited
- Jun 25, 2026CVE-2026-53266 Linux: out-of-bounds write (memory corruption) exploited
- May 23, 2026CVE-2026-46300 Linux: write-what-where Condition exploited
- Apr 22, 2026CVE-2026-31431 Linux: incorrect resource transfer exploited
- Oct 13, 2025CVE-2025-39964 Linux: race condition exploited
- Sep 5, 2025CVE-2025-39682 Linux: unusual condition not checked exploited
- Jul 22, 2025CVE-2025-38352 Linux: time-of-check time-of-use race condition exploited
- Dec 27, 2024CVE-2024-53197 Linux: out-of-bounds write (memory corruption) exploited
Questions about CVE-2024-27080
Is CVE-2024-27080 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:39 UTC. FIRST's EPSS gives it a 0.19% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Linux are affected by CVE-2024-27080?
Linux from 6.6.24 before 6.6.26, Linux from 6.1.191 before 6.2, Linux from 6.7.12 before 6.8 and Linux from 6.8 until the fixed versions, per the CVE record by Linux. The tables above give every range the sources list.
Which version fixes CVE-2024-27080?
6.6.26, 6.2, 6.8, 6.8.2 and 6.9, per the CVE record by Linux. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-27080?
Medium (4.7, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2024-27080?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.