漏洞标题
xen-netfront:处理xdp_convert_buff_to_frame()返回的NULL值
漏洞描述信息
## 概述
在Linux内核中修复了与xen-netfront相关的漏洞,该漏洞涉及到`xdp_convert_buff_to_frame()`函数可能返回NULL值的情况,而未对NULL进行检查可能导致空指针解引用等问题。
## 影响版本
未提供具体影响版本信息。
## 细节
- `xdp_convert_buff_to_frame()`在将XDP缓冲区转换为XDP帧时,如果因为内存限制、内部错误或无效数据而失败,可能会返回NULL。
- 如果结果在后续处理中被使用而之前未检查NULL值,可能导致空指针解引用。
- 在XDP重定向失败时,其关联页面必须明确释放,若之前通过`get_page()`保留这些页面,在未释放的情况下会导致内存泄漏。
## 影响
- 可能导致系统崩溃或数据损坏。
- 内存泄漏。
CVSS信息
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
漏洞类别
空指针解引用
漏洞标题
xen-netfront: handle NULL returned by xdp_convert_buff_to_frame()
漏洞描述信息
In the Linux kernel, the following vulnerability has been resolved:
xen-netfront: handle NULL returned by xdp_convert_buff_to_frame()
The function xdp_convert_buff_to_frame() may return NULL if it fails
to correctly convert the XDP buffer into an XDP frame due to memory
constraints, internal errors, or invalid data. Failing to check for NULL
may lead to a NULL pointer dereference if the result is used later in
processing, potentially causing crashes, data corruption, or undefined
behavior.
On XDP redirect failure, the associated page must be released explicitly
if it was previously retained via get_page(). Failing to do so may result
in a memory leak, as the pages reference count is not decremented.
CVSS信息
N/A
漏洞类别
N/A