一、 漏洞 CVE-2023-53073 基础信息
漏洞信息
                                        # perf/x86/amd/core: 始终清除idx的状态

## 概述
在Linux内核中,perf/x86/amd/core模块中的一个漏洞得到了修复:未正确清除索引状态变量“status”,导致未处理的溢出位显示警告。

## 影响版本
未具体提及影响的版本。

## 细节
变量'status'(包含未处理的溢出位)在某些情况下未被正确掩码,导致以下警告:

```
WARNING: CPU: 156 PID: 475601 at arch/x86/events/amd/core.c:972 amd_pmu_v2_handle_irq+0x216/0x270
```

问题出在当`x86_perf_event_set_period()`返回0时,循环会继续执行,但“status”位没有被清除。这导致了“handled”计数器被递增,而“status”位未被清理的一致性问题。

修复方案是将位清理与“handled”计数器递增的操作放在一起。

## 影响
该漏洞可能导致性能监控中断处理的不一致性和误报,修复该问题能提高系统的稳定性和准确性。
                                        
提示
尽管我们采用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。
神龙会尽力确保数据准确,但也请结合实际情况进行甄别与判断。
神龙祝您一切顺利!
漏洞标题
perf/x86/amd/core: Always clear status for idx
来源:美国国家漏洞数据库 NVD
漏洞描述信息
In the Linux kernel, the following vulnerability has been resolved: perf/x86/amd/core: Always clear status for idx The variable 'status' (which contains the unhandled overflow bits) is not being properly masked in some cases, displaying the following warning: WARNING: CPU: 156 PID: 475601 at arch/x86/events/amd/core.c:972 amd_pmu_v2_handle_irq+0x216/0x270 This seems to be happening because the loop is being continued before the status bit being unset, in case x86_perf_event_set_period() returns 0. This is also causing an inconsistency because the "handled" counter is incremented, but the status bit is not cleaned. Move the bit cleaning together above, together when the "handled" counter is incremented.
来源:美国国家漏洞数据库 NVD
CVSS信息
N/A
来源:美国国家漏洞数据库 NVD
漏洞类别
N/A
来源:美国国家漏洞数据库 NVD
漏洞标题
Linux kernel 安全漏洞
来源:中国国家信息安全漏洞库 CNNVD
漏洞描述信息
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于amd_pmu_v2_handle_irq未正确清除状态位。
来源:中国国家信息安全漏洞库 CNNVD
CVSS信息
N/A
来源:中国国家信息安全漏洞库 CNNVD
漏洞类别
其他
来源:中国国家信息安全漏洞库 CNNVD
二、漏洞 CVE-2023-53073 的公开POC
# POC 描述 源链接 神龙链接
三、漏洞 CVE-2023-53073 的情报信息