netdev: prevent accessing NAPI instances from another namespace (Linux Linux)

CVE-2025-21659
HIGH 8.1

At a glance

Source
NVD
EPSS
EPSS 0.18 % · percentile 8 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 8.1CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:L/I:H/A:HLinux
CVSS 3.1HIGH 8.1CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:L/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 27f91aaf49b3a50e5a02ad5fa27b7c453d029a72 < b683ba0df11ff563cc237eb1b74d6adfa77226bf ; affected 27f91aaf49b3a50e5a02ad5fa27b7c453d029a72 < d1cacd74776895f6435941f86a1130e58f6dd226
Linux · Linuxaffected 6.8 ; unaffected 0 < 6.8 ; unaffected 6.12.10 ≤ 6.12.* ; unaffected 6.13 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD