First published: Mon Oct 21 2024(Updated: )
In the Linux kernel, the following vulnerability has been resolved: net: mana: Fix race on per-CQ variable napi work_done After calling napi_complete_done(), the NAPIF_STATE_SCHED bit may be cleared, and another CPU can start napi thread and access per-CQ variable, cq->work_done. If the other thread (for example, from busy_poll) sets it to a value >= budget, this thread will continue to run when it should stop, and cause memory corruption and panic. To fix this issue, save the per-CQ work_done variable in a local variable before napi_complete_done(), so it won't be corrupted by a possible concurrent thread after napi_complete_done(). Also, add a flag bit to advertise to the NIC firmware: the NAPI work_done variable race is fixed, so the driver is able to reliably support features like busy_poll.
Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Software | Affected Version | How to fix |
---|---|---|
Linux Kernel | >=5.15<5.15.83 | |
Linux Kernel | >=5.16<6.0.13 | |
Linux Kernel | =6.1-rc1 | |
Linux Kernel | =6.1-rc2 | |
Linux Kernel | =6.1-rc3 | |
Linux Kernel | =6.1-rc4 | |
Linux Kernel | =6.1-rc5 | |
Linux Kernel | =6.1-rc6 | |
Linux Kernel | =6.1-rc7 | |
Linux Kernel | =6.1-rc8 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2022-48985 has been classified with a severity level that can impact system stability due to its race condition in the Linux kernel.
To fix CVE-2022-48985, users should update their Linux kernel to a version that includes the patches addressing this vulnerability.
CVE-2022-48985 affects Linux kernel versions from 5.15 through 6.1-rc8.
CVE-2022-48985 involves a race condition that can lead to the improper handling of per-CQ variable 'work_done' during NAPI operations.
As of now, there are no publicly known exploitations of CVE-2022-48985, but the potential for race condition vulnerability poses a risk.