CVE-2025-21659

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 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 Software

VendorProductVersion RangeStatus
LinuxLinux27f91aaf49b3a50e5a02ad5fa27b7c453d029a72 < b683ba0df11ff563cc237eb1b74d6adfa77226bfaffected
LinuxLinux27f91aaf49b3a50e5a02ad5fa27b7c453d029a72 < d1cacd74776895f6435941f86a1130e58f6dd226affected
LinuxLinux6.8affected
LinuxLinux0 < 6.8unaffected
LinuxLinux6.12.10 <= 6.12.*unaffected
LinuxLinux6.13 <= *unaffected

Weaknesses

References