CVE-2025-38311
BaseFortify
Publication date: 2025-07-10
Last updated on: 2025-11-18
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | 6.5 |
| linux | linux_kernel | 6.5 |
| linux | linux_kernel | 6.5 |
| linux | linux_kernel | 6.5 |
| linux | linux_kernel | 6.5 |
| linux | linux_kernel | 6.5 |
| linux | linux_kernel | From 5.15.160 (inc) to 5.16 (inc) |
| linux | linux_kernel | From 5.15.160 (inc) to 5.16 (inc) |
| linux | linux_kernel | From 5.15.160 (inc) to 5.16 (inc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-667 | The product does not properly acquire or release a lock on a resource, leading to unexpected resource state changes and behaviors. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability involves the Linux kernel's iavf driver, where a problematic locking mechanism called the 'crit lock' was causing deadlocks due to circular locking dependencies. The fix removes the crit lock and replaces it with the netdev lock, which simplifies synchronization and prevents these deadlocks. The issue was related to complex and error-prone locking and scheduling logic in the iavf driver.
How can this vulnerability impact me? :
This vulnerability can cause deadlocks in the Linux kernel's iavf driver, potentially leading to system hangs or crashes when the driver attempts to acquire locks in a circular dependency. This can impact system stability and reliability, especially in environments relying on the iavf driver for network functionality.
What immediate steps should I take to mitigate this vulnerability?
The vulnerability has been resolved by removing the crit lock in the iavf driver and replacing it with netdev_lock() to avoid deadlocks and locking issues. To mitigate this vulnerability, you should update your Linux kernel to a version that includes this fix (post the patch that removes the crit lock and reworks mutexes for better synchronization).