Skip to content
Heist/ feed
Back to feed
HighFix available

macvlan: fix possible UAF in macvlan_forward_source()

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: macvlan: fix possible UAF in macvlan_forward_source() Add RCU protection on (struct macvlan_source_entry)->vlan. Whenever macvlan_hash_del_source() is called, we must clear entry->vlan pointer before RCU grace period starts. This allows macvlan_forward_source() to skip over entries queued for freeing. Note that macvlan_dev are already RCU protected, as they are embedded in a standard netdev (netdev_priv(ndev)). https: //lore.kernel.org/netdev/695fb1e8.050a0220.1c677c.039f.GAE@google.com/T/#u

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.249, 5.15.199, 6.1.162, 6.12.67, 6.18.7, 6.6.122
CVEs
CVE-2026-23001
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 04:08 UTC · Revision 1

Source evidence

macvlan: fix possible UAF in macvlan_forward_source()

core-osv · Original source

Published 25 Jan 2026, 14:36 UTC

In the Linux kernel, the following vulnerability has been resolved: macvlan: fix possible UAF in macvlan_forward_source() Add RCU protection on (struct macvlan_source_entry)->vlan. Whenever macvlan_hash_del_source() is called, we must clear entry->vlan pointer before RCU grace period starts. This allows macvlan_forward_source() to skip over entries queued for freeing. Note that macvlan_dev are already RCU protected, as they are embedded in a standard netdev (netdev_priv(ndev)). https: //lore.kernel.org/netdev/695fb1e8.050a0220.1c677c.039f.GAE@google.com/T/#u

osv:CVE-2026-23001

Kernel

Fixed versions: 5.10.249, 5.15.199, 6.1.162, 6.6.122, 6.12.67, 6.18.7

Complete source record
{
  "id": "ee2378cece88fced24ee435371275dcdf924be4c7eafbd2f5fef20f53c44179a",
  "url": "https://osv.dev/vulnerability/CVE-2026-23001",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "macvlan: fix possible UAF in macvlan_forward_source()",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: macvlan: fix possible UAF in macvlan_forward_source() Add RCU protection on (struct macvlan_source_entry)->vlan. Whenever macvlan_hash_del_source() is called, we must clear entry->vlan pointer before RCU grace period starts. This allows macvlan_forward_source() to skip over entries queued for freeing. Note that macvlan_dev are already RCU protected, as they are embedded in a standard netdev (netdev_priv(ndev)). https: //lore.kernel.org/netdev/695fb1e8.050a0220.1c677c.039f.GAE@google.com/T/#u",
    "evidence": "osv:CVE-2026-23001",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.10.249",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.199",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.162",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.122",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.67",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.7",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-23001",
      "aliases": [
        "CVE-2026-23001"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "79cf79abce71eb7dbc40e2f3121048ca5405cb47"
                },
                {
                  "fixed": "8133e85b8a3ec9f10d861e0002ec6037256e987e"
                },
                {
                  "fixed": "484919832e2db6ce1e8add92c469e5d459a516b5"
                },
                {
                  "fixed": "232afc74a6dde0fe1830988e5827921f5ec9bb3f"
                },
                {
                  "fixed": "15f6faf36e162532bec5cc05eb3fc622108bf2ed"
                },
                {
                  "fixed": "8518712a2ca952d6da2238c6f0a16b4ae5ea3f13"
                },
                {
                  "fixed": "6dbead9c7677186f22b7981dd085a0feec1f038e"
                },
                {
                  "fixed": "7470a7a63dc162f07c26dbf960e41ee1e248d80e"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23001.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "3.18.0"
                },
                {
                  "fixed": "5.10.249"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.199"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.162"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.122"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.67"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.7"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23001.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:42.322904332Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/15f6faf36e162532bec5cc05eb3fc622108bf2ed",
        "https://git.kernel.org/stable/c/232afc74a6dde0fe1830988e5827921f5ec9bb3f",
        "https://git.kernel.org/stable/c/484919832e2db6ce1e8add92c469e5d459a516b5",
        "https://git.kernel.org/stable/c/6dbead9c7677186f22b7981dd085a0feec1f038e",
        "https://git.kernel.org/stable/c/7470a7a63dc162f07c26dbf960e41ee1e248d80e",
        "https://git.kernel.org/stable/c/8133e85b8a3ec9f10d861e0002ec6037256e987e",
        "https://git.kernel.org/stable/c/8518712a2ca952d6da2238c6f0a16b4ae5ea3f13",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23001.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-23001",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23001.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-23001",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 510145,
  "published_at": "2026-01-25T14:36:15.79+00:00"
}