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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2023-52896— Linux kernel 安全漏洞

一分钟漏洞结论

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

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于 btrfs 文件系统在配额重扫和禁用时存在竞态条件。

AI 预测 7.8 利用难度: 中等 EPSS 0.24% · P14

影响版本矩阵 17

厂商产品 版本范围状态
Linux Linux 26b3901d20bf9da2c6a00cb1fb48932166f80a45< 89ac597e3e807b91e2ebd6a7c36fec7b97290233 affected
32747e01436aac8ef93fe85b5b523b4f3b52f040< 3bd43374857103ba3cac751d6d4afa8d83b5d92a affected
89d4cca583fc9594ee7d1a0bc986886d6fb587e6< 64287cd456a22373053998c1fccf14b651e9cbbd affected
e804861bd4e69cc5fe1053eedcb024982dde8e48< 1004fc90f0d79a4b7d9e3d432729914f472f9ad1 affected
e804861bd4e69cc5fe1053eedcb024982dde8e48< b7adbf9ada3513d2092362c8eac5cddc5b651f5c affected
31198e58c09e21d4f65c49d2361f76b87aca4c3f affected
5.4.178< 5.4.230 affected
5.10.99< 5.10.165 affected
… +9 条更多
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2023-52896 基础信息

漏洞信息

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

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

Vulnerability Title
btrfs: fix race between quota rescan and disable leading to NULL pointer deref
来源: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: btrfs: fix race between quota rescan and disable leading to NULL pointer deref If we have one task trying to start the quota rescan worker while another one is trying to disable quotas, we can end up hitting a race that results in the quota rescan worker doing a NULL pointer dereference. The steps for this are the following: 1) Quotas are enabled; 2) Task A calls the quota rescan ioctl and enters btrfs_qgroup_rescan(). It calls qgroup_rescan_init() which returns 0 (success) and then joins a transaction and commits it; 3) Task B calls the quota disable ioctl and enters btrfs_quota_disable(). It clears the bit BTRFS_FS_QUOTA_ENABLED from fs_info->flags and calls btrfs_qgroup_wait_for_completion(), which returns immediately since the rescan worker is not yet running. Then it starts a transaction and locks fs_info->qgroup_ioctl_lock; 4) Task A queues the rescan worker, by calling btrfs_queue_work(); 5) The rescan worker starts, and calls rescan_should_stop() at the start of its while loop, which results in 0 iterations of the loop, since the flag BTRFS_FS_QUOTA_ENABLED was cleared from fs_info->flags by task B at step 3); 6) Task B sets fs_info->quota_root to NULL; 7) The rescan worker tries to start a transaction and uses fs_info->quota_root as the root argument for btrfs_start_transaction(). This results in a NULL pointer dereference down the call chain of btrfs_start_transaction(). The stack trace is something like the one reported in Link tag below: general protection fault, probably for non-canonical address 0xdffffc0000000041: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000208-0x000000000000020f] CPU: 1 PID: 34 Comm: kworker/u4:2 Not tainted 6.1.0-syzkaller-13872-gb6bb9676f216 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Workqueue: btrfs-qgroup-rescan btrfs_work_helper RIP: 0010:start_transaction+0x48/0x10f0 fs/btrfs/transaction.c:564 Code: 48 89 fb 48 (...) RSP: 0018:ffffc90000ab7ab0 EFLAGS: 00010206 RAX: 0000000000000041 RBX: 0000000000000208 RCX: ffff88801779ba80 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: dffffc0000000000 R08: 0000000000000001 R09: fffff52000156f5d R10: fffff52000156f5d R11: 1ffff92000156f5c R12: 0000000000000000 R13: 0000000000000001 R14: 0000000000000001 R15: 0000000000000003 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2bea75b718 CR3: 000000001d0cc000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: <TASK> btrfs_qgroup_rescan_worker+0x3bb/0x6a0 fs/btrfs/qgroup.c:3402 btrfs_work_helper+0x312/0x850 fs/btrfs/async-thread.c:280 process_one_work+0x877/0xdb0 kernel/workqueue.c:2289 worker_thread+0xb14/0x1330 kernel/workqueue.c:2436 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 </TASK> Modules linked in: So fix this by having the rescan worker function not attempt to start a transaction if it didn't do any rescan work.
来源: 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存在安全漏洞,该漏洞源于 btrfs 文件系统在配额重扫和禁用时存在竞态条件。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
Linux Linux 26b3901d20bf9da2c6a00cb1fb48932166f80a45 ~ 89ac597e3e807b91e2ebd6a7c36fec7b97290233 -
Linux Linux 5.17 -

二、漏洞 CVE-2023-52896 的公开POC

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

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2023-52896 的情报信息

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

CVE-2023-52896 其他参考 (5)

同批安全公告 · Linux · 2024-08-21 · 共 68 条

CVE-2023-52910 8.8 HIGH Linux kernel 安全漏洞
CVE-2024-43881 8.8 HIGH Linux kernel 安全漏洞
CVE-2022-48871 8.8 HIGH Linux kernel 安全漏洞
CVE-2024-43878 8.1 HIGH Linux kernel 安全漏洞
CVE-2022-48883 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-43882 7.8 HIGH Linux kernel 安全漏洞
CVE-2023-52913 7.8 HIGH Linux kernel 安全漏洞
CVE-2022-48892 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-43877 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-43880 7.8 HIGH Linux kernel 安全漏洞
CVE-2022-48899 7.8 HIGH Linux kernel 安全漏洞
CVE-2022-48872 7.8 HIGH Linux kernel 安全漏洞
CVE-2022-48873 7.8 HIGH Linux kernel 安全漏洞
CVE-2022-48874 7.8 HIGH Linux kernel 安全漏洞
CVE-2023-52903 7.8 HIGH Linux kernel 安全漏洞
CVE-2022-48887 7.8 HIGH Linux kernel 安全漏洞
CVE-2022-48878 7.8 HIGH Linux kernel 安全漏洞
CVE-2023-52907 7.8 HIGH Linux kernel 安全漏洞
CVE-2023-52909 7.5 HIGH Linux kernel 安全漏洞
CVE-2024-43872 7.5 HIGH Linux kernel 安全漏洞

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

IV. Related Vulnerabilities

V. Comments for CVE-2023-52896

暂无评论


发表评论