CVE-2025-21659

netdev: prevent accessing NAPI instances from another namespace

State
Published
Severity
8.1 High
Published
Jan 21, 2025
Updated
Aug 5, 2026
Reserved
Dec 29, 2024

Read the record on cve.org

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().

Scores

CVSSScoreVectorSource
3.18.1 HighCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:L/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 27f91aaf49b3a50e5a02ad5fa27b7c453d029a72 to before b683ba0df11ff563cc237eb1b74d6adfa77226bfAffected
  • 27f91aaf49b3a50e5a02ad5fa27b7c453d029a72 to before d1cacd74776895f6435941f86a1130e58f6dd226Affected
LinuxLinux
  • 6.8Affected
  • before 6.8Not affected
  • 6.12.10 through 6.12.*Not affected
  • 6.13 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.