CVE-2025-21920vlan: enforce underlying device type
- 7.1HighCVSS base score
- 0.24%Exploitation in 30 daysEPSS · top 85% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In the Linux kernel, the following vulnerability has been resolved: vlan: enforce underlying device type Currently, VLAN devices can be created on top of non-ethernet devices. Besides the fact that it doesn't make much sense, this also causes a bug which leaks the address of a kernel function to usermode. When creating a VLAN device, we initialize GARP (garp_init_applicant) and MRP (mrp_init_applicant) for the underlying device. As part of the initialization process, we add the multicast address of each applicant to the underlying device, by calling dev_mc_add. __dev_mc_add uses dev->addr_len to determine the length of the new multicast address. This causes an out-of-bounds read if dev->addr_len is greater than 6, since the multicast addresses provided by GARP and MRP are only 6 bytes long. This behaviour can be reproduced using the following commands: ip tunnel add gretest mode ip6gre local ::1 remote ::2 dev lo ip l set up dev gretest ip link add link gretest name vlantest type vlan id 100 Then, the following command will display the address of garp_pdu_rcv: ip maddr show | grep 01:80:c2:00:00:21 Fix the bug by enforcing the type of the underlying device during VLAN device initialization.
Timeline
ID reserved
By Linux
- 3 months later
· 3 months later
Published
- 14 months later
· 14 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | High7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
| NVDNVD · Modified | 3.1 | High7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.24% · top 85% of all CVEs (18 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.1.
Affected products
- affected 22bedad3ce112d5ca1eaf043d4990fa2ed698c87 – < 7f1564b2b2072b7aa1ac75350e9560a07c7a44fd
- affected 22bedad3ce112d5ca1eaf043d4990fa2ed698c87 – < fa40ebef69234e39ec2d26930d045f2fb9a8cb2b
- affected 22bedad3ce112d5ca1eaf043d4990fa2ed698c87 – < 0fb7aa04c19eac4417f360a9f7611a60637bdacc
- affected 22bedad3ce112d5ca1eaf043d4990fa2ed698c87 – < 5a515d13e15536e82c5c7c83eb6cf5bc4827fee5
- affected 22bedad3ce112d5ca1eaf043d4990fa2ed698c87 – < 3561442599804905c3defca241787cd4546e99a7
- affected 22bedad3ce112d5ca1eaf043d4990fa2ed698c87 – < 30e8aee77899173a82ae5ed89f536c096f20aaeb
- affected 22bedad3ce112d5ca1eaf043d4990fa2ed698c87 – < b6c72479748b7ea09f53ed64b223cee6463dc278
- affected 22bedad3ce112d5ca1eaf043d4990fa2ed698c87 – < b33a534610067ade2bdaf2052900aaad99701353
- affected 2.6.35
- unaffected < 2.6.35
- unaffected 5.4.291 – ≤ 5.4.*
- unaffected 5.10.235 – ≤ 5.10.*
- unaffected 5.15.179 – ≤ 5.15.*
- unaffected 6.1.131 – ≤ 6.1.*
- unaffected 6.6.83 – ≤ 6.6.*
- unaffected 6.12.19 – ≤ 6.12.*
- unaffected 6.13.7 – ≤ 6.13.*
- unaffected 6.14 – ≤ *
References
References10
- https://git.kernel.org/stable/c/7f1564b2b2072b7aa1ac75350e9560a07c7a44fd (opens in a new tab)
- https://git.kernel.org/stable/c/fa40ebef69234e39ec2d26930d045f2fb9a8cb2b (opens in a new tab)
- https://git.kernel.org/stable/c/0fb7aa04c19eac4417f360a9f7611a60637bdacc (opens in a new tab)
- https://git.kernel.org/stable/c/5a515d13e15536e82c5c7c83eb6cf5bc4827fee5 (opens in a new tab)
- https://git.kernel.org/stable/c/3561442599804905c3defca241787cd4546e99a7 (opens in a new tab)
- https://git.kernel.org/stable/c/30e8aee77899173a82ae5ed89f536c096f20aaeb (opens in a new tab)
- https://git.kernel.org/stable/c/b6c72479748b7ea09f53ed64b223cee6463dc278 (opens in a new tab)
- https://git.kernel.org/stable/c/b33a534610067ade2bdaf2052900aaad99701353 (opens in a new tab)
- https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html (opens in a new tab)
- https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-9401 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-21920)Record last updated .