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

目标: 1000 元 · 已筹: 1336

100%

CVE-2026-74576— Linux内核slab kmalloc释放路径无限递归漏洞

AI 预测 5.5 利用难度: 中等

影响版本矩阵 10

厂商产品版本范围状态
LinuxLinux4b8736964640fe160724e7135dc62883bddcdace< 3e71bfbdd3fd81ee9fefd867fdb2be62bade4140affected
4b8736964640fe160724e7135dc62883bddcdace< d01e88d421a6d07f35235600a43fbd0e551cf292affected
4b8736964640fe160724e7135dc62883bddcdace< ebefca49e4c69df24ba9307bfe0806230301d5c6affected
4b8736964640fe160724e7135dc62883bddcdace< d9e6a7623938968e3752b67e37eaff097e559a54affected
6.10affected
< 6.10unaffected
6.12.103≤ 6.12.*unaffected
6.18.44≤ 6.18.*unaffected
… +2 条更多
获取后续新漏洞提醒登录后订阅

一、 漏洞 CVE-2026-74576 基础信息

漏洞信息

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

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

Vulnerability Title
mm/slab: prevent unbounded recursion in free path with new kmalloc type
来源: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: mm/slab: prevent unbounded recursion in free path with new kmalloc type Commit 280ea9c3154b ("mm/slab: avoid allocating slabobj_ext array from its own slab") avoided recursive allocation of obj_exts from kmalloc caches of the same size, by bumping the obj_exts array's allocation size whenever the array size equals the size of the object being allocated. However, as reported by Danielle Costantino and Shakeel Butt, even slabs from kmalloc caches of different sizes can form a cycle by allocating obj_exts arrays from each other [1]: What happened: a KMALLOC_NORMAL slab's obj_exts array (used by allocation profiling / memcg accounting) is itself kmalloc()'d from a KMALLOC_NORMAL cache, so the "slab holds another slab's obj_exts array" relation can form cycles. With sizeof(struct slabobj_ext) == 16 and the host's geometry: - kmalloc-512 has 64 objects/slab -> array is 64*16 == 1024 bytes, served from kmalloc-1k; - kmalloc-1k has 32 objects/slab -> array is 32*16 == 512 bytes, served from kmalloc-512. A kmalloc-512 slab and a kmalloc-1k slab therefore hold each other's obj_exts array. Discarding one frees the other's array, which empties and discards that slab, which frees the first's array, and so on: __free_slab() -> free_slab_obj_exts() -> kfree() -> discard_slab() -> __free_slab() recurses along the cycle until the stack is exhausted. With memory allocation profiling, this allows unbounded recursion in the free path and led to a stack overflow on a production host in the Meta fleet [1]: BUG: TASK stack guard page was hit Oops: stack guard page RIP: 0010:kfree+0x8/0x5d0 Call Trace: __free_slab+0x66/0xc0 kfree+0x3f0/0x5d0 ... ( ~125x __free_slab <-> kfree ) ... <kernel driver freeing a resource> do_syscall_64 It is proposed [1] to resolve this issue by always serving the obj_exts array allocation from kmalloc caches (or large kmalloc) of sizes larger than the object size. However, as pointed out by Vlastimil Babka [2], this can waste an excessive amount of memory as slabs from large kmalloc sizes (e.g. kmalloc-8k) generally need obj_exts arrays much smaller than the object size. Therefore, rather than bumping the size, let us take a different approach; disallow formation of cycles between kmalloc types when allocating obj_exts arrays. Currently, all obj_exts arrays are served from normal kmalloc caches. Cycles cannot be created if obj_exts arrays of normal kmalloc caches are served from a special kmalloc type that can never have obj_exts arrays. To achieve this, create a new kmalloc type called KMALLOC_NO_OBJ_EXT. KMALLOC_NO_OBJ_EXT caches are created with SLAB_NO_OBJ_EXT flag when either 1) memory allocation profiling is not permanently disabled, or 2) kmalloc types with a priority higher than KMALLOC_CGROUP are aliased with KMALLOC_NORMAL. Sheaf bootstrapping for KMALLOC_NO_OBJ_EXT caches now must be deferred because allocation of a barn can trigger obj_exts array allocation of normal kmalloc caches when the KMALLOC_NO_OBJ_EXT cache for that size is not ready yet. For simplicity, perform bootstrapping of sheaves for all kmalloc caches later. Introduce a new slab alloc flag, SLAB_ALLOC_NO_OBJ_EXT, to prevent allocation of obj_exts arrays, and let kmalloc_slab() override the type to KMALLOC_NO_OBJ_EXT when specified. Note that kmalloc_type() remains unchanged because kmalloc_flags() bypasses the kmalloc fastpath. Do not pass SLAB_ALLOC_NO_RECURSE to kmalloc_flags() in alloc_slab_obj_exts() and instead use SLAB_ALLOC_NO_OBJ_EXT only when the objects are allocated from normal kmalloc caches. While this prevents unbounded recursive allocation of obj_exts, it allows KMALLOC_NO_OBJ_EXT caches to have sheaves. Since sheaf allocations specify SLAB_ALLOC_NO_RECURSE that prevents allocation of both sheaves and obj_exts arrays, the recursion depth is bounded. obj_exts arrays for non- ---truncated---
来源: CVE Program / CVE List V5
CVSS Information
N/A
来源: CVE Program / CVE List V5
Vulnerability Type
N/A
来源: CVE Program / CVE List V5

