# CVE-2025-21659: netdev: prevent accessing NAPI instances from another namespace

- Severity: High 8.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:L/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 8% of CVEs (2026-12-01)
- Published: 2025-01-21T12:18:15.407Z
- Modified: 2026-08-05T11:53:25.796Z
- 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().

(As written by CVE List.)

## Affected

- 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 *)
- linux linux_kernel: from 6.8 before 6.12.10; 6.13

## Every score

- Linux: CVSS:3.1 8.1 High `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:L/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/b683ba0df11ff563cc237eb1b74d6adfa77226bf> (patch)
- <https://git.kernel.org/stable/c/d1cacd74776895f6435941f86a1130e58f6dd226> (patch)

## Sources

- CVE List: [CVE-2025-21659](https://www.cve.org/CVERecord?id=CVE-2025-21659), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2025-21659](https://nvd.nist.gov/vuln/detail/CVE-2025-21659), Public domain, modified 2026-07-30

---

Page: https://cve.day/CVE-2025-21659 · Whole record: https://cve.day/CVE-2025-21659.json · Rebuilt by cve.day 2026-11-25T22:58:53.453Z
