CVE-2025-38358

MEDIUMNVD 4.74.7
EchelonGraph scoreMEDIUM confidence

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

Score 4.7 from GitHub Security Advisory published 2025-07-25. NVD baseline CVSS 4.7; sources differ by 0.0.

Triggered by: GitHub Security Advisory CVSS
Sources: EPSS, GitHub Security Advisory, NVD CVSS v3

Also known asEUVD-2025-22645 (ENISA EUVD) · GHSA-cv9m-prxm-594h (GitHub Security Advisories)Source: ENISA EUVD

4.7EG
EchelonGraph verdictMonitorRemediate within your standard update timelines (the SSVC decision on this page).
  • Lower severity and no public exploit yet
CISA-KEV: Not listedEPSS PROB: 0.1%CVSS: 4.7Exploit: None knownExposed services: Not assessed

A fixed version is listed under Patch Availability — apply it.

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

btrfs: fix race between async reclaim worker and close_ctree()

Syzbot reported an assertion failure due to an attempt to add a delayed iput after we have set BTRFS_FS_STATE_NO_DELAYED_IPUT in the fs_info state:

WARNING: CPU: 0 PID: 65 at fs/btrfs/inode.c:3420 btrfs_add_delayed_iput+0x2f8/0x370 fs/btrfs/inode.c:3420 Modules linked in: CPU: 0 UID: 0 PID: 65 Comm: kworker/u8:4 Not tainted 6.15.0-next-20250530-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Workqueue: btrfs-endio-write btrfs_work_helper RIP: 0010:btrfs_add_delayed_iput+0x2f8/0x370 fs/btrfs/inode.c:3420 Code: 4e ad 5d (...) RSP: 0018:ffffc9000213f780 EFLAGS: 00010293 RAX: ffffffff83c635b7 RBX: ffff888058920000 RCX: ffff88801c769e00 RDX: 0000000000000000 RSI: 0000000000000100 RDI: 0000000000000000 RBP: 0000000000000001 R08: ffff888058921b67 R09: 1ffff1100b12436c R10: dffffc0000000000 R11: ffffed100b12436d R12: 0000000000000001 R13: dffffc0000000000 R14: ffff88807d748000 R15: 0000000000000100 FS: 0000000000000000(0000) GS:ffff888125c53000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00002000000bd038 CR3: 000000006a142000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: btrfs_put_ordered_extent+0x19f/0x470 fs/btrfs/ordered-data.c:635 btrfs_finish_one_ordered+0x11d8/0x1b10 fs/btrfs/inode.c:3312 btrfs_work_helper+0x399/0xc20 fs/btrfs/async-thread.c:312 process_one_work kernel/workqueue.c:3238 [inline] process_scheduled_works+0xae1/0x17b0 kernel/workqueue.c:3321 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3402 kthread+0x70e/0x8a0 kernel/kthread.c:464 ret_from_fork+0x3fc/0x770 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245

This can happen due to a race with the async reclaim worker like this:

1) The async metadata reclaim worker enters shrink_delalloc(), which calls btrfs_start_delalloc_roots() with an nr_pages argument that has a value less than LONG_MAX, and that in turn enters start_delalloc_inodes(), which sets the local variable 'full_flush' to false because wbc->nr_to_write is less than LONG_MAX;

2) There it finds inode X in a root's delalloc list, grabs a reference for inode X (with igrab()), and triggers writeback for it with filemap_fdatawrite_wbc(), which creates an ordered extent for inode X;

3) The unmount sequence starts from another task, we enter close_ctree() and we flush the workqueue fs_info->endio_write_workers, which waits for the ordered extent for inode X to complete and when dropping the last reference of the ordered extent, with btrfs_put_ordered_extent(), when we call btrfs_add_delayed_iput() we don't add the inode to the list of delayed iputs because it has a refcount of 2, so we decrement it to 1 and return;

4) Shortly after at close_ctree() we call btrfs_run_delayed_iputs() which runs all delayed iputs, and then we set BTRFS_FS_STATE_NO_DELAYED_IPUT in the fs_info state;

5) The async reclaim worker, after calling filemap_fdatawrite_wbc(), now calls btrfs_add_delayed_iput() for inode X and there we trigger an assertion failure since the fs_info state has the flag BTRFS_FS_STATE_NO_DELAYED_IPUT set.

Fix this by setting BTRFS_FS_STATE_NO_DELAYED_IPUT only after we wait for the async reclaim workers to finish, after we call cancel_work_sync() for them at close_ctree(), and by running delayed iputs after wait for the reclaim workers to finish and before setting the bit.

This race was recently introduced by commit 19e60b2a95f5 ("btrfs: add extra warning if delayed iput is added when it's not allowed"). Without the new validation at btrfs_add_delayed_iput(), ---truncated---

CVSS v3
4.7
EG Score
4.7MEDIUMmedium confidence
EG Risk
21
EG Risk 21/100

