目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2025-38470— Linux kernel 安全漏洞

一分钟漏洞结论

影响对象
Linux Linux
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于VLAN 0引用计数不平衡,可能导致内存泄漏。

CVSS 7.8 · High EPSS 0.19% · P8

影响版本矩阵 18

厂商产品 版本范围状态
Linux Linux ad1afb00393915a51c21b1ae8704562bf036855f< ba48d3993af23753e1f1f01c8d592de9c7785f24 affected
ad1afb00393915a51c21b1ae8704562bf036855f< 35142b3816832889e50164d993018ea5810955ae affected
ad1afb00393915a51c21b1ae8704562bf036855f< 047b61a24d7c866c502aeeea482892969a68f216 affected
ad1afb00393915a51c21b1ae8704562bf036855f< d43ef15bf4856c8c4c6c3572922331a5f06deb77 affected
ad1afb00393915a51c21b1ae8704562bf036855f< bb515c41306454937464da055609b5fb0a27821b affected
ad1afb00393915a51c21b1ae8704562bf036855f< 8984bcbd1edf5bee5be06ad771d157333b790c33 affected
ad1afb00393915a51c21b1ae8704562bf036855f< 93715aa2d80e6c5cea1bb486321fc4585076928b affected
ad1afb00393915a51c21b1ae8704562bf036855f< 579d4f9ca9a9a605184a9b162355f6ba131f678d affected
… +10 条更多
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2025-38470 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
net: vlan: fix VLAN 0 refcount imbalance of toggling filtering during runtime
来源: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: net: vlan: fix VLAN 0 refcount imbalance of toggling filtering during runtime Assuming the "rx-vlan-filter" feature is enabled on a net device, the 8021q module will automatically add or remove VLAN 0 when the net device is put administratively up or down, respectively. There are a couple of problems with the above scheme. The first problem is a memory leak that can happen if the "rx-vlan-filter" feature is disabled while the device is running: # ip link add bond1 up type bond mode 0 # ethtool -K bond1 rx-vlan-filter off # ip link del dev bond1 When the device is put administratively down the "rx-vlan-filter" feature is disabled, so the 8021q module will not remove VLAN 0 and the memory will be leaked [1]. Another problem that can happen is that the kernel can automatically delete VLAN 0 when the device is put administratively down despite not adding it when the device was put administratively up since during that time the "rx-vlan-filter" feature was disabled. null-ptr-unref or bug_on[2] will be triggered by unregister_vlan_dev() for refcount imbalance if toggling filtering during runtime: $ ip link add bond0 type bond mode 0 $ ip link add link bond0 name vlan0 type vlan id 0 protocol 802.1q $ ethtool -K bond0 rx-vlan-filter off $ ifconfig bond0 up $ ethtool -K bond0 rx-vlan-filter on $ ifconfig bond0 down $ ip link del vlan0 Root cause is as below: step1: add vlan0 for real_dev, such as bond, team. register_vlan_dev vlan_vid_add(real_dev,htons(ETH_P_8021Q),0) //refcnt=1 step2: disable vlan filter feature and enable real_dev step3: change filter from 0 to 1 vlan_device_event vlan_filter_push_vids ndo_vlan_rx_add_vid //No refcnt added to real_dev vlan0 step4: real_dev down vlan_device_event vlan_vid_del(dev, htons(ETH_P_8021Q), 0); //refcnt=0 vlan_info_rcu_free //free vlan0 step5: delete vlan0 unregister_vlan_dev BUG_ON(!vlan_info); //vlan_info is null Fix both problems by noting in the VLAN info whether VLAN 0 was automatically added upon NETDEV_UP and based on that decide whether it should be deleted upon NETDEV_DOWN, regardless of the state of the "rx-vlan-filter" feature. [1] unreferenced object 0xffff8880068e3100 (size 256): comm "ip", pid 384, jiffies 4296130254 hex dump (first 32 bytes): 00 20 30 0d 80 88 ff ff 00 00 00 00 00 00 00 00 . 0............. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace (crc 81ce31fa): __kmalloc_cache_noprof+0x2b5/0x340 vlan_vid_add+0x434/0x940 vlan_device_event.cold+0x75/0xa8 notifier_call_chain+0xca/0x150 __dev_notify_flags+0xe3/0x250 rtnl_configure_link+0x193/0x260 rtnl_newlink_create+0x383/0x8e0 __rtnl_newlink+0x22c/0xa40 rtnl_newlink+0x627/0xb00 rtnetlink_rcv_msg+0x6fb/0xb70 netlink_rcv_skb+0x11f/0x350 netlink_unicast+0x426/0x710 netlink_sendmsg+0x75a/0xc20 __sock_sendmsg+0xc1/0x150 ____sys_sendmsg+0x5aa/0x7b0 ___sys_sendmsg+0xfc/0x180 [2] kernel BUG at net/8021q/vlan.c:99! Oops: invalid opcode: 0000 [#1] SMP KASAN PTI CPU: 0 UID: 0 PID: 382 Comm: ip Not tainted 6.16.0-rc3 #61 PREEMPT(voluntary) Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.13.0-0-gf21b5a4aeb02-prebuilt.qemu.org 04/01/2014 RIP: 0010:unregister_vlan_dev (net/8021q/vlan.c:99 (discriminator 1)) RSP: 0018:ffff88810badf310 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff88810da84000 RCX: ffffffffb47ceb9a RDX: dffffc0000000000 RSI: 0000000000000008 RDI: ffff88810e8b43c8 RBP: 0000000000000000 R08: 0000000000000000 R09: fffffbfff6cefe80 R10: ffffffffb677f407 R11: ffff88810badf3c0 R12: ffff88810e8b4000 R13: 0000000000000000 R14: ffff88810642a5c0 R15: 000000000000017e FS: 00007f1ff68c20c0(0000) GS:ffff888163a24000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1ff5dad240 CR3: 0000000107e56000 CR4: 00000000000006f0 Call Trace: <TASK ---truncated---
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
来源: CVE Program / CVE List V5
Vulnerability Type
N/A
来源: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于VLAN 0引用计数不平衡,可能导致内存泄漏。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
Linux Linux ad1afb00393915a51c21b1ae8704562bf036855f ~ ba48d3993af23753e1f1f01c8d592de9c7785f24 -
Linux Linux 2.6.36 -

二、漏洞 CVE-2025-38470 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2025-38470 的情报信息

请登录查看更多情报信息。

同批安全公告 · Linux · 2025-07-28 · 共 29 条

CVE-2025-38488 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2025-38471 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2025-38472 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2025-38490 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2025-38476 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2025-38495 8.8 HIGH Linux kernel 安全漏洞
CVE-2025-38491 8.2 HIGH Linux kernel 安全漏洞
CVE-2025-38478 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-38485 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-38486 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-38484 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-38494 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-38477 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-38475 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-38493 Linux kernel 安全漏洞
CVE-2025-38492 Linux kernel 安全漏洞
CVE-2025-38497 Linux kernel 安全漏洞
CVE-2025-38496 Linux kernel 多款产品安全漏洞
CVE-2025-38468 Linux kernel 安全漏洞
CVE-2025-38489 Linux kernel 安全漏洞

显示前 20 条,共 29 条。 查看全部 &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2025-38470

暂无评论


发表评论