CVE-2026-23103

ipvlan: Make the addrs_lock be per port

State
Published
Severity
7.8 High
Published
Feb 4, 2026
Updated
Oct 19, 2026
Reserved
Jan 13, 2026

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

ipvlan: Make the addrs_lock be per port

Make the addrs_lock be per port, not per ipvlan dev.

Initial code seems to be written in the assumption, that any address change must occur under RTNL. But it is not so for the case of IPv6. So

1) Introduce per-port addrs_lock.

2) It was needed to fix places where it was forgotten to take lock (ipvlan_open/ipvlan_close)

This appears to be a very minor problem though. Since it's highly unlikely that ipvlan_add_addr() will be called on 2 CPU simultaneously. But nevertheless, this could cause:

1) False-negative of ipvlan_addr_busy(): one interface iterated through all port->ipvlans + ipvlan->addrs under some ipvlan spinlock, and another added IP under its own lock. Though this is only possible for IPv6, since looks like only ipvlan_addr6_event() can be called without rtnl_lock.

2) Race since ipvlan_ht_addr_add(port) is called under different ipvlan->addrs_lock locks

This should not affect performance, since add/remove IP is a rare situation and spinlock is not taken on fast paths.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

  • CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

Affected Products

ProductVersions
LinuxLinux
  • 8230819494b3bf284ca7262ac5f877333147b937 to before 3c149b662cbb202a450e81f938e702ba333864adAffected
  • 8230819494b3bf284ca7262ac5f877333147b937 to before 70feb16e3fbfb10b15de1396557c38e99f1ab8dfAffected
  • 8230819494b3bf284ca7262ac5f877333147b937 to before 88f83e6c9cdb46b8c8ddd0ba01393362963cf589Affected
  • 8230819494b3bf284ca7262ac5f877333147b937 to before 04ba6de6eff61238e5397c14ac26a6578c7735a5Affected
  • 8230819494b3bf284ca7262ac5f877333147b937 to before 1f300c10d92c547c3a7d978e1212ff52f18256edAffected
  • 8230819494b3bf284ca7262ac5f877333147b937 to before 6a81e2db096913d7e43aada1c350c1282e76db39Affected
  • 8230819494b3bf284ca7262ac5f877333147b937 to before d3ba32162488283c0a4c5bedd8817aec91748802Affected
LinuxLinux
  • 4.17Affected
  • before 4.17Not affected
  • 5.10.249 through 5.10.*Not affected
  • 5.15.199 through 5.15.*Not affected
  • 6.1.162 through 6.1.*Not affected
  • 6.6.122 through 6.6.*Not affected
  • 6.12.68 through 6.12.*Not affected
  • 6.18.8 through 6.18.*Not affected
  • 6.19 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.