CVE-2024-50217

HIGHNVD 7.87.8
EchelonGraph scoreMEDIUM confidence

“—” beside the score: it is equal to NVD's CVSS score.

Score 7.8 from GitHub Security Advisory (severity: HIGH) published 2024-11-09. NVD baseline CVSS 7.8; sources differ by 0.0.

Triggered by: GitHub Security Advisory CVSS
Sources: EPSS, GitHub Security Advisory, NVD CVSS v3
7.8EG
EchelonGraph verdictPlan a fixRemediate within your standard update timelines (the SSVC decision on this page).
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS PROB: 0.3%CVSS: 7.8Exploit: None knownExposed services: Not assessed

A fix is available — apply it.

In the Linux kernel, the following vulnerability has been resolved:

btrfs: fix use-after-free of block device file in __btrfs_free_extra_devids()

Mounting btrfs from two images (which have the same one fsid and two different dev_uuids) in certain executing order may trigger an UAF for variable 'device->bdev_file' in __btrfs_free_extra_devids(). And following are the details:

  • Attach image_1 to loop0, attach image_2 to loop1, and scan btrfs
devices by ioctl(BTRFS_IOC_SCAN_DEV):

/ btrfs_device_1 → loop0 fs_device \ btrfs_device_2 → loop1

  • mount /dev/loop0 /mnt
btrfs_open_devices btrfs_device_1->bdev_file = btrfs_get_bdev_and_sb(loop0) btrfs_device_2->bdev_file = btrfs_get_bdev_and_sb(loop1) btrfs_fill_super open_ctree fail: btrfs_close_devices // -ENOMEM btrfs_close_bdev(btrfs_device_1) fput(btrfs_device_1->bdev_file) // btrfs_device_1->bdev_file is freed btrfs_close_bdev(btrfs_device_2) fput(btrfs_device_2->bdev_file)
  • mount /dev/loop1 /mnt
btrfs_open_devices btrfs_get_bdev_and_sb(&bdev_file) // EIO, btrfs_device_1->bdev_file is not assigned, // which points to a freed memory area btrfs_device_2->bdev_file = btrfs_get_bdev_and_sb(loop1) btrfs_fill_super open_ctree btrfs_free_extra_devids if (btrfs_device_1->bdev_file) fput(btrfs_device_1->bdev_file) // UAF !

Fix it by setting 'device->bdev_file' as 'NULL' after closing the btrfs_device in btrfs_close_one_device().

CVSS v3
7.8
EG Score
7.8HIGHmedium confidence
EG Risk
35
EG Risk 35/100

EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).

