一、 漏洞 CVE-2022-50562 基础信息
漏洞信息
                                        # TPM ACPI 内存泄漏漏洞

## 概述

Linux 内核中的 TPM 驱动存在内存泄漏问题。在获取 ACPI 表信息时,调用了 `acpi_get_table()` 但未正确配对释放,导致内存泄漏。现已通过添加 `acpi_put_table()` 调用修复。

## 影响版本

受影响版本包括修复前的所有使用 `tpm_read_log_acpi()` 函数的 Linux 内核版本。

## 细节

- 在 `tpm_read_log_acpi()` 中,通过 `acpi_get_table()` 获取 TPM2 或 TCPA 表以确定事件日志区域的起始和长度。
- `acpi_get_table()` 分配的内存未通过 `acpi_put_table()` 释放,造成内存泄漏。
- 本次修复增加了 `acpi_put_table()` 调用以正确释放资源。
- 同时,删除了 `tpm_read_log_acpi()` 函数末尾多余的空白行。

## 影响

未修复的系统在频繁调用 `tpm_read_log_acpi()` 时可能发生内存泄漏,长期运行可能导致内存资源耗尽。
                                        
提示
尽管我们采用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。
神龙会尽力确保数据准确,但也请结合实际情况进行甄别与判断。
神龙祝您一切顺利!
漏洞标题
tpm: acpi: Call acpi_put_table() to fix memory leak
来源:美国国家漏洞数据库 NVD
漏洞描述信息
In the Linux kernel, the following vulnerability has been resolved: tpm: acpi: Call acpi_put_table() to fix memory leak The start and length of the event log area are obtained from TPM2 or TCPA table, so we call acpi_get_table() to get the ACPI information, but the acpi_get_table() should be coupled with acpi_put_table() to release the ACPI memory, add the acpi_put_table() properly to fix the memory leak. While we are at it, remove the redundant empty line at the end of the tpm_read_log_acpi().
来源:美国国家漏洞数据库 NVD
CVSS信息
N/A
来源:美国国家漏洞数据库 NVD
漏洞类别
N/A
来源:美国国家漏洞数据库 NVD
漏洞标题
Linux kernel 安全漏洞
来源:中国国家信息安全漏洞库 CNNVD
漏洞描述信息
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于未调用acpi_put_table释放ACPI内存,可能导致内存泄漏。
来源:中国国家信息安全漏洞库 CNNVD
CVSS信息
N/A
来源:中国国家信息安全漏洞库 CNNVD
漏洞类别
其他
来源:中国国家信息安全漏洞库 CNNVD
二、漏洞 CVE-2022-50562 的公开POC
# POC 描述 源链接 神龙链接
三、漏洞 CVE-2022-50562 的情报信息
四、漏洞 CVE-2022-50562 的评论

暂无评论


发表评论