CVE-2026-52925
vrf: Fix a potential NPD when removing a port from a VRF
Check your servers for CVE-2026-52925
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-52925 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
vrf: Fix a potential NPD when removing a port from a VRF
RCU readers that identified a net device as a VRF port using netif_is_l3_slave() assume that a subsequent call to netdev_master_upper_dev_get_rcu() will return a VRF device. They then continue to dereference its l3mdev operations.
This assumption is not always correct and can result in a NPD [1]. There is no RCU synchronization when removing a port from a VRF, so it is possible for an RCU reader to see a new master device (e.g., a bridge) that does not have l3mdev operations.
Fix by adding RCU synchronization after clearing the IFF_L3MDEV_SLAVE flag. Skip this synchronization when a net device is removed from a VRF as part of its deletion and when the VRF device itself is deleted. In the latter case an RCU grace period will pass by the time RTNL is released.
[1] BUG: kernel NULL pointer dereference, address: 0000000000000000 [...] RIP: 0010:l3mdev_fib_table_rcu (net/l3mdev/l3mdev.c:181) [...] Call Trace: <TASK> l3mdev_fib_table_by_index (net/l3mdev/l3mdev.c:201 net/l3mdev/l3mdev.c:189) __inet_bind (net/ipv4/af_inet.c:499 (discriminator 3)) inet_bind_sk (net/ipv4/af_inet.c:469) __sys_bind (./include/linux/file.h:62 (discriminator 1) ./include/linux/file.h:83 (discriminator 1) net/socket.c:1951 (discriminator 1)) __x64_sys_bind (net/socket.c:1969 (discriminator 1) net/socket.c:1967 (discriminator 1) net/socket.c:1967 (discriminator 1)) do_syscall_64 (arch/x86/entry/syscall_64.c:63 (discriminator 1) arch/x86/entry/syscall_64.c:94 (discriminator 1)) entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130)
Exploitation
EPSS 0.16%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 3.02% of all scored CVEs. Scores of 30 Nov 2026.
The assessment of CISA (SSVC, 6 Nov 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from fdeea7be88b12742bfd50d9e19a06c0d2e702400, before 2c022f582fd16a470df6ed9e7fb7e9fc48946d49 affected from fdeea7be88b12742bfd50d9e19a06c0d2e702400, before 4ab6fc60ed5a0344b60711b09bff1dc238d8d6a4 affected from fdeea7be88b12742bfd50d9e19a06c0d2e702400, before 468defa0b70902a22f4478c1207624bc1b31c124 affected from fdeea7be88b12742bfd50d9e19a06c0d2e702400, before 3db8d078f7f652379ee394132b169d304f6eb4c1 affected from fdeea7be88b12742bfd50d9e19a06c0d2e702400, before 8c2b792f04a3db97c9d8d2a45817e93f8884baf5 affected from fdeea7be88b12742bfd50d9e19a06c0d2e702400, before a7a97f2303e63ede105c1d55ef53dc497364e11d affected from fdeea7be88b12742bfd50d9e19a06c0d2e702400, before d47204c127992da0c976ac9747070a575912e0fe affected from fdeea7be88b12742bfd50d9e19a06c0d2e702400, before 2674d603a9e6970463b2b9ebcf8e31e90beae169
Other versions: unaffected
|
| Linux |
affected 4.12 unaffected before 4.12 unaffected from 5.10.258 up to and including 5.10.* unaffected from 5.15.209 up to and including 5.15.* unaffected from 6.1.175 up to and including 6.1.* unaffected from 6.6.141 up to and including 6.6.* unaffected from 6.12.91 up to and including 6.12.* unaffected from 6.18.33 up to and including 6.18.* unaffected from 7.0.10 up to and including 7.0.* unaffected 7.1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-52925 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-52925
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-52925
trivy image --scanners vuln IMAGE | grep CVE-2026-52925
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/2c022f582fd16a470df6ed9e7fb7e9fc48946d49 git.kernel.org
- https://git.kernel.org/stable/c/4ab6fc60ed5a0344b60711b09bff1dc238d8d6a4 git.kernel.org
- https://git.kernel.org/stable/c/468defa0b70902a22f4478c1207624bc1b31c124 git.kernel.org
- https://git.kernel.org/stable/c/3db8d078f7f652379ee394132b169d304f6eb4c1 git.kernel.org
- https://git.kernel.org/stable/c/8c2b792f04a3db97c9d8d2a45817e93f8884baf5 git.kernel.org
- https://git.kernel.org/stable/c/a7a97f2303e63ede105c1d55ef53dc497364e11d git.kernel.org
- https://git.kernel.org/stable/c/d47204c127992da0c976ac9747070a575912e0fe git.kernel.org
- https://git.kernel.org/stable/c/2674d603a9e6970463b2b9ebcf8e31e90beae169 git.kernel.org
Source: the record CVE-2026-52925 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse