CVE-2026-99865

Source
https://cve.org/CVERecord?id=CVE-2026-99865
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99865.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-99865
Downstream
Published
2026-11-30T13:17:46Z
Modified
2026-11-30T15:02:31Z
Summary
macvlan: fix passthru promiscuity accounting while down
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99865.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
df8ef8f3aaa6692970a436204c4429210addb23a
Fixed
ea2b56a212dae75a890d69dd315f9d64b043eadf
Fixed
753bed28be81f684453a8cbe56e8570d9c8f0f01
Fixed
19224e3a593fe44c7b6cf63a380f30b70febc6ec
Fixed
a8ba54055731ad77379c857decbdf039876efed8
Fixed
9660398c59dea26abdb6eba6b93fd3466a9a7172
Fixed
33e747a4822b77117a17805e0c7df9e0bb03413b
Fixed
62f5a53cc64386a00a63b9d4ec22bfce2ed1a35e
Fixed
b6743653d134c9ef8436e2db1be1ad4c1e0d0091

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99865.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.5.0
Fixed
5.10.275
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.226
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.193
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.163
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.117
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.63
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99865.json"