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 package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 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_kernel | from 6.8 before 6.12.10, 6.13 | NVD |
All scores
| Linux | 8.1high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:L/I:H/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS: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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-21659 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2025-21659 changed 2026-07-30 | Public domain |