漏洞信息
# jfs:修正 add_missing_indices 中的数组索引越界读取漏洞
## 概述
在Linux内核中修复了一个数组越界读取漏洞,该漏洞出现在`add_missing_indices`函数中。
## 影响版本
未具体提及影响的版本
## 细节
`stbl`是s8类型,但它必须包含从0到127的槽偏移量。添加了一个边界检查以解决该问题,如果检查失败,则返回`-EIO`。同时,如果`add_missing_indices`返回错误,`jfs_readdir`也将返回错误。
## 影响
修复了由于数组越界导致的读取错误,提高了系统的安全性和稳定性。
提示
尽管我们采用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。
神龙会尽力确保数据准确,但也请结合实际情况进行甄别与判断。
神龙祝您一切顺利!
漏洞标题
jfs: fix array-index-out-of-bounds read in add_missing_indices
漏洞描述信息
In the Linux kernel, the following vulnerability has been resolved:
jfs: fix array-index-out-of-bounds read in add_missing_indices
stbl is s8 but it must contain offsets into slot which can go from 0 to
127.
Added a bound check for that error and return -EIO if the check fails.
Also make jfs_readdir return with error if add_missing_indices returns
with an error.
CVSS信息
N/A
漏洞类别
N/A
漏洞标题
Linux kernel 安全漏洞
漏洞描述信息
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于未验证数组索引导致越界读取。
CVSS信息
N/A
漏洞类别
其他