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

目标: 1000 元 · 已筹: 1336

100%

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

一分钟漏洞结论

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

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel 存在安全漏洞,该漏洞源于fs/proc模块在处理/proc/$PID/smaps时,由于MADV_FREE调用可能触发的THP分割,导致竞争条件。

AI 预测 5.5 利用难度: 中等 EPSS 0.29% · P21

可能的 ATT&CK 技术 1 AI

T1005 · Data from Local System

影响版本矩阵 10

厂商产品 版本范围状态
Linux Linux e9b61f19858a5d6c42ce2298cf138279375d0d9b< db3f3636e4aed2cba3e4e7897a053323f7a62249 affected
e9b61f19858a5d6c42ce2298cf138279375d0d9b< a8dd0cfa37792863b6c4bf9542975212a6715d49 affected
e9b61f19858a5d6c42ce2298cf138279375d0d9b< 05d3f8045efa59457b323caf00bdb9273b7962fa affected
e9b61f19858a5d6c42ce2298cf138279375d0d9b< 24d7275ce2791829953ed4e72f68277ceb2571c6 affected
4.5 affected
< 4.5 unaffected
5.10.102≤ 5.10.* unaffected
5.15.25≤ 5.15.* unaffected
… +2 条更多
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
fs/proc: task_mmu.c: don't read mapcount for migration entry
来源: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: fs/proc: task_mmu.c: don't read mapcount for migration entry The syzbot reported the below BUG: kernel BUG at include/linux/page-flags.h:785! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 4392 Comm: syz-executor560 Not tainted 5.16.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:PageDoubleMap include/linux/page-flags.h:785 [inline] RIP: 0010:__page_mapcount+0x2d2/0x350 mm/util.c:744 Call Trace: page_mapcount include/linux/mm.h:837 [inline] smaps_account+0x470/0xb10 fs/proc/task_mmu.c:466 smaps_pte_entry fs/proc/task_mmu.c:538 [inline] smaps_pte_range+0x611/0x1250 fs/proc/task_mmu.c:601 walk_pmd_range mm/pagewalk.c:128 [inline] walk_pud_range mm/pagewalk.c:205 [inline] walk_p4d_range mm/pagewalk.c:240 [inline] walk_pgd_range mm/pagewalk.c:277 [inline] __walk_page_range+0xe23/0x1ea0 mm/pagewalk.c:379 walk_page_vma+0x277/0x350 mm/pagewalk.c:530 smap_gather_stats.part.0+0x148/0x260 fs/proc/task_mmu.c:768 smap_gather_stats fs/proc/task_mmu.c:741 [inline] show_smap+0xc6/0x440 fs/proc/task_mmu.c:822 seq_read_iter+0xbb0/0x1240 fs/seq_file.c:272 seq_read+0x3e0/0x5b0 fs/seq_file.c:162 vfs_read+0x1b5/0x600 fs/read_write.c:479 ksys_read+0x12d/0x250 fs/read_write.c:619 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae The reproducer was trying to read /proc/$PID/smaps when calling MADV_FREE at the mean time. MADV_FREE may split THPs if it is called for partial THP. It may trigger the below race: CPU A CPU B ----- ----- smaps walk: MADV_FREE: page_mapcount() PageCompound() split_huge_page() page = compound_head(page) PageDoubleMap(page) When calling PageDoubleMap() this page is not a tail page of THP anymore so the BUG is triggered. This could be fixed by elevated refcount of the page before calling mapcount, but that would prevent it from counting migration entries, and it seems overkilling because the race just could happen when PMD is split so all PTE entries of tail pages are actually migration entries, and smaps_account() does treat migration entries as mapcount == 1 as Kirill pointed out. Add a new parameter for smaps_account() to tell this entry is migration entry then skip calling page_mapcount(). Don't skip getting mapcount for device private entries since they do track references with mapcount. Pagemap also has the similar issue although it was not reported. Fixed it as well. [shy828301@gmail.com: v4] [nathan@kernel.org: avoid unused variable warning in pagemap_pmd_range()]
来源: 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 存在安全漏洞,该漏洞源于fs/proc模块在处理/proc/$PID/smaps时,由于MADV_FREE调用可能触发的THP分割,导致竞争条件。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
Linux Linux e9b61f19858a5d6c42ce2298cf138279375d0d9b ~ db3f3636e4aed2cba3e4e7897a053323f7a62249 -
Linux Linux 4.5 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

登录查看更多情报信息。

CVE-2022-48802 其他参考 (3)

同批安全公告 · Linux · 2024-07-16 · 共 98 条

CVE-2022-48790 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2022-48789 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2022-48788 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2022-48851 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2022-48829 9.1 CRITICAL Linux kernel 安全漏洞
CVE-2022-48828 9.1 CRITICAL Linux kernel 安全漏洞
CVE-2022-48864 8.8 HIGH Linux kernel 安全漏洞
CVE-2022-48830 8.8 HIGH Linux kernel 安全漏洞
CVE-2022-48782 8.8 HIGH Linux kernel 安全漏洞
CVE-2022-48785 8.8 HIGH Linux kernel 安全漏洞
CVE-2022-48786 7.8 HIGH Linux kernel 安全漏洞
CVE-2022-48839 7.8 HIGH Linux kernel 安全漏洞
CVE-2022-48779 7.8 HIGH Linux kernel 安全漏洞
CVE-2022-48821 7.8 HIGH Linux kernel 安全漏洞
CVE-2022-48822 7.8 HIGH Linux kernel 安全漏洞
CVE-2022-48816 7.8 HIGH Linux kernel 安全漏洞
CVE-2022-48792 7.8 HIGH Linux kernel 安全漏洞
CVE-2022-48796 7.8 HIGH Linux kernel 安全漏洞
CVE-2022-48787 7.8 HIGH Linux kernel 安全漏洞
CVE-2022-48791 7.8 HIGH Linux kernel 安全漏洞

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

IV. Related Vulnerabilities

V. Comments for CVE-2022-48802

暂无评论


发表评论