netdev-genl: report NAPI thread PID in the caller's pid namespace (Linux Linux)

CVE-2026-72127
Not available

At a glance

Source
NVD
EPSS
EPSS 0.21 % · percentile 11 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
Affected products
Linux · Linux
NVD status
Received

Description

In the Linux kernel, the following vulnerability has been resolved: netdev-genl: report NAPI thread PID in the caller's pid namespace netdev_nl_napi_fill_one() reports the NAPI kthread PID in NETDEV_A_NAPI_PID using task_pid_nr(), which returns the PID in the initial pid namespace. NETDEV_CMD_NAPI_GET does not have GENL_ADMIN_PERM and the netdev genl family is netnsok, so a caller in a child pid namespace can issue it. That caller then sees the kthread's global PID, even though the kthread is not visible in its pid namespace, where the value should be 0. Translate the PID through the caller's pid namespace, the same way commit 3799c2570982 ("io_uring/fdinfo: translate SqThread PID through caller's pid_ns") did for the io_uring SQPOLL thread. The doit and dumpit paths both run synchronously in the caller's context, so task_active_pid_ns(current) is the caller's pid namespace.

References

European references

CERT-FR advisories

Affected products

ProductAffected versions
Linux · Linux
affected : ≥ db4704f4e4dfce835e934609fca735a648ce26e8 < fb18095389fe81f140d39585a2624aca9d42227e
affected : ≥ db4704f4e4dfce835e934609fca735a648ce26e8 < 5e4c8e08ce95730c87d6ada0bdbe1131a3c06393
affected : ≥ db4704f4e4dfce835e934609fca735a648ce26e8 < fd750b694f1f9e1ecb8ca19314e4e21edbb15f42
affected : ≥ db4704f4e4dfce835e934609fca735a648ce26e8 < 1f24c0d01db214c9e661915e9972404c96ca73c0
Other versions : unaffected
Linux · Linux
affected : 6.8
unaffected : ≥ 0 < 6.8
unaffected : ≥ 6.12.97 ≤ 6.12.*
unaffected : ≥ 6.18.40 ≤ 6.18.*
unaffected : ≥ 7.1.5 ≤ 7.1.*
unaffected : ≥ 7.2 ≤ *
Other versions : affected

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