CVE-2025-21659
JSON

8.1high

netdev: prevent accessing NAPI instances from another namespace

Severity
8.1high CVSS:3.1 by Linux
Exploit likelihood
0.18% (higher than 8% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: netdev: prevent accessing NAPI instances from another namespace The NAPI IDs were not fully exposed to user space prior to the netlink API, so they were never namespaced. The netlink API must ensure that at the very least NAPI instance belongs to the same netns as the owner of the genl sock. napi_by_id() can become static now, but it needs to move because of dev_get_by_napi_id().

Affected

Product or packageVersionsReported by
Linux Linuxfrom 27f91aaf49b3a50e5a02ad5fa27b7c453d029a72 before b683ba0df11ff563cc237eb1b74d6adfa77226bf, from 27f91aaf49b3a50e5a02ad5fa27b7c453d029a72 before d1cacd74776895f6435941f86a1130e58f6dd226, 6.8
Not affected: before 6.8, from 6.12.10 up to 6.12.*, from 6.13 up to *
CVE List
linux linux_kernelfrom 6.8 before 6.12.10, 6.13NVD

All scores

Linux8.1high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:L/I:H/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: netdev: prevent accessing NAPI instances from another namespace The NAPI IDs were not fully exposed to user space prior to the netlink API, so they were never namespaced. The netlink API must ensure that at the very least NAPI instance belongs to the same netns as the owner of the genl sock. napi_by_id() can become static now, but it needs to move because of dev_get_by_napi_id().

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: netdev: evitar el acceso a instancias NAPI desde otro espacio de nombres Los identificadores NAPI no estaban completamente expuestos al espacio de usuario antes de la API netlink, por lo que nunca se asignaron espacios de nombres. La API netlink debe garantizar que, como mínimo, la instancia NAPI pertenezca a la misma red que el propietario del calcetín genl. napi_by_id() ahora puede volverse estático, pero debe moverse debido a dev_get_by_napi_id().

References

Sources

SourceRecordLicence
CVE ListCVE-2025-21659 changed 2026-08-05CVE Terms of Use
NVDCVE-2025-21659 changed 2026-07-30Public domain