net: drv: netdevsim: don't napi_complete() from netpoll
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.12.346.15.36.16In the Linux kernel, the following vulnerability has been resolved:
net: drv: netdevsim: don't napi_complete() from netpoll
netdevsim supports netpoll. Make sure we don't call napi_complete() from it, since it may not be scheduled. Breno reports hitting a warning in napi_complete_done():
WARNING: CPU: 14 PID: 104 at net/core/dev.c:6592 napi_complete_done+0x2cc/0x560 __napi_poll+0x2d8/0x3a0 handle_softirqs+0x1fe/0x710
This is presumably after netpoll stole the SCHED bit prematurely.
From the CVE record · Linux
The Linux kernel's netdevsim driver can call napi_complete() from netpoll when NAPI may not be scheduled, triggering a warning in napi_complete_done(). The input does not establish an attacker action, access requirement, or user interaction needed to trigger it.
Engineers running the Linux kernel with netdevsim should check their systems; affected versions are not specified.