CVE-2025-40185
Description
In the Linux kernel, the following vulnerability has been resolved: ice: ice_adapter: release xa entry on adapter allocation failure When ice_adapter_new() fails, the reserved XArray entry created by xa_insert() is not released. This causes subsequent insertions at the same index to return -EBUSY, potentially leading to NULL pointer dereferences. Reorder the operations as suggested by Przemek Kitszel: 1. Check if adapter already exists (xa_load) 2. Reserve the XArray slot (xa_reserve) 3. Allocate the adapter (ice_adapter_new) 4. Store the adapter (xa_store)
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| rhel | 9 | fixed | |
| sles | affected | | |
| rocky | 9 | fixed | |
| debian | bookworm | fixed | 0 |
| debian | bullseye | fixed | 0 |
| debian | forky | fixed | 6.17.6-1 |
| debian | sid | fixed | 6.17.6-1 |
| debian | trixie | fixed | 6.12.57-1 |
| almalinux | 9 | fixed | kernel-64k-debug-devel-5.14.0-611.11.1.el9_7.aarch64.rpm |
References
- https://access.redhat.com/errata/RHSA-2025:22405
- https://www.suse.com/security/cve/CVE-2025-40185.html
- https://errata.rockylinux.org/RLSA-2025:22405
- https://security-tracker.debian.org/tracker/CVE-2025-40185
- https://bugzilla.redhat.com/2393172
- https://bugzilla.redhat.com/2396934
- https://bugzilla.redhat.com/2400598
- https://bugzilla.redhat.com/2400628
- https://bugzilla.redhat.com/2402699
- https://bugzilla.redhat.com/2404105
- https://bugzilla.redhat.com/2406776
- https://bugzilla.redhat.com/2414741
- https://errata.almalinux.org/9/ALSA-2025-22405.html
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.