Skip to content
Heist/ feed
High

ipvlan: Make the addrs_lock be per port

Type: advisorySource: Official CVE List1 source record

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.

Announced Group revision 1
Original source ↗

CVE-2026-23103

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-23103

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "8230819494b3bf284ca7262ac5f877333147b937",
        "lessThan": "3c149b662cbb202a450e81f938e702ba333864ad",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "8230819494b3bf284ca7262ac5f877333147b937",
        "lessThan": "70feb16e3fbfb10b15de1396557c38e99f1ab8df",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "8230819494b3bf284ca7262ac5f877333147b937",
        "lessThan": "88f83e6c9cdb46b8c8ddd0ba01393362963cf589",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "8230819494b3bf284ca7262ac5f877333147b937",
        "lessThan": "04ba6de6eff61238e5397c14ac26a6578c7735a5",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "8230819494b3bf284ca7262ac5f877333147b937",
        "lessThan": "1f300c10d92c547c3a7d978e1212ff52f18256ed",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "8230819494b3bf284ca7262ac5f877333147b937",
        "lessThan": "6a81e2db096913d7e43aada1c350c1282e76db39",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "8230819494b3bf284ca7262ac5f877333147b937",
        "lessThan": "d3ba32162488283c0a4c5bedd8817aec91748802",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "drivers/net/ipvlan/ipvlan.h",
      "drivers/net/ipvlan/ipvlan_core.c",
      "drivers/net/ipvlan/ipvlan_main.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.17"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "4.17",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "5.10.249",
        "versionType": "semver",
        "lessThanOrEqual": "5.10.*"
      },
      {
        "status": "unaffected",
        "version": "5.15.199",
        "versionType": "semver",
        "lessThanOrEqual": "5.15.*"
      },
      {
        "status": "unaffected",
        "version": "6.1.162",
        "versionType": "semver",
        "lessThanOrEqual": "6.1.*"
      },
      {
        "status": "unaffected",
        "version": "6.6.122",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.68",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.8",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "6.19",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/net/ipvlan/ipvlan.h",
      "drivers/net/ipvlan/ipvlan_core.c",
      "drivers/net/ipvlan/ipvlan_main.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-23103

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#39753 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement