CVE-2025-40185: ice: ice_adapter: release xa entry on adapter allocation failure

Published Nov 12, 2025
·
Updated

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

ice: iceadapter: release xa entry on adapter allocation failure

When iceadapternew() fails, the reserved XArray entry created by xainsert() 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 (xaload) 2. Reserve the XArray slot (xareserve) 3. Allocate the adapter (iceadapternew) 4. Store the adapter (xastore)

Affected Software

1 affected component
Linux Linux kernel

Event History

Nov 12, 2025
CVE Published
via MITRE·09:56 PM
Data Sourced
via MITRE·09:56 PM
Description
Data Sourced
via NVD·10:15 PM
Description
Data Sourced
via Red Hat·11:03 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-40185?

The severity of CVE-2025-40185 is categorized as moderate due to potential resource mismanagement in the Linux kernel.

2

How do I fix CVE-2025-40185?

To fix CVE-2025-40185, upgrade to the latest patched version of the Linux kernel that addresses this vulnerability.

3

What systems are affected by CVE-2025-40185?

CVE-2025-40185 affects the Linux kernel, particularly versions where the ice_driver implementation is used.

4

What does CVE-2025-40185 involve?

CVE-2025-40185 involves the failure to release a reserved XArray entry upon adapter allocation failure, leading to potential issues.

5

When was CVE-2025-40185 disclosed?

CVE-2025-40185 was disclosed as part of regular Linux kernel updates and fix announcements.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203