CVE-2026-31580

NVD 0.07.8
EchelonGraph scoreMEDIUM confidence

Score 7.8 from GitHub Security Advisory (severity: HIGH) published 2026-04-24. NVD baseline CVSS 7.8; sources differ by 0.0.

Triggered by: GitHub Security Advisory CVSS
Sources: epss, ghsa, nvd
0.0
EchelonGraph verdictMonitorLow exploitation likelihood right now — keep watching.
  • No confirmed exploitation signals yet
CISA-KEV: Not listedEPSS: 0%CVSS: Exploit: NoneExposed: 0

No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.

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

bcache: fix cached_dev.sb_bio use-after-free and crash

In our production environment, we have received multiple crash reports regarding libceph, which have caught our attention:

[6888366.280350] Call Trace:
[6888366.280452]  blk_update_request+0x14e/0x370
[6888366.280561]  blk_mq_end_request+0x1a/0x130
[6888366.280671]  rbd_img_handle_request+0x1a0/0x1b0 [rbd]
[6888366.280792]  rbd_obj_handle_request+0x32/0x40 [rbd]
[6888366.280903]  __complete_request+0x22/0x70 [libceph]
[6888366.281032]  osd_dispatch+0x15e/0xb40 [libceph]
[6888366.281164]  ? inet_recvmsg+0x5b/0xd0
[6888366.281272]  ? ceph_tcp_recvmsg+0x6f/0xa0 [libceph]
[6888366.281405]  ceph_con_process_message+0x79/0x140 [libceph]
[6888366.281534]  ceph_con_v1_try_read+0x5d7/0xf30 [libceph]
[6888366.281661]  ceph_con_workfn+0x329/0x680 [libceph]

After analyzing the coredump file, we found that the address of dc->sb_bio has been freed. We know that cached_dev is only freed when it is stopped.

Since sb_bio is a part of struct cached_dev, rather than an alloc every time. If the device is stopped while writing to the superblock, the released address will be accessed at endio.

This patch hopes to wait for sb_write to complete in cached_dev_free.

It should be noted that we analyzed the cause of the problem, then tell all details to the QWEN and adopted the modifications it made.

CVSS v3
EG Score
7.8(medium)
EPSS
2.8%
KEV
Not listed

Published

April 24, 2026

Last Modified

June 14, 2026

Advisory Details (9)

Auto-updated Jun 3, 2026
No patch confirmed yet.
generic

bcache: fix cached_dev.sb_bio use-after-free and crash - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/fec114a98b8735ee89c75216c45a78e28be0f128
generic

bcache: fix cached_dev.sb_bio use-after-free and crash - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/f50e7c325ab1207fe941555bcff659f6d7050572
generic

bcache: fix cached_dev.sb_bio use-after-free and crash - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/add4982510f3b7c318a2dd7438bdc9c63171e753
generic

bcache: fix cached_dev.sb_bio use-after-free and crash - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/9467d360be70e6ee55b0c1cd2a1f1424f57b5b85
generic

bcache: fix cached_dev.sb_bio use-after-free and crash - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/81f44ed8c3f54abb7561ece774ea4cca5070b2f2
generic

bcache: fix cached_dev.sb_bio use-after-free and crash - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/4f71c8ba2dc009042493021d94a9718fbe2ebf27
generic

bcache: fix cached_dev.sb_bio use-after-free and crash - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/47fa09fe7f3e09df28a51cb2cbd8f5d2f7f6edc1
generic

bcache: fix cached_dev.sb_bio use-after-free and crash - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/383f7fec0de8cee1cf7ae1f9d9f14044a61f10f9
generic

bcache: fix cached_dev.sb_bio use-after-free and crash - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/2d6965581e164fa2ba3f7652ddae5535f6336576

Vendor Advisories for CVE-2026-31580(2)

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

Weakness Classification(1)

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

Data Freshness Timeline

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

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. 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. Most recent first.

Showing the most recent 100 of 148 total refreshes for this CVE.

  1. 2026-07-15 16:57 UTCEPSS rescore
  2. 2026-07-15 16:57 UTCEPSS rescore
  3. 2026-07-15 02:00 UTCEPSS rescore
  4. 2026-07-15 02:00 UTCEPSS rescore
  5. 2026-07-13 22:30 UTCEPSS rescore
  6. 2026-07-13 06:13 UTCEPSS rescore
  7. 2026-07-13 06:13 UTCEPSS rescore
  8. 2026-07-12 05:46 UTCEPSS rescore
  9. 2026-07-11 08:27 UTCEPSS rescore
  10. 2026-07-09 19:10 UTCEPSS rescore
  11. 2026-07-08 15:15 UTCEPSS rescore
  12. 2026-07-07 13:46 UTCEPSS rescore
  13. 2026-07-06 16:27 UTCEPSS rescore
  14. 2026-07-06 16:27 UTCEPSS rescore
  15. 2026-07-06 02:23 UTCEPSS rescore
  16. 2026-07-06 02:23 UTCEPSS rescore
  17. 2026-07-04 06:31 UTCEPSS rescore
  18. 2026-06-30 23:22 UTCEPSS rescore
  19. 2026-06-29 14:06 UTCEPSS rescore
  20. 2026-06-29 14:06 UTCEPSS rescore
  21. 2026-06-28 14:07 UTCEPSS rescore
  22. 2026-06-28 14:07 UTCEPSS rescore
  23. 2026-06-28 04:56 UTCEPSS rescore
  24. 2026-06-28 04:56 UTCEPSS rescore
  25. 2026-06-27 03:08 UTCEPSS rescore
