CVE-2026-31578

NVD 0.07.8
EchelonGraph scoreLOW confidence

Score 7.8 from GitHub Security Advisory (severity: HIGH) published 2026-04-24.

Triggered by: GitHub Security Advisory CVSS
Sources: epss, ghsa
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:

media: as102: fix to not free memory after the device is registered in as102_usb_probe()

In as102_usb driver, the following race condition occurs:

CPU0						CPU1
as102_usb_probe()
  kzalloc(); // alloc as102_dev_t
  ....
  usb_register_dev();
						fd = sys_open("/path/to/dev"); // open as102 fd
						....
  usb_deregister_dev();
  ....
  kfree(); // free as102_dev_t
  ....
						sys_close(fd);
						  as102_release() // UAF!!
						    as102_usb_release()
						      kfree(); // DFB!!

When a USB character device registered with usb_register_dev() is later unregistered (via usb_deregister_dev() or disconnect), the device node is removed so new open() calls fail. However, file descriptors that are already open do not go away immediately: they remain valid until the last reference is dropped and the driver's .release() is invoked.

In as102, as102_usb_probe() calls usb_register_dev() and then, on an error path, does usb_deregister_dev() and frees as102_dev_t right away. If userspace raced a successful open() before the deregistration, that open FD will later hit as102_release() --> as102_usb_release() and access or free as102_dev_t again, occur a race to use-after-free and double-free vuln.

The fix is to never kfree(as102_dev_t) directly once usb_register_dev() has succeeded. After deregistration, defer freeing memory to .release().

In other words, let release() perform the last kfree when the final open FD is closed.

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

Published

April 24, 2026

Last Modified

June 14, 2026

Advisory Details (9)

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

media: as102: fix to not free memory after the device is registered in as102_usb_probe() - kernel/git/stable/linux.git - Linux kernel stable tree

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

media: as102: fix to not free memory after the device is registered in as102_usb_probe() - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/8bd29dbe03fc5b0f039ab2395ff37b64236d2f0c
generic

media: as102: fix to not free memory after the device is registered in as102_usb_probe() - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/7e5aedf6059cba2a669d86caeaf5a51f33ec85a1
generic

media: as102: fix to not free memory after the device is registered in as102_usb_probe() - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/582fbecb3756330006fe1950762412a68c2cacd2
generic

media: as102: fix to not free memory after the device is registered in as102_usb_probe() - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/2eeae47a438694408189138048a786be99954032
generic

media: as102: fix to not free memory after the device is registered in as102_usb_probe() - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/25d500cf391e384356a612b85cf60b353ad3cd0c
generic

media: as102: fix to not free memory after the device is registered in as102_usb_probe() - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/0d36653a3a821e5a974798adb347b3ea09332914
generic

media: as102: fix to not free memory after the device is registered in as102_usb_probe() - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/09e9206008b887aa553733bd915d73131071a086
generic

media: as102: fix to not free memory after the device is registered in as102_usb_probe() - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/07ceb444c8f627cf863864d4274b5a77769725ed

Weakness Classification(1)

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

Data Freshness Timeline

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

Frequently asked(4)

What is CVE-2026-31578?
CVE-2026-31578 is a publicly disclosed vulnerability published on April 24, 2026. In the Linux kernel, the following vulnerability has been resolved: media: as102: fix to not free memory after the device is registered in as102usbprobe() In as102_usb driver, the following race condition occurs: When a USB character device registered with usbregisterdev() is later unregistered…
When was CVE-2026-31578 disclosed?
CVE-2026-31578 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-31578 actively exploited?
CVE-2026-31578 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-31578?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2026-31578, 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-31578

Explore →

Is Your Infrastructure Affected by CVE-2026-31578?

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