How it’s computed (value × EchelonGraph’s weight)
Severity78% × 45%
The EG Score, 7.8 of 10.
Exploitation0.3% × 40%
FIRST EPSS: the 30-day exploitation probability when EchelonGraph scored this CVE.
Automatability0% × 15%
CISA's SSVC Automatable value: no (Vulnrichment).
SSVC (CISA's decision table, applied by EchelonGraph): Track at low or medium mission impact; Track* at high (mission-essential systems).
Exploitation none (CISA Vulnrichment) · Automatable no (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE.
Action: A fix is available. Apply it within your standard update timelines.
EPSS PROB
0.3%
EPSS %ILE
18th
KEV
Not listed

SSVC (CISA's decision table, applied by EchelonGraph)Track at low or medium mission impact; Track* at high (mission-essential systems).

A fix is available. Apply it within your standard update timelines.

Exploitation none (CISA Vulnrichment) · Automatable no (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE. Mission impact is CISA's Mission & Well-being decision point, and only you can judge it. CISA's table makes it high when Mission Prevalence is Essential — the vulnerable component "directly provides capabilities that constitute at least one MEF for at least one entity" (MEF: mission essential function) — or when Public Well-Being Impact is Irreversible: "multiple fatalities are likely", the cyber-physical system "is likely lost or destroyed", "extreme or serious externalities" are imposed on other parties, or social systems such as elections or the financial grid "are destabilized and potentially collapse". CISA's decision table

BOD 26-04 (CISA's remediation timeline, Table 1)14 days if the affected system is publicly exposed; Fix on system upgrade if it is not.

In CISA KEV no (CISA's KEV catalog) · Automatable no (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). Whether your system is publicly exposed is yours to answer. BOD 26-04 binds US Federal Civilian Executive Branch agencies; for anyone else it is CISA's published timeline, a reference rather than an obligation. The directive · how EchelonGraph applies it

Published

November 9, 2024

Last Modified

August 5, 2026

Advisory Details (5)

Auto-updated Aug 4, 2026
Patch available.
Web page

oss-security - Re: CVE-2024-50217: Linux kernel: btrfs: Use-after-free of block device file in __btrfs_free_extra_devids()

http://www.openwall.com/lists/oss-security/2025/04/10/6
Web page

oss-security - Re: CVE-2024-50217: Linux kernel: btrfs: Use-after-free of block device file in __btrfs_free_extra_devids()

http://www.openwall.com/lists/oss-security/2025/04/10/5
Web page

oss-security - CVE-2024-50217: Linux kernel: btrfs: Use-after-free of block device file in __btrfs_free_extra_devids()

http://www.openwall.com/lists/oss-security/2025/04/10/4
Web page

btrfs: fix use-after-free of block device file in __btrfs_free_extra_devids() - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/aec8e6bf839101784f3ef037dcdb9432c3f32343
Web page

btrfs: fix use-after-free of block device file in __btrfs_free_extra_devids() - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/47a83f8df39545f3f552bb6a1b6d9c30e37621dd

Vendor Advisories for CVE-2024-50217(1)

These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.

Patch Availability(4)

Vendor / EcosystemFix (by version range) / PatchReleasedSource
ubuntulinux-virtual-hwe-24.04-edge (6.11.0-18.18) @ oracular2026-05-23ubuntu
ubuntulinux-tools-oem-24.04b (6.11.0-1015.15) @ noble2026-05-23ubuntu
ubuntulinux-tools-realtime-hwe-24.04-edge (6.11.0-1005.5) @ oracular2026-05-23ubuntu
linuxKernel @ 6.11.7 (fixes >=4.8.0)—osv

Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.

Affected Packages

(4 across 4 ecosystems)
Debian:11(1)
PackageVulnerable rangeFix by version rangeDependents
linux5.10.103-1 ... 7.2~rc5-1~exp1 (498 versions)
  • every version on: no fix on record
—
Debian:12(1)
PackageVulnerable rangeFix by version rangeDependents
linux6.1.106-1 ... 7.2~rc7-1~exp1 (353 versions)
  • every version on: no fix on record
—
Debian:13(1)
PackageVulnerable rangeFix by version rangeDependents
linux—
  • every version up to 6.11.7-1: fixed in 6.11.7-1
—
Debian:14(1)
PackageVulnerable rangeFix by version rangeDependents
linux—
  • every version up to 6.11.7-1: fixed in 6.11.7-1
—

Weakness Classification(1)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

All Vendor Advisories

(3)

Every vendor that published an advisory referencing this CVE — pulled from our cve_vendor_advisories aggregation. Click any row for the vendor's original advisory page.

Data Freshness Timeline

(refreshed 10× in last 7d / 32× in last 30d)

Each row is a time one of our pipelines fetched, updated or re-scored this CVE. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. An arrow marks a change the record states ("CVSS v3 → 9.1"); EPSS and GHSA rows show the values recorded at that time, not what changed (EPSS values are rounded; hover one for the exact figures). Most recent first.

Showing the most recent 91 of 192 refreshes on record for this CVE.

A repeat, a row identical to one the same pipeline wrote less than 10 seconds earlier, is not a separate refresh and is not counted. 9 repeat rows among the latest 100 are merged into the row they repeat. The 101 oldest rows on record are not shown and were not checked, so the counts can still include repeats.

  1. 2026-10-14 16:30 UTCEPSS rescoreEPSS 0.3% · 18th percentile
  2. 2026-10-13 16:31 UTCEPSS rescoreEPSS 0.3% · 18th percentile
  3. 2026-10-12 17:41 UTCEG score recompute
  4. 2026-10-12 16:31 UTCEPSS rescoreEPSS 0.3% · 18th percentile
  5. 2026-10-11 21:07 UTCEG score recompute
  6. 2026-10-11 15:59 UTCEG score recompute
  7. 2026-10-11 13:46 UTCEPSS rescoreEPSS 0.3% · 18th percentile
  8. 2026-10-10 19:58 UTCEPSS rescoreEPSS 0.3% · 18th percentile
  9. 2026-10-09 20:05 UTCEPSS rescoreEPSS 0.3% · 18th percentile
  10. 2026-10-08 17:08 UTCEPSS rescoreEPSS 0.3% · 18th percentile
  11. 2026-10-07 23:46 UTCEPSS rescoreEPSS 0.3% · 18th percentile
  12. 2026-10-06 15:16 UTCEPSS rescoreEPSS 0.3% · 18th percentile
  13. 2026-10-05 17:41 UTCEPSS rescoreEPSS 0.3% · 18th percentile
  14. 2026-10-04 23:20 UTCEPSS rescoreEPSS 0.3% · 18th percentile
  15. 2026-10-03 14:24 UTCEPSS rescoreEPSS 0.3% · 18th percentile
  16. 2026-10-02 16:15 UTCEG score recompute
  17. 2026-10-01 19:48 UTCEPSS rescoreEPSS 0.3% · 18th percentile
  18. 2026-09-30 15:02 UTCEPSS rescoreEPSS 0.3% · 18th percentile
  19. 2026-09-29 15:18 UTCEPSS rescoreEPSS 0.3% · 17th percentile
  20. 2026-09-28 13:50 UTCEPSS rescoreEPSS 0.3% · 17th percentile
  21. 2026-09-27 13:44 UTCEPSS rescoreEPSS 0.3% · 17th percentile
  22. 2026-09-26 22:42 UTCOSV refresh
  23. 2026-09-26 15:57 UTCEPSS rescoreEPSS 0.3% · 17th percentile
  24. 2026-09-24 14:01 UTCEPSS rescoreEPSS 0.3% · 17th percentile
  25. 2026-09-23 13:46 UTCEPSS rescoreEPSS 0.3% · 20th percentile
Show 66 more
  1. 2026-09-22 14:47 UTCEPSS rescoreEPSS 0.3% · 20th percentile
  2. 2026-09-20 20:14 UTCEPSS rescoreEPSS 0.3% · 20th percentile
  3. 2026-09-19 15:40 UTCEPSS rescoreEPSS 0.3% · 20th percentile
  4. 2026-09-18 19:26 UTCEPSS rescoreEPSS 0.3% · 20th percentile
  5. 2026-09-17 19:27 UTCEPSS rescoreEPSS 0.3% · 20th percentile
  6. 2026-09-16 14:06 UTCEPSS rescoreEPSS 0.3% · 20th percentile
  7. 2026-09-16 05:12 UTCEPSS rescoreEPSS 0.3% · 20th percentile
  8. 2026-09-15 03:08 UTCEPSS rescoreEPSS 0.3% · 19th percentile
  9. 2026-09-13 16:45 UTCEPSS rescoreEPSS 0.3% · 19th percentile
  10. 2026-09-12 14:59 UTCEPSS rescoreEPSS 0.3% · 19th percentile
  11. 2026-09-11 14:51 UTCEPSS rescoreEPSS 0.3% · 19th percentile
  12. 2026-09-11 09:35 UTCEPSS rescoreEPSS 0.3% · 19th percentile
  13. 2026-09-10 09:33 UTCEPSS rescoreEPSS 0.3% · 19th percentile
  14. 2026-09-08 21:58 UTCEPSS rescoreEPSS 0.3% · 19th percentile
  15. 2026-09-07 16:00 UTCEPSS rescoreEPSS 0.3% · 19th percentile
  16. 2026-09-07 08:47 UTCOSV refresh
  17. 2026-09-06 13:46 UTCEPSS rescoreEPSS 0.3% · 19th percentile
  18. 2026-09-04 13:59 UTCEPSS rescoreEPSS 0.3% · 19th percentile
  19. 2026-09-04 05:05 UTCEPSS rescoreEPSS 0.3% · 19th percentile
  20. 2026-09-02 14:10 UTCEPSS rescoreEPSS 0.3% · 19th percentile
  21. 2026-09-01 13:52 UTCEPSS rescoreEPSS 0.3% · 19th percentile
  22. 2026-09-01 04:37 UTCEPSS rescoreEPSS 0.3% · 19th percentile
  23. 2026-08-30 19:16 UTCEPSS rescoreEPSS 0.3% · 19th percentile
  24. 2026-08-30 01:20 UTCEPSS rescoreEPSS 0.3% · 19th percentile
  25. 2026-08-28 21:39 UTCEPSS rescoreEPSS 0.3% · 19th percentile
  26. 2026-08-27 14:23 UTCEPSS rescoreEPSS 0.3% · 19th percentile
  27. 2026-08-26 14:44 UTCEPSS rescoreEPSS 0.3% · 19th percentile
  28. 2026-08-25 13:47 UTCEPSS rescoreEPSS 0.3% · 19th percentile
  29. 2026-08-24 14:15 UTCEPSS rescoreEPSS 0.3% · 19th percentile
  30. 2026-08-23 00:18 UTCEPSS rescoreEPSS 0.3% · 20th percentile
  31. 2026-08-21 23:47 UTCEPSS rescoreEPSS 0.3% · 20th percentile
  32. 2026-08-20 22:54 UTCEPSS rescoreEPSS 0.3% · 20th percentile
  33. 2026-08-20 18:01 UTCOSV refresh
  34. 2026-08-19 17:02 UTCEPSS rescoreEPSS 0.3% · 20th percentile
  35. 2026-08-18 13:46 UTCEPSS rescoreEPSS 0.3% · 20th percentile
  36. 2026-08-17 13:45 UTCEPSS rescoreEPSS 0.3% · 20th percentile
  37. 2026-08-16 14:54 UTCEPSS rescoreEPSS 0.3% · 20th percentile
  38. 2026-08-16 02:13 UTCEPSS rescoreEPSS 0.3% · 19th percentile
  39. 2026-08-15 01:29 UTCEPSS rescoreEPSS 0.3% · 19th percentile
  40. 2026-08-13 21:59 UTCEPSS rescoreEPSS 0.3% · 19th percentile
  41. 2026-08-12 13:49 UTCEPSS rescoreEPSS 0.3% · 19th percentile
  42. 2026-08-11 13:40 UTCEPSS rescoreEPSS 0.3% · 19th percentile
  43. 2026-08-10 23:58 UTCEPSS rescoreEPSS 0.3% · 19th percentile
  44. 2026-08-09 13:45 UTCEPSS rescoreEPSS 0.3% · 19th percentile
  45. 2026-08-08 16:35 UTCEPSS rescoreEPSS 0.3% · 19th percentile
  46. 2026-08-07 16:25 UTCEPSS rescoreEPSS 0.3% · 19th percentile
  47. 2026-08-06 13:45 UTCEPSS rescoreEPSS 0.3% · 19th percentile
  48. 2026-08-05 19:16 UTCEPSS rescoreEPSS 0.3% · 19th percentile
  49. 2026-08-05 11:54 UTCEG score recompute
  50. 2026-08-05 11:54 UTCVendor advisory
  51. 2026-08-05 11:54 UTCGHSA enrichmentGHSA-5684-4xfg-mxj4 · GitHub severity HIGH · GitHub CVSS 7.8
  52. 2026-08-04 15:08 UTCEPSS rescoreEPSS 0.3% · 17th percentile
  53. 2026-08-04 11:24 UTCEG score recompute
  54. 2026-08-04 11:24 UTCGHSA enrichmentGHSA-5684-4xfg-mxj4 · GitHub severity HIGH · GitHub CVSS 7.8
  55. 2026-08-04 10:36 UTCEPSS rescoreEPSS 0.3% · 17th percentile
  56. 2026-08-03 10:34 UTCEPSS rescoreEPSS 0.3% · 17th percentile
  57. 2026-08-02 02:25 UTCEPSS rescoreEPSS 0.3% · 17th percentile
  58. 2026-08-01 04:14 UTCEPSS rescoreEPSS 0.3% · 17th percentile
  59. 2026-07-31 07:12 UTCOSV refresh
  60. 2026-07-30 16:26 UTCEPSS rescoreEPSS 0.3% · 17th percentile
  61. 2026-07-30 01:29 UTCEPSS rescoreEPSS 0.3% · 17th percentile
  62. 2026-07-28 15:35 UTCEPSS rescoreEPSS 0.3% · 17th percentile
  63. 2026-07-27 14:11 UTCEPSS rescoreEPSS 0.3% · 17th percentile
  64. 2026-07-26 14:53 UTCEPSS rescoreEPSS 0.3% · 17th percentile
  65. 2026-07-25 14:16 UTCEPSS rescoreEPSS 0.3% · 17th percentile
  66. 2026-07-24 14:16 UTCEPSS rescoreEPSS 0.3% · 17th percentile

Frequently asked(5)

What is CVE-2024-50217?
CVE-2024-50217 is a high-severity vulnerability; its CVE record was published on November 9, 2024. In the Linux kernel, the following vulnerability has been resolved: btrfs: fix use-after-free of block device file in btrfsfreeextra_devids() Mounting btrfs from two images (which have the same one fsid and two different dev_uuids) in certain executing order may trigger an UAF for variable…
When was the CVE record for CVE-2024-50217 published?
The CVE record for CVE-2024-50217 was published on November 9, 2024. That is the record's publication date; the vulnerability itself may have been made public earlier. EchelonGraph's copy of the record carries a last-modified date of August 5, 2026; the record at its source may have been updated since.
Is CVE-2024-50217 actively exploited?
CVE-2024-50217 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 0.3% probability of exploitation in the next 30 days (18th percentile of EPSS-scored CVEs).
What is the CVSS score of CVE-2024-50217?
CVE-2024-50217 has a CVSS v3 base score of 7.8 (NVD).
How do I remediate CVE-2024-50217?
A fix for CVE-2024-50217 is available: update to the fixed version the vendor names in its advisory. The vendor advisories EchelonGraph has for CVE-2024-50217 are linked in the Vendor Advisories panel on this page.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2024-50217

Explore →

Is Your Infrastructure Affected by CVE-2024-50217?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.