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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2022-49850— Linux kernel 安全漏洞

一分钟漏洞结论

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

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于nilfs2文件系统中nilfs_count_free_blocks函数的信号量死锁问题。

AI 预测 5.5 利用难度: 中等 EPSS 0.17% · P5

可能的 ATT&CK 技术 1 AI

T1496 · Resource Hijacking

影响版本矩阵 18

厂商产品 版本范围状态
Linux Linux e828949e5b42bfd234ee537cdb7c5e3a577958a3< 3c89ca6d3dfa6c09c515807a7a97a521f5d5147e affected
e828949e5b42bfd234ee537cdb7c5e3a577958a3< 8b4506cff6630bb474bb46a2a75c31e533a756ba affected
e828949e5b42bfd234ee537cdb7c5e3a577958a3< f0cc93080d4c09510b74ecba87fd778cca390bb1 affected
e828949e5b42bfd234ee537cdb7c5e3a577958a3< 36ff974b0310771417c0be64b64aa221bd70d63d affected
e828949e5b42bfd234ee537cdb7c5e3a577958a3< 1d4ff73062096c21b47954d2996b4df259777bda affected
e828949e5b42bfd234ee537cdb7c5e3a577958a3< abc082aac0d9b6b926038fc3adb7008306581be2 affected
e828949e5b42bfd234ee537cdb7c5e3a577958a3< cb029b54953420f7a2d65100f1c5107f14411bdc affected
e828949e5b42bfd234ee537cdb7c5e3a577958a3< 8ac932a4921a96ca52f61935dbba64ea87bbd5dc affected
… +10 条更多
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2022-49850 基础信息

漏洞信息

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

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

Vulnerability Title
nilfs2: fix deadlock in nilfs_count_free_blocks()
来源: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: nilfs2: fix deadlock in nilfs_count_free_blocks() A semaphore deadlock can occur if nilfs_get_block() detects metadata corruption while locating data blocks and a superblock writeback occurs at the same time: task 1 task 2 ------ ------ * A file operation * nilfs_truncate() nilfs_get_block() down_read(rwsem A) <-- nilfs_bmap_lookup_contig() ... generic_shutdown_super() nilfs_put_super() * Prepare to write superblock * down_write(rwsem B) <-- nilfs_cleanup_super() * Detect b-tree corruption * nilfs_set_log_cursor() nilfs_bmap_convert_error() nilfs_count_free_blocks() __nilfs_error() down_read(rwsem A) <-- nilfs_set_error() down_write(rwsem B) <-- *** DEADLOCK *** Here, nilfs_get_block() readlocks rwsem A (= NILFS_MDT(dat_inode)->mi_sem) and then calls nilfs_bmap_lookup_contig(), but if it fails due to metadata corruption, __nilfs_error() is called from nilfs_bmap_convert_error() inside the lock section. Since __nilfs_error() calls nilfs_set_error() unless the filesystem is read-only and nilfs_set_error() attempts to writelock rwsem B (= nilfs->ns_sem) to write back superblock exclusively, hierarchical lock acquisition occurs in the order rwsem A -> rwsem B. Now, if another task starts updating the superblock, it may writelock rwsem B during the lock sequence above, and can deadlock trying to readlock rwsem A in nilfs_count_free_blocks(). However, there is actually no need to take rwsem A in nilfs_count_free_blocks() because it, within the lock section, only reads a single integer data on a shared struct with nilfs_sufile_get_ncleansegs(). This has been the case after commit aa474a220180 ("nilfs2: add local variable to cache the number of clean segments"), that is, even before this bug was introduced. So, this resolves the deadlock problem by just not taking the semaphore in nilfs_count_free_blocks().
来源: CVE Program / CVE List V5
CVSS Information
N/A
来源: 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存在安全漏洞,该漏洞源于nilfs2文件系统中nilfs_count_free_blocks函数的信号量死锁问题。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
Linux Linux e828949e5b42bfd234ee537cdb7c5e3a577958a3 ~ 3c89ca6d3dfa6c09c515807a7a97a521f5d5147e -
Linux Linux 2.6.38 -

二、漏洞 CVE-2022-49850 的公开POC

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

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2022-49850 的情报信息

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

CVE-2022-49850 补丁与修复 (8)

同批安全公告 · Linux · 2025-05-01 · 共 245 条

CVE-2025-37750 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2025-37778 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2022-49770 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2022-49931 8.8 HIGH Linux kernel 安全漏洞
CVE-2025-37776 8.8 HIGH Linux kernel 安全漏洞
CVE-2025-37777 8.8 HIGH Linux kernel 安全漏洞
CVE-2025-37790 8.8 HIGH Linux kernel 安全漏洞
CVE-2022-49910 8.8 HIGH Linux kernel 安全漏洞
CVE-2022-49886 8.4 HIGH Linux kernel 安全漏洞
CVE-2025-23159 8.4 HIGH Linux kernel 安全漏洞
CVE-2025-37749 8.2 HIGH Linux kernel 安全漏洞
CVE-2025-37774 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-37789 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-37779 7.8 HIGH Linux kernel 安全漏洞
CVE-2022-49920 7.8 HIGH Linux kernel 安全漏洞
CVE-2022-49919 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-37756 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-37761 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-37763 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-23141 7.8 HIGH Linux kernel 安全漏洞

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

IV. Related Vulnerabilities

V. Comments for CVE-2022-49850

暂无评论


发表评论