CVE-2026-52925
vrf: Fix a potential NPD when removing a port from a VRF
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)
INFO
Published Date :
June 24, 2026, 8:16 a.m.
Last Modified :
July 8, 2026, 3:29 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Apply RCU synchronization when removing ports from VRF.
- Synchronize RCU when clearing the IFF_L3MDEV_SLAVE flag.
- Skip sync when deleting a VRF device or port.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-52925.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-52925 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-52925
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-52925 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-52925 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Jul. 08, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Added CWE CWE-476 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.141 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.12.91 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.18.33 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.19 up to (excluding) 7.0.10 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.175 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.209 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.12 up to (excluding) 5.10.258 Added Reference Type kernel.org: https://git.kernel.org/stable/c/2674d603a9e6970463b2b9ebcf8e31e90beae169 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/2c022f582fd16a470df6ed9e7fb7e9fc48946d49 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/3db8d078f7f652379ee394132b169d304f6eb4c1 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/468defa0b70902a22f4478c1207624bc1b31c124 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/4ab6fc60ed5a0344b60711b09bff1dc238d8d6a4 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/8c2b792f04a3db97c9d8d2a45817e93f8884baf5 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/a7a97f2303e63ede105c1d55ef53dc497364e11d Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/d47204c127992da0c976ac9747070a575912e0fe Types: Patch -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 24, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'fdeea7be88b12742bfd50d9e19a06c0d2e702400', 'lessThan': '2c022f582fd16a470df6ed9e7fb7e9fc48946d49', 'versionType': 'git'}, {'status': 'affected', 'version': 'fdeea7be88b12742bfd50d9e19a06c0d2e702400', 'lessThan': '4ab6fc60ed5a0344b60711b09bff1dc238d8d6a4', 'versionType': 'git'}, {'status': 'affected', 'version': 'fdeea7be88b12742bfd50d9e19a06c0d2e702400', 'lessThan': '468defa0b70902a22f4478c1207624bc1b31c124', 'versionType': 'git'}, {'status': 'affected', 'version': 'fdeea7be88b12742bfd50d9e19a06c0d2e702400', 'lessThan': '3db8d078f7f652379ee394132b169d304f6eb4c1', 'versionType': 'git'}, {'status': 'affected', 'version': 'fdeea7be88b12742bfd50d9e19a06c0d2e702400', 'lessThan': '8c2b792f04a3db97c9d8d2a45817e93f8884baf5', 'versionType': 'git'}, {'status': 'affected', 'version': 'fdeea7be88b12742bfd50d9e19a06c0d2e702400', 'lessThan': 'a7a97f2303e63ede105c1d55ef53dc497364e11d', 'versionType': 'git'}, {'status': 'affected', 'version': 'fdeea7be88b12742bfd50d9e19a06c0d2e702400', 'lessThan': 'd47204c127992da0c976ac9747070a575912e0fe', 'versionType': 'git'}, {'status': 'affected', 'version': 'fdeea7be88b12742bfd50d9e19a06c0d2e702400', 'lessThan': '2674d603a9e6970463b2b9ebcf8e31e90beae169', 'versionType': 'git'}], 'programFiles': ['drivers/net/vrf.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '4.12'}, {'status': 'unaffected', 'version': '0', 'lessThan': '4.12', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.258', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.209', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.175', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.141', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.91', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.33', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.0.10', 'versionType': 'semver', 'lessThanOrEqual': '7.0.*'}, {'status': 'unaffected', 'version': '7.1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/net/vrf.c'], 'defaultStatus': 'affected'}] Added 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) Added Reference https://git.kernel.org/stable/c/2674d603a9e6970463b2b9ebcf8e31e90beae169 Added Reference https://git.kernel.org/stable/c/2c022f582fd16a470df6ed9e7fb7e9fc48946d49 Added Reference https://git.kernel.org/stable/c/3db8d078f7f652379ee394132b169d304f6eb4c1 Added Reference https://git.kernel.org/stable/c/468defa0b70902a22f4478c1207624bc1b31c124 Added Reference https://git.kernel.org/stable/c/4ab6fc60ed5a0344b60711b09bff1dc238d8d6a4 Added Reference https://git.kernel.org/stable/c/8c2b792f04a3db97c9d8d2a45817e93f8884baf5 Added Reference https://git.kernel.org/stable/c/a7a97f2303e63ede105c1d55ef53dc497364e11d Added Reference https://git.kernel.org/stable/c/d47204c127992da0c976ac9747070a575912e0fe