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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2024-35979— Linux kernel 安全漏洞

一分钟漏洞结论

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

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于内存释放后重用。

CVSS 7.8 · High EPSS 0.23% · P13

可能的 ATT&CK 技术 1 AI

T1211 · Exploitation for Stealth

影响版本矩阵 8

厂商产品 版本范围状态
Linux Linux 992db13a4aee766c8bfbf046ad15c2db5fa7cab8< 3f28d49a328fe20926995d5fbdc92da665596268 affected
992db13a4aee766c8bfbf046ad15c2db5fa7cab8< f423f41b7679c09abb26d2bd54be5cbef23c9446 affected
992db13a4aee766c8bfbf046ad15c2db5fa7cab8< fcf3f7e2fc8a53a6140beee46ec782a4c88e4744 affected
6.6 affected
< 6.6 unaffected
6.6.28≤ 6.6.* unaffected
6.8.7≤ 6.8.* unaffected
6.9≤ * unaffected
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2024-35979 基础信息

漏洞信息

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

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

Vulnerability Title
raid1: fix use-after-free for original bio in raid1_write_request()
来源: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: raid1: fix use-after-free for original bio in raid1_write_request() r1_bio->bios[] is used to record new bios that will be issued to underlying disks, however, in raid1_write_request(), r1_bio->bios[] will set to the original bio temporarily. Meanwhile, if blocked rdev is set, free_r1bio() will be called causing that all r1_bio->bios[] to be freed: raid1_write_request() r1_bio = alloc_r1bio(mddev, bio); -> r1_bio->bios[] is NULL for (i = 0; i < disks; i++) -> for each rdev in conf // first rdev is normal r1_bio->bios[0] = bio; -> set to original bio // second rdev is blocked if (test_bit(Blocked, &rdev->flags)) break if (blocked_rdev) free_r1bio() put_all_bios() bio_put(r1_bio->bios[0]) -> original bio is freed Test scripts: mdadm -CR /dev/md0 -l1 -n4 /dev/sd[abcd] --assume-clean fio -filename=/dev/md0 -ioengine=libaio -rw=write -bs=4k -numjobs=1 \ -iodepth=128 -name=test -direct=1 echo blocked > /sys/block/md0/md/rd2/state Test result: BUG bio-264 (Not tainted): Object already free ----------------------------------------------------------------------------- Allocated in mempool_alloc_slab+0x24/0x50 age=1 cpu=1 pid=869 kmem_cache_alloc+0x324/0x480 mempool_alloc_slab+0x24/0x50 mempool_alloc+0x6e/0x220 bio_alloc_bioset+0x1af/0x4d0 blkdev_direct_IO+0x164/0x8a0 blkdev_write_iter+0x309/0x440 aio_write+0x139/0x2f0 io_submit_one+0x5ca/0xb70 __do_sys_io_submit+0x86/0x270 __x64_sys_io_submit+0x22/0x30 do_syscall_64+0xb1/0x210 entry_SYSCALL_64_after_hwframe+0x6c/0x74 Freed in mempool_free_slab+0x1f/0x30 age=1 cpu=1 pid=869 kmem_cache_free+0x28c/0x550 mempool_free_slab+0x1f/0x30 mempool_free+0x40/0x100 bio_free+0x59/0x80 bio_put+0xf0/0x220 free_r1bio+0x74/0xb0 raid1_make_request+0xadf/0x1150 md_handle_request+0xc7/0x3b0 md_submit_bio+0x76/0x130 __submit_bio+0xd8/0x1d0 submit_bio_noacct_nocheck+0x1eb/0x5c0 submit_bio_noacct+0x169/0xd40 submit_bio+0xee/0x1d0 blkdev_direct_IO+0x322/0x8a0 blkdev_write_iter+0x309/0x440 aio_write+0x139/0x2f0 Since that bios for underlying disks are not allocated yet, fix this problem by using mempool_free() directly to free the r1_bio.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
来源: 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存在安全漏洞,该漏洞源于内存释放后重用。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
Linux Linux 992db13a4aee766c8bfbf046ad15c2db5fa7cab8 ~ 3f28d49a328fe20926995d5fbdc92da665596268 -
Linux Linux 6.6 -

二、漏洞 CVE-2024-35979 的公开POC

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

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2024-35979 的情报信息

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

CVE-2024-35979 其他参考 (2)

同批安全公告 · Linux · 2024-05-20 · 共 62 条

CVE-2024-35969 8.8 HIGH Linux kernel 安全漏洞
CVE-2024-35980 8.4 HIGH Linux kernel 安全漏洞
CVE-2024-35987 8.4 HIGH Linux kernel 安全漏洞
CVE-2024-36007 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-36001 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-35949 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-35950 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-35951 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-35954 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-35948 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-35993 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-35994 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-35990 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-35958 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-36009 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-35968 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-35998 7.5 HIGH Linux kernel 安全漏洞
CVE-2024-35999 7.5 HIGH Linux kernel 安全漏洞
CVE-2024-35971 7.5 HIGH Linux kernel 安全漏洞
CVE-2024-35962 7.1 HIGH Linux kernel 安全漏洞

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

IV. Related Vulnerabilities

V. Comments for CVE-2024-35979

暂无评论


发表评论