What’s Vulnerable › Vulnerabilities

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

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 products

How to fix

Upgrade to a fixed version: Linux kernel 6.12.10. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-21659 or the next vulnerability affects your stack