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

目标: 1000 元 · 已筹: 1336

100%

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

一分钟漏洞结论

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

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于NCI设备分离时存在并发释放后重用问题。

AI 预测 7.8 利用难度: 较易 EPSS 0.30% · P22

影响版本矩阵 18

厂商产品 版本范围状态
Linux Linux 6a2968aaf50c7a22fced77a5e24aa636281efca8< 7d3232214ca4ea8f7d18df264c3b254aa8089d7f affected
6a2968aaf50c7a22fced77a5e24aa636281efca8< 9d243aff5f7e6b04e907c617426bbdf26e996ac8 affected
6a2968aaf50c7a22fced77a5e24aa636281efca8< 1a1748d0dd0f0a98535c6baeef671c8722107639 affected
6a2968aaf50c7a22fced77a5e24aa636281efca8< 5c63ad2b0a267a524c12c88acb1ba9c2d109a801 affected
6a2968aaf50c7a22fced77a5e24aa636281efca8< 67677050cecbe0edfdd81cd508415e9636ba7c65 affected
6a2968aaf50c7a22fced77a5e24aa636281efca8< 9ded5ae40f4fe37fcc28f36d76bf45df20be5432 affected
6a2968aaf50c7a22fced77a5e24aa636281efca8< edd4600120641e1714e30112e69a548cfb68e067 affected
6a2968aaf50c7a22fced77a5e24aa636281efca8< ef27324e2cb7bb24542d6cb2571740eefe6b00dc affected
… +10 条更多
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
nfc: nci: add flush_workqueue to prevent uaf
来源: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: nfc: nci: add flush_workqueue to prevent uaf Our detector found a concurrent use-after-free bug when detaching an NCI device. The main reason for this bug is the unexpected scheduling between the used delayed mechanism (timer and workqueue). The race can be demonstrated below: Thread-1 Thread-2 | nci_dev_up() | nci_open_device() | __nci_request(nci_reset_req) | nci_send_cmd | queue_work(cmd_work) nci_unregister_device() | nci_close_device() | ... del_timer_sync(cmd_timer)[1] | ... | Worker nci_free_device() | nci_cmd_work() kfree(ndev)[3] | mod_timer(cmd_timer)[2] In short, the cleanup routine thought that the cmd_timer has already been detached by [1] but the mod_timer can re-attach the timer [2], even it is already released [3], resulting in UAF. This UAF is easy to trigger, crash trace by POC is like below [ 66.703713] ================================================================== [ 66.703974] BUG: KASAN: use-after-free in enqueue_timer+0x448/0x490 [ 66.703974] Write of size 8 at addr ffff888009fb7058 by task kworker/u4:1/33 [ 66.703974] [ 66.703974] CPU: 1 PID: 33 Comm: kworker/u4:1 Not tainted 5.18.0-rc2 #5 [ 66.703974] Workqueue: nfc2_nci_cmd_wq nci_cmd_work [ 66.703974] Call Trace: [ 66.703974] <TASK> [ 66.703974] dump_stack_lvl+0x57/0x7d [ 66.703974] print_report.cold+0x5e/0x5db [ 66.703974] ? enqueue_timer+0x448/0x490 [ 66.703974] kasan_report+0xbe/0x1c0 [ 66.703974] ? enqueue_timer+0x448/0x490 [ 66.703974] enqueue_timer+0x448/0x490 [ 66.703974] __mod_timer+0x5e6/0xb80 [ 66.703974] ? mark_held_locks+0x9e/0xe0 [ 66.703974] ? try_to_del_timer_sync+0xf0/0xf0 [ 66.703974] ? lockdep_hardirqs_on_prepare+0x17b/0x410 [ 66.703974] ? queue_work_on+0x61/0x80 [ 66.703974] ? lockdep_hardirqs_on+0xbf/0x130 [ 66.703974] process_one_work+0x8bb/0x1510 [ 66.703974] ? lockdep_hardirqs_on_prepare+0x410/0x410 [ 66.703974] ? pwq_dec_nr_in_flight+0x230/0x230 [ 66.703974] ? rwlock_bug.part.0+0x90/0x90 [ 66.703974] ? _raw_spin_lock_irq+0x41/0x50 [ 66.703974] worker_thread+0x575/0x1190 [ 66.703974] ? process_one_work+0x1510/0x1510 [ 66.703974] kthread+0x2a0/0x340 [ 66.703974] ? kthread_complete_and_exit+0x20/0x20 [ 66.703974] ret_from_fork+0x22/0x30 [ 66.703974] </TASK> [ 66.703974] [ 66.703974] Allocated by task 267: [ 66.703974] kasan_save_stack+0x1e/0x40 [ 66.703974] __kasan_kmalloc+0x81/0xa0 [ 66.703974] nci_allocate_device+0xd3/0x390 [ 66.703974] nfcmrvl_nci_register_dev+0x183/0x2c0 [ 66.703974] nfcmrvl_nci_uart_open+0xf2/0x1dd [ 66.703974] nci_uart_tty_ioctl+0x2c3/0x4a0 [ 66.703974] tty_ioctl+0x764/0x1310 [ 66.703974] __x64_sys_ioctl+0x122/0x190 [ 66.703974] do_syscall_64+0x3b/0x90 [ 66.703974] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 66.703974] [ 66.703974] Freed by task 406: [ 66.703974] kasan_save_stack+0x1e/0x40 [ 66.703974] kasan_set_track+0x21/0x30 [ 66.703974] kasan_set_free_info+0x20/0x30 [ 66.703974] __kasan_slab_free+0x108/0x170 [ 66.703974] kfree+0xb0/0x330 [ 66.703974] nfcmrvl_nci_unregister_dev+0x90/0xd0 [ 66.703974] nci_uart_tty_close+0xdf/0x180 [ 66.703974] tty_ldisc_kill+0x73/0x110 [ 66.703974] tty_ldisc_hangup+0x281/0x5b0 [ 66.703974] __tty_hangup.part.0+0x431/0x890 [ 66.703974] tty_release+0x3a8/0xc80 [ 66.703974] __fput+0x1f0/0x8c0 [ 66.703974] task_work_run+0xc9/0x170 [ 66.703974] exit_to_user_mode_prepare+0x194/0x1a0 [ 66.703974] syscall_exit_to_user_mode+0x19/0x50 [ 66.703974] do_syscall_64+0x48/0x90 [ 66.703974] entry_SYSCALL_64_after_hwframe+0x44/0x ---truncated---
来源: 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存在安全漏洞,该漏洞源于NCI设备分离时存在并发释放后重用问题。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
Linux Linux 6a2968aaf50c7a22fced77a5e24aa636281efca8 ~ 7d3232214ca4ea8f7d18df264c3b254aa8089d7f -
Linux Linux 3.2 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

登录查看更多情报信息。

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

同批安全公告 · Linux · 2025-02-26 · 共 706 条

CVE-2022-49149 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2022-49280 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2022-49093 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2022-49094 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2022-49356 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2022-49407 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2022-49418 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2022-49561 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2022-49362 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2022-49194 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2022-49260 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2022-49201 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2022-49058 9.1 CRITICAL Linux kernel 安全漏洞
CVE-2022-49328 8.8 HIGH Linux kernel 安全漏洞
CVE-2022-49238 8.8 HIGH Linux kernel 安全漏洞
CVE-2022-49471 8.8 HIGH Linux kernel 安全漏洞
CVE-2022-49159 8.8 HIGH Linux kernel 安全漏洞
CVE-2022-49500 8.8 HIGH Linux kernel 安全漏洞
CVE-2022-49479 8.8 HIGH Linux kernel 安全漏洞
CVE-2022-49519 8.8 HIGH Linux kernel 安全漏洞

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

IV. Related Vulnerabilities

V. Comments for CVE-2022-49059

暂无评论


发表评论