Show 75 more
  1. 2026-06-25 13:49 UTCEPSS rescore
  2. 2026-06-25 13:49 UTCEPSS rescore
  3. 2026-06-24 14:05 UTCEPSS rescore
  4. 2026-06-23 21:33 UTCEPSS rescore
  5. 2026-06-23 21:33 UTCEPSS rescore
  6. 2026-06-22 14:25 UTCEPSS rescore
  7. 2026-06-22 14:25 UTCEPSS rescore
  8. 2026-06-21 14:56 UTCEPSS rescore
  9. 2026-06-21 14:56 UTCEPSS rescore
  10. 2026-06-21 01:59 UTCEPSS rescore
  11. 2026-06-19 19:25 UTCEPSS rescore
  12. 2026-06-19 19:25 UTCEPSS rescore
  13. 2026-06-18 17:52 UTCEPSS rescore
  14. 2026-06-18 17:52 UTCEPSS rescore
  15. 2026-06-17 17:53 UTCEPSS rescore
  16. 2026-06-16 17:52 UTCEPSS rescore
  17. 2026-06-15 17:49 UTCEPSS rescore
  18. 2026-06-14 23:28 UTCMITRE cvelistV5
  19. 2026-06-14 23:18 UTCEPSS rescore
  20. 2026-06-14 22:57 UTCEG score recompute
  21. 2026-06-14 22:57 UTCGHSA enrichment
  22. 2026-06-14 11:57 UTCEG score recompute
  23. 2026-06-14 11:56 UTCGHSA enrichment
  24. 2026-06-13 23:00 UTCEPSS rescore
  25. 2026-06-12 23:12 UTCEPSS rescore
  26. 2026-06-12 23:12 UTCEPSS rescore
  27. 2026-06-12 12:21 UTCEG score recompute
  28. 2026-06-12 12:21 UTCGHSA enrichment
  29. 2026-06-12 01:03 UTCEG score recompute
  30. 2026-06-12 01:03 UTCGHSA enrichment
  31. 2026-06-11 14:04 UTCEG score recompute
  32. 2026-06-11 14:04 UTCGHSA enrichment
  33. 2026-06-11 14:00 UTCEPSS rescore
  34. 2026-06-10 22:18 UTCEPSS rescore
  35. 2026-06-10 21:51 UTCEG score recompute
  36. 2026-06-10 21:51 UTCGHSA enrichment
  37. 2026-06-10 13:22 UTCEPSS rescore
  38. 2026-06-10 10:52 UTCEG score recompute
  39. 2026-06-10 10:52 UTCGHSA enrichment
  40. 2026-06-09 23:54 UTCEG score recompute
  41. 2026-06-09 23:54 UTCGHSA enrichment
  42. 2026-06-09 12:23 UTCEG score recompute
  43. 2026-06-09 12:23 UTCGHSA enrichment
  44. 2026-06-09 00:55 UTCEG score recompute
  45. 2026-06-09 00:55 UTCGHSA enrichment
  46. 2026-06-08 14:17 UTCEPSS rescore
  47. 2026-06-08 14:17 UTCEPSS rescore
  48. 2026-06-08 13:25 UTCEG score recompute
  49. 2026-06-08 13:24 UTCGHSA enrichment
  50. 2026-06-08 02:26 UTCEG score recompute
  51. 2026-06-08 02:26 UTCGHSA enrichment
  52. 2026-06-07 15:27 UTCEG score recompute
  53. 2026-06-07 15:27 UTCGHSA enrichment
  54. 2026-06-07 15:25 UTCEPSS rescore
  55. 2026-06-07 15:25 UTCEPSS rescore
  56. 2026-06-07 15:25 UTCEPSS rescore
  57. 2026-06-07 04:29 UTCEG score recompute
  58. 2026-06-07 04:29 UTCGHSA enrichment
  59. 2026-06-06 17:27 UTCEG score recompute
  60. 2026-06-06 17:27 UTCGHSA enrichment
  61. 2026-06-06 13:47 UTCEPSS rescore
  62. 2026-06-06 13:47 UTCEPSS rescore
  63. 2026-06-06 05:44 UTCEG score recompute
  64. 2026-06-06 05:44 UTCGHSA enrichment
  65. 2026-06-05 22:47 UTCEPSS rescore
  66. 2026-06-05 22:47 UTCEPSS rescore
  67. 2026-06-05 18:40 UTCEG score recompute
  68. 2026-06-05 18:40 UTCGHSA enrichment
  69. 2026-06-05 07:42 UTCEG score recompute
  70. 2026-06-05 07:42 UTCGHSA enrichment
  71. 2026-06-05 06:10 UTCEPSS rescore
  72. 2026-06-05 06:10 UTCEPSS rescore
  73. 2026-06-04 20:43 UTCEG score recompute
  74. 2026-06-04 20:43 UTCGHSA enrichment
  75. 2026-06-04 13:12 UTCEPSS rescore

Frequently asked(4)

What is CVE-2026-31580?
CVE-2026-31580 is a publicly disclosed vulnerability published on April 24, 2026. In the Linux kernel, the following vulnerability has been resolved: bcache: fix cacheddev.sbbio use-after-free and crash In our production environment, we have received multiple crash reports regarding libceph, which have caught our attention: After analyzing the coredump file, we found that the…
When was CVE-2026-31580 disclosed?
CVE-2026-31580 was first published in the National Vulnerability Database on April 24, 2026, with the most recent update on June 14, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2026-31580 actively exploited?
CVE-2026-31580 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 2.8% percentile likelihood of exploitation in the next 30 days — higher percentiles indicate greater predicted risk.
How do I remediate CVE-2026-31580?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2026-31580, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

Explore the affected products and dependency analysis for CVE-2026-31580

Explore →

Is Your Infrastructure Affected by CVE-2026-31580?

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