# CVE-2026-99865: macvlan: fix passthru promiscuity accounting while down

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2026-11-30T13:17:46.950Z
- Modified: 2026-11-30T14:20:20.443Z
- Assigned by: Linux

## Description

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

macvlan: fix passthru promiscuity accounting while down

macvlan_changelink() adjusts the lower device's promiscuity count when
NOPROMISC changes, even if the passthru macvlan is down. The reference
is acquired in macvlan_open() and released in macvlan_stop(), so a down
interface has no reference to change.

Clearing NOPROMISC while down leaves an extra reference after the next
open/stop cycle. Setting it while down can remove a reference held by
another user of the lower device.

Guard the count adjustment with netif_running(dev). Keep storing the
requested flags while down so the next open uses the new setting.

Comparing changelink with open/stop exposed the unmatched count changes;
the same issue was also described in earlier macvlan reviews. A netlink
test on UML reproduced both DOWN cases before the fix and verified the
expected counts afterwards. Repeated flag updates, two open/stop cycles,
deletion and bidirectional small-frame delivery were also checked.

Full x86_64 builds completed with WERROR disabled for allmodconfig, and
WERROR and KASAN disabled for allyesconfig, including the resulting
dependency changes. Neither comparison showed new diagnostics.

(As written by CVE List.)

## Affected

- Linux Linux: from df8ef8f3aaa6692970a436204c4429210addb23a before ea2b56a212dae75a890d69dd315f9d64b043eadf; from df8ef8f3aaa6692970a436204c4429210addb23a before 753bed28be81f684453a8cbe56e8570d9c8f0f01; from df8ef8f3aaa6692970a436204c4429210addb23a before 19224e3a593fe44c7b6cf63a380f30b70febc6ec; from df8ef8f3aaa6692970a436204c4429210addb23a before a8ba54055731ad77379c857decbdf039876efed8; from df8ef8f3aaa6692970a436204c4429210addb23a before 9660398c59dea26abdb6eba6b93fd3466a9a7172; from df8ef8f3aaa6692970a436204c4429210addb23a before 33e747a4822b77117a17805e0c7df9e0bb03413b; from df8ef8f3aaa6692970a436204c4429210addb23a before 62f5a53cc64386a00a63b9d4ec22bfce2ed1a35e; from df8ef8f3aaa6692970a436204c4429210addb23a before b6743653d134c9ef8436e2db1be1ad4c1e0d0091; 3.5 (not affected: before 3.5; from 5.10.275 up to 5.10.*; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.117 up to 6.12.*; from 6.18.63 up to 6.18.*; from 7.3.4 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/ea2b56a212dae75a890d69dd315f9d64b043eadf>
- <https://git.kernel.org/stable/c/753bed28be81f684453a8cbe56e8570d9c8f0f01>
- <https://git.kernel.org/stable/c/19224e3a593fe44c7b6cf63a380f30b70febc6ec>
- <https://git.kernel.org/stable/c/a8ba54055731ad77379c857decbdf039876efed8>
- <https://git.kernel.org/stable/c/9660398c59dea26abdb6eba6b93fd3466a9a7172>
- <https://git.kernel.org/stable/c/33e747a4822b77117a17805e0c7df9e0bb03413b>
- <https://git.kernel.org/stable/c/62f5a53cc64386a00a63b9d4ec22bfce2ed1a35e>
- <https://git.kernel.org/stable/c/b6743653d134c9ef8436e2db1be1ad4c1e0d0091>

## Sources

- CVE List: [CVE-2026-99865](https://www.cve.org/CVERecord?id=CVE-2026-99865), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-99865](https://nvd.nist.gov/vuln/detail/CVE-2026-99865), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-99865 · Whole record: https://cve.day/CVE-2026-99865.json · Rebuilt by cve.day 2026-11-30T14:33:17.689Z
