一、 漏洞 CVE-2024-50262 基础信息
漏洞标题
bpf trie_get_next_key()存在缓冲区溢出漏洞
来源:AIGC 神龙大模型
漏洞描述信息
在 Linux 内核中,已修复以下漏洞: bpf: 修复 trie_get_next_key() 中的越界写入问题 trie_get_next_key() 函数分配了一个大小为 trie->max_prefixlen 的节点栈,但在从根到叶节点的完整路径情况下,它会将 (trie->max_prefixlen + 1) 个节点写入栈中。例如,考虑一个 max_prefixlen 为 8 的 trie,其中插入了键 0x00/0, 0x00/1, 0x00/2, ... 0x00/8 的节点。当后续调用 trie_get_next_key 并且 _key 的 .prefixlen = 8 时,会将 9 个节点写入大小为 8 的节点栈中,导致越界写入。
来源:AIGC 神龙大模型
CVSS信息
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
来源:AIGC 神龙大模型
漏洞类别
跨界内存写
来源:AIGC 神龙大模型
漏洞标题
bpf: Fix out-of-bounds write in trie_get_next_key()
来源:美国国家漏洞数据库 NVD
漏洞描述信息
In the Linux kernel, the following vulnerability has been resolved: bpf: Fix out-of-bounds write in trie_get_next_key() trie_get_next_key() allocates a node stack with size trie->max_prefixlen, while it writes (trie->max_prefixlen + 1) nodes to the stack when it has full paths from the root to leaves. For example, consider a trie with max_prefixlen is 8, and the nodes with key 0x00/0, 0x00/1, 0x00/2, ... 0x00/8 inserted. Subsequent calls to trie_get_next_key with _key with .prefixlen = 8 make 9 nodes be written on the node stack with size 8.
来源:美国国家漏洞数据库 NVD
CVSS信息
N/A
来源:美国国家漏洞数据库 NVD
漏洞类别
N/A
来源:美国国家漏洞数据库 NVD
漏洞标题
Linux kernel 安全漏洞
来源:中国国家信息安全漏洞库 CNNVD
漏洞描述信息
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于trie_get_next_key函数中存在越界写入问题。
来源:中国国家信息安全漏洞库 CNNVD
CVSS信息
N/A
来源:中国国家信息安全漏洞库 CNNVD
漏洞类别
其他
来源:中国国家信息安全漏洞库 CNNVD
二、漏洞 CVE-2024-50262 的公开POC
# POC 描述 源链接 神龙链接
三、漏洞 CVE-2024-50262 的情报信息
  • 标题: bpf: Fix out-of-bounds write in trie_get_next_key() - kernel/git/stable/linux.git - Linux kernel stable tree -- 🔗来源链接

    标签:

    神龙速读
  • 标题: bpf: Fix out-of-bounds write in trie_get_next_key() - kernel/git/stable/linux.git - Linux kernel stable tree -- 🔗来源链接

    标签:

    神龙速读
  • 标题: bpf: Fix out-of-bounds write in trie_get_next_key() - kernel/git/stable/linux.git - Linux kernel stable tree -- 🔗来源链接

    标签:

    神龙速读
  • 标题: bpf: Fix out-of-bounds write in trie_get_next_key() - kernel/git/stable/linux.git - Linux kernel stable tree -- 🔗来源链接

    标签:

    神龙速读
  • 标题: bpf: Fix out-of-bounds write in trie_get_next_key() - kernel/git/stable/linux.git - Linux kernel stable tree -- 🔗来源链接

    标签:

    神龙速读
  • 标题: bpf: Fix out-of-bounds write in trie_get_next_key() - kernel/git/stable/linux.git - Linux kernel stable tree -- 🔗来源链接

    标签:

    神龙速读
  • 标题: bpf: Fix out-of-bounds write in trie_get_next_key() - kernel/git/stable/linux.git - Linux kernel stable tree -- 🔗来源链接

    标签:

    神龙速读
  • 标题: bpf: Fix out-of-bounds write in trie_get_next_key() - kernel/git/stable/linux.git - Linux kernel stable tree -- 🔗来源链接

    标签:

    神龙速读
  • https://nvd.nist.gov/vuln/detail/CVE-2024-50262