受影响产品

厂商产品影响版本CPE订阅
LinuxLinux 4b8736964640fe160724e7135dc62883bddcdace ~ 3e71bfbdd3fd81ee9fefd867fdb2be62bade4140 -
LinuxLinux 6.10 -

二、漏洞 CVE-2026-74576 的公开POC

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

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2026-74576 的情报信息

登录查看更多情报信息。

CVE-2026-74576 补丁与修复 (3)

同批安全公告 · Linux · 2026-08-15 · 共 848 条

CVE-2026-72255netfilter nf_queue 桥接设备 pin 漏洞
CVE-2026-72268t dfxfb tdfxfb_probe 内存泄漏漏洞
CVE-2026-72267fbdev carminefb alloc_carmine_fb()潜在内存泄漏漏洞
CVE-2026-72266vesafb: vesafb_probe() 内存泄漏漏洞
CVE-2026-72265NVIDIA fbdev 驱动 nvidiafb_probe 内存泄漏漏洞
CVE-2026-72264tridentfb:trident_pci_probe() 潜在内存泄漏
CVE-2026-72262ASoC: SOF: bytes_ext 堆溢出漏洞
CVE-2026-72263ASoC SOF拓扑内存泄漏漏洞
CVE-2026-72261ASoC SOF ipc3-control 验证 snd_sof_update_control 中的大小
CVE-2026-72260Mediatek MT8192 SoC驱动运行时恢复检查漏洞
CVE-2026-72259mediatek mt8192 资源释放漏洞
CVE-2026-72258MT8183内存清理释放漏洞
CVE-2026-72256netfilter xt_cluster 哈希匹配中拒绝模板连接跟踪漏洞
CVE-2026-72257qcom q6apm NULL指针解引用漏洞
CVE-2026-72245host1x: host1x_device_parse_dt() 设备引用泄露漏洞
CVE-2026-72248netfilter flowtable IPIP隧道直接转发漏洞
CVE-2026-72247Linux内核 nf_conncount 连接数模块元组去重时区域比较逻辑错误漏洞
CVE-2026-72246netfilter flowtable 隧道路由方向设置错误漏洞
CVE-2026-72249netfilter flowtable IPIP头部推送方向目标地址使用漏洞
CVE-2026-72244gpu/buddy:对齐失败时终止try_harder

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

IV. Related Vulnerabilities

V. Comments for CVE-2026-74576

暂无评论


发表评论