CVE-2026-23001

macvlan: fix possible UAF in macvlan_forward_source()

State
Published
Severity
7.8 High
Published
Jan 25, 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:

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

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

Affected Products

ProductVersions
LinuxLinux
  • 79cf79abce71eb7dbc40e2f3121048ca5405cb47 to before 8133e85b8a3ec9f10d861e0002ec6037256e987eAffected
  • 79cf79abce71eb7dbc40e2f3121048ca5405cb47 to before 484919832e2db6ce1e8add92c469e5d459a516b5Affected
  • 79cf79abce71eb7dbc40e2f3121048ca5405cb47 to before 232afc74a6dde0fe1830988e5827921f5ec9bb3fAffected
  • 79cf79abce71eb7dbc40e2f3121048ca5405cb47 to before 15f6faf36e162532bec5cc05eb3fc622108bf2edAffected
  • 79cf79abce71eb7dbc40e2f3121048ca5405cb47 to before 8518712a2ca952d6da2238c6f0a16b4ae5ea3f13Affected
  • 79cf79abce71eb7dbc40e2f3121048ca5405cb47 to before 6dbead9c7677186f22b7981dd085a0feec1f038eAffected
  • 79cf79abce71eb7dbc40e2f3121048ca5405cb47 to before 7470a7a63dc162f07c26dbf960e41ee1e248d80eAffected
LinuxLinux
  • 3.18Affected
  • before 3.18Not 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.67 through 6.12.*Not affected
  • 6.18.7 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.