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

目标: 1000 元 · 已筹: 1336

100%

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

AI 预测 3.3 利用难度: 理论可行 EPSS 0.17% · P7

可能的 ATT&CK 技术 1AI

T1620 · Reflective Code Loading

影响版本矩阵 8

厂商产品版本范围状态
LinuxLinuxc25a19afb81cfd73dab494ba64f9a434cf1a4499< cfffe46a994ac6d5de3b119917680ea1e9a96125affected
c25a19afb81cfd73dab494ba64f9a434cf1a4499< 2924802d35e00a36b1503a4e786f1926b2fdc1d0affected
c25a19afb81cfd73dab494ba64f9a434cf1a4499< 304386373007aaca9236a3f36afac0bbedcd2bf0affected
6.8affected
< 6.8unaffected
6.12.20≤ 6.12.*unaffected
6.13.8≤ 6.13.*unaffected
6.14≤ *unaffected
获取后续新漏洞提醒登录后订阅

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

漏洞信息

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

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

Vulnerability Title
fbdev: hyperv_fb: Fix hang in kdump kernel when on Hyper-V Gen 2 VMs
来源: 美国国家漏洞数据库 NVD
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: fbdev: hyperv_fb: Fix hang in kdump kernel when on Hyper-V Gen 2 VMs Gen 2 Hyper-V VMs boot via EFI and have a standard EFI framebuffer device. When the kdump kernel runs in such a VM, loading the efifb driver may hang because of accessing the framebuffer at the wrong memory address. The scenario occurs when the hyperv_fb driver in the original kernel moves the framebuffer to a different MMIO address because of conflicts with an already-running efifb or simplefb driver. The hyperv_fb driver then informs Hyper-V of the change, which is allowed by the Hyper-V FB VMBus device protocol. However, when the kexec command loads the kdump kernel into crash memory via the kexec_file_load() system call, the system call doesn't know the framebuffer has moved, and it sets up the kdump screen_info using the original framebuffer address. The transition to the kdump kernel does not go through the Hyper-V host, so Hyper-V does not reset the framebuffer address like it would do on a reboot. When efifb tries to run, it accesses a non-existent framebuffer address, which traps to the Hyper-V host. After many such accesses, the Hyper-V host thinks the guest is being malicious, and throttles the guest to the point that it runs very slowly or appears to have hung. When the kdump kernel is loaded into crash memory via the kexec_load() system call, the problem does not occur. In this case, the kexec command builds the screen_info table itself in user space from data returned by the FBIOGET_FSCREENINFO ioctl against /dev/fb0, which gives it the new framebuffer location. This problem was originally reported in 2020 [1], resulting in commit 3cb73bc3fa2a ("hyperv_fb: Update screen_info after removing old framebuffer"). This commit solved the problem by setting orig_video_isVGA to 0, so the kdump kernel was unaware of the EFI framebuffer. The efifb driver did not try to load, and no hang occurred. But in 2024, commit c25a19afb81c ("fbdev/hyperv_fb: Do not clear global screen_info") effectively reverted 3cb73bc3fa2a. Commit c25a19afb81c has no reference to 3cb73bc3fa2a, so perhaps it was done without knowing the implications that were reported with 3cb73bc3fa2a. In any case, as of commit c25a19afb81c, the original problem came back again. Interestingly, the hyperv_drm driver does not have this problem because it never moves the framebuffer. The difference is that the hyperv_drm driver removes any conflicting framebuffers *before* allocating an MMIO address, while the hyperv_fb drivers removes conflicting framebuffers *after* allocating an MMIO address. With the "after" ordering, hyperv_fb may encounter a conflict and move the framebuffer to a different MMIO address. But the conflict is essentially bogus because it is removed a few lines of code later. Rather than fix the problem with the approach from 2020 in commit 3cb73bc3fa2a, instead slightly reorder the steps in hyperv_fb so conflicting framebuffers are removed before allocating an MMIO address. Then the default framebuffer MMIO address should always be available, and there's never any confusion about which framebuffer address the kdump kernel should use -- it's always the original address provided by the Hyper-V host. This approach is already used by the hyperv_drm driver, and is consistent with the usage guidelines at the head of the module with the function aperture_remove_conflicting_devices(). This approach also solves a related minor problem when kexec_load() is used to load the kdump kernel. With current code, unbinding and rebinding the hyperv_fb driver could result in the framebuffer moving back to the default framebuffer address, because on the rebind there are no conflicts. If such a move is done after the kdump kernel is loaded with the new framebuffer address, at kdump time it could again have the wrong address. This problem and fix are described in terms of the kdump kernel, but it can also occur ---truncated---
来源: 美国国家漏洞数据库 NVD
CVSS Information
N/A
来源: 美国国家漏洞数据库 NVD
Vulnerability Type
N/A
来源: 美国国家漏洞数据库 NVD
Vulnerability Title
Linux kernel 安全漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于fbdev hyperv_fb模块在kdump内核中挂起。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商产品影响版本CPE订阅
LinuxLinux c25a19afb81cfd73dab494ba64f9a434cf1a4499 ~ cfffe46a994ac6d5de3b119917680ea1e9a96125 -
LinuxLinux 6.8 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

登录查看更多情报信息。

同批安全公告 · Linux · 2025-04-01 · 共 93 条

CVE-2025-219478.1 HIGHLinux kernel 安全漏洞
CVE-2025-21925Linux kernel 安全漏洞
CVE-2025-21931Linux kernel 安全漏洞
CVE-2025-21934Linux kernel 安全漏洞
CVE-2025-21935Linux kernel 安全漏洞
CVE-2025-21937Linux kernel 安全漏洞
CVE-2025-21936Linux kernel 安全漏洞
CVE-2025-21939Linux kernel 安全漏洞
CVE-2025-21933Linux kernel 安全漏洞
CVE-2025-21927Linux kernel 安全漏洞
CVE-2025-21926Linux kernel 安全漏洞
CVE-2025-21928Linux kernel 安全漏洞
CVE-2025-21924Linux kernel 安全漏洞
CVE-2025-21922Linux kernel 安全漏洞
CVE-2025-21923Linux kernel 安全漏洞
CVE-2025-21920Linux kernel 安全漏洞
CVE-2025-21921Linux kernel 安全漏洞
CVE-2025-21919Linux kernel 安全漏洞
CVE-2025-21918Linux kernel 安全漏洞
CVE-2025-21917Linux kernel 安全漏洞

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

IV. Related Vulnerabilities

V. Comments for CVE-2025-21977

暂无评论


发表评论