CVE-2022-48985
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
21/10/2024
Last modified:
07/11/2024
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
net: mana: Fix race on per-CQ variable napi work_done<br />
<br />
After calling napi_complete_done(), the NAPIF_STATE_SCHED bit may be<br />
cleared, and another CPU can start napi thread and access per-CQ variable,<br />
cq->work_done. If the other thread (for example, from busy_poll) sets<br />
it to a value >= budget, this thread will continue to run when it should<br />
stop, and cause memory corruption and panic.<br />
<br />
To fix this issue, save the per-CQ work_done variable in a local variable<br />
before napi_complete_done(), so it won&#39;t be corrupted by a possible<br />
concurrent thread after napi_complete_done().<br />
<br />
Also, add a flag bit to advertise to the NIC firmware: the NAPI work_done<br />
variable race is fixed, so the driver is able to reliably support features<br />
like busy_poll.
Impact
Base Score 3.x
4.70
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.15 (including) | 5.15.83 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.16 (including) | 6.0.13 (excluding) |
| cpe:2.3:o:linux:linux_kernel:6.1:rc1:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.1:rc2:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.1:rc3:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.1:rc4:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.1:rc5:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.1:rc6:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.1:rc7:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.1:rc8:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page