EG Risk is EchelonGraph's 0–100 priority score. It fuses impact severity (EG Severity, the CVSS base score, never the KEV-floored or EPSS-lifted EG Score) with real-world exploitation and automatability, under weights EchelonGraph set by hand, so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner.

How it’s computed (value × EchelonGraph’s weight)
Severity47% × 45%
Impact severity (EG Severity): CVSS 4.7 of 10. Never the KEV-floored or EPSS-lifted EG Score.
Exploitation0.1% × 40%
FIRST EPSS: the 30-day exploitation probability when EchelonGraph scored this CVE.
Automatability0% × 15%
CISA's BOD 26-04 default: no one has published Automatable for this CVE, and CISA treats it as “no” for a CVE not in KEV.
SSVC (CISA's decision table, applied by EchelonGraph): Track at low or medium mission impact; Track* at high (mission-essential systems).
Exploitation none (no CISA value, KEV listing or exploit code on record) · Automatable no (CISA's BOD 26-04 default) · Technical impact total (CISA's BOD 26-04 default). EchelonGraph holds no SSVC assessment of this CVE from CISA: none of these inputs is from Vulnrichment. EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE.
Action: A fixed version is listed under Patch Availability. Apply it within your standard update timelines.
EPSS PROB
0.1%
EPSS %ILE
1st
KEV
Not listed

What the EG score is made of (scorer v4.0: the three questions the 0–10 score mixes, published apart · methodology)

The EG score (4.7): severity, escalated by confirmed exploitation. This CVE's 4.7 is its impact severity (EG Severity), not escalated.

EG Severity
4.7 MEDIUMCVSS-B, impact only: no KEV listing, EPSS or EG-KEV tier raises it.GitHub Security Advisory CVSS
EG Likelihood
0.1% within 30 daysSource: FIRST EPSS. FIRST's exploitation probability, not an EchelonGraph model.
Confirmed exploitation
None on record (CISA KEV, EG-KEV Tier 1)Reported apart from the likelihood: an observed fact, not a probability.
EG Priority
SSVC Track at medium mission impactTrack at low or medium mission impact; Track* at high (mission-essential systems).CISA BOD 26-04: 14 days if the affected system is publicly exposed; Fix on system upgrade if it is not.Each input and its source, and whom BOD 26-04 binds: the SSVC and BOD 26-04 blocks below.

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

A fixed version is listed under Patch Availability. Apply it within your standard update timelines.

Exploitation none (no CISA value, KEV listing or exploit code on record) · Automatable no (CISA's BOD 26-04 default) · Technical impact total (CISA's BOD 26-04 default). EchelonGraph holds no SSVC assessment of this CVE from CISA: none of these inputs is from 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.

The score's inputs: In CISA KEV no (CISA's KEV catalog) · Automatable no (CISA's BOD 26-04 default) · Technical impact total (CISA's BOD 26-04 default). Where an input reads “CISA's BOD 26-04 default”, no one has published it for this CVE, and CISA's implementation guidance says: “If “Automatable” and “Technical Impact” information items about a CVE ID are not available and the CVE ID is not in the KEV Catalog, CISA will treat its values as “no” and “total,” respectively, until CISA or a third party provides metadata about the CVE ID. CISA will always provide the Vulnrichment data for a CVE ID listed in the KEV Catalog.” 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

July 25, 2025

Last Modified

November 18, 2025

Patch Availability(1)

Vendor / EcosystemFix (by version range) / PatchReleasedSource
linuxKernel @ 6.15.5 (fixes >=6.15.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.

Weakness Classification(1)

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

Data Freshness Timeline

(refreshed 6× 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 92 of 144 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. 8 repeat rows among the latest 100 are merged into the row they repeat. The 52 oldest rows on record are not shown and were not checked, so the counts can still include repeats.

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

Frequently asked(5)

What is CVE-2025-38358?
CVE-2025-38358 is a medium-severity vulnerability; its CVE record was published on July 25, 2025. In the Linux kernel, the following vulnerability has been resolved: btrfs: fix race between async reclaim worker and close_ctree() Syzbot reported an assertion failure due to an attempt to add a delayed iput after we have set BTRFS_FS_STATE_NO_DELAYED_IPUT in the fs_info state: WARNING: CPU: 0 PID:…
When was the CVE record for CVE-2025-38358 published?
The CVE record for CVE-2025-38358 was published on July 25, 2025. 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 November 18, 2025; the record at its source may have been updated since.
Is CVE-2025-38358 actively exploited?
CVE-2025-38358 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 0.1% probability of exploitation in the next 30 days (1st percentile of EPSS-scored CVEs).
What is the CVSS score of CVE-2025-38358?
CVE-2025-38358 has a CVSS v3 base score of 4.7 (NVD).
How do I remediate CVE-2025-38358?
A fixed version for CVE-2025-38358 is listed under Patch Availability on this page: update to the version listed for your package.

Dependency Blast Radius

Explore the affected products and dependency analysis for CVE-2025-38358

Explore →

Is Your Infrastructure Affected by CVE-2025-38358?

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