CVE-2025-40164
BaseFortify
Publication date: 2025-11-12
Last updated on: 2026-02-26
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | 4.7 |
| linux | linux_kernel | 4.7 |
| linux | linux_kernel | From 5.16 (inc) to 6.1.162 (exc) |
| linux | linux_kernel | From 6.2 (inc) to 6.6.122 (exc) |
| linux | linux_kernel | From 6.7 (inc) to 6.12.64 (exc) |
| linux | linux_kernel | 6.18 |
| linux | linux_kernel | From 4.7.1 (inc) to 5.15.199 (exc) |
| linux | linux_kernel | From 6.13 (inc) to 6.17.5 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability involves the Linux kernel's usbnet driver using the function smp_processor_id() in preemptible code, which is unsafe and causes warnings. The issue occurs because smp_processor_id() should not be called in code that can be preempted, as it may lead to incorrect CPU identification. The fix involved adding local_bh_disable/enable() protection in the usbnet_resume_rx() function to ensure proper context and prevent these warnings.
How can this vulnerability impact me? :
The vulnerability can cause instability or unexpected behavior in the Linux kernel's USB network driver due to improper use of smp_processor_id() in preemptible code. This could potentially lead to kernel warnings or bugs affecting network functionality over USB devices, possibly impacting system reliability.