CVE-2026-52925: vrf: Fix a potential NPD when removing a port from a VRF

Published Jun 24, 2026
·
Updated

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 netifisl3slave() assume that a subsequent call to netdevmasterupperdevgetrcu() 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 IFFL3MDEVSLAVE 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:l3mdevfibtablercu (net/l3mdev/l3mdev.c:181) [...] Call Trace: <TASK> l3mdevfibtablebyindex (net/l3mdev/l3mdev.c:201 net/l3mdev/l3mdev.c:189) inetbind (net/ipv4/afinet.c:499 (discriminator 3)) inetbindsk (net/ipv4/afinet.c:469) sysbind (./include/linux/file.h:62 (discriminator 1) ./include/linux/file.h:83 (discriminator 1) net/socket.c:1951 (discriminator 1)) x64sysbind (net/socket.c:1969 (discriminator 1) net/socket.c:1967 (discriminator 1) net/socket.c:1967 (discriminator 1)) dosyscall64 (arch/x86/entry/syscall64.c:63 (discriminator 1) arch/x86/entry/syscall64.c:94 (discriminator 1)) entrySYSCALL64afterhwframe (arch/x86/entry/entry64.S:130)

Affected Software

10 affected componentsFixes available
Linux Linux kernel
Linux Linux kernel>=4.12<5.10.258
Linux Linux kernel>=5.11<5.15.209
Linux Linux kernel>=5.16<6.1.175
Linux Linux kernel>=6.2<6.6.141
Linux Linux kernel>=6.7<6.12.91
Linux Linux kernel>=6.13<6.18.33
Linux Linux kernel>=6.19<7.0.10
Linux Linux kernel=7.1-rc1
Microsoft azl3 kernel 6.6.139.1-1<6.6.143.1-1
6.6.143.1-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 6.6.143.1-1
  2. Upgrade

    Upgrade Linux kernel to a version that resolves this vulnerability.

    Patch vrf: Fix a potential NPD when removing a port from a VRF
  3. Configuration

    Apply the kernel fix described: add RCU synchronization after clearing the IFF_L3MDEV_SLAVE flag when removing a port from a VRF, to prevent NULL pointer dereference in l3mdev_fib_table_rcu during bind paths.

    Linux kernel (net/l3mdev) RCU synchronization after clearing IFF_L3MDEV_SLAVE = add RCU synchronization when a net device is removed from a VRF port; do not skip synchronization due to VRF removal

Event History

Jun 24, 2026
CVE Published
via MITRE·07:14 AM
Data Sourced
via MITRE·07:14 AM
Description
Data Sourced
via NVD·08:16 AM
RemedyDescriptionSeverityWeaknessAffected Software
Jun 27, 2026
Data Sourced
via Microsoft·08:14 AM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-52925?

CVE-2026-52925 is categorized with a risk score of 22.

2

How do I fix CVE-2026-52925?

To mitigate CVE-2026-52925, ensure that you update to the latest version of the Linux kernel where the vulnerability has been addressed.

3

What type of vulnerability is CVE-2026-52925?

CVE-2026-52925 is classified as a Null Pointer Dereference vulnerability in the Linux kernel.

4

What components are affected by CVE-2026-52925?

CVE-2026-52925 affects the VRF subsystem within the Linux kernel.

5

When was CVE-2026-52925 published?

CVE-2026-52925 was published on June 24, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203