All reports
Medium

kernel: net: drv: netdevsim: don't napi_complete() from netpoll

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2025-38270

Probability of exploitation in the next 30 days: 0.20%

FIRST EPSS · 2026-11-23

Description

In 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.

A flaw was found in the Linux kernel's netdevsim driver. A local user with administrative privileges could cause a Denial of Service (DoS) by initiating network polling on simulated network interfaces. Because the driver prematurely attempts to complete polling operations without verifying the device scheduling state, the kernel encounters an inconsistent state that can trigger warnings and system instability.