---
id: CVE-2025-21659
title: |-
  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 namespac…
summary: |-
  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 namespac…
severity: high
cvss: 8.1
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:L/I:H/A:H'
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 6.8, < 6.12.10'
  - linux_kernel = 6.13
patched:
  - linux_kernel 6.12.10
published: '2025-01-21'
updated: '2026-07-30'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-21659'
references:
  - url: 'https://git.kernel.org/stable/c/b683ba0df11ff563cc237eb1b74d6adfa77226bf'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/d1cacd74776895f6435941f86a1130e58f6dd226'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
epss: 0.00181
epssPercentile: 0.06809
ingestedAt: '2026-07-30T06:53:08.992Z'
---

## Overview

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

- `linux_kernel >= 6.8, < 6.12.10`
- `linux_kernel = 6.13`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.12.10`
