一、 漏洞 CVE-2024-56745 基础信息
漏洞标题
PCI:修复reset_method_store()内存泄露问题
来源:AIGC 神龙大模型
漏洞描述信息
在 Linux 内核中,已修复以下漏洞: PCI:修复 reset_method_store() 内存泄漏 在 reset_method_store() 函数中,通过 kstrndup() 分配了一个字符串并将其赋值给局部变量 "options"。然后使用 strsep() 函数查找空格: while ((name = strsep(&options, " ")) != NULL) { 如果不再有空格,strsep() 将 options 设置为 NULL,因此后续的 kfree(options) 操作不会释放通过 kstrndup() 分配的内存。 通过使用一个独立的 tmp_options 变量与 strsep() 一起进行迭代来修复此问题,从而保留 options 的值。
来源:AIGC 神龙大模型
CVSS信息
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
来源:AIGC 神龙大模型
漏洞类别
在移除最后引用时对内存的释放不恰当(内存泄露)
来源:AIGC 神龙大模型
漏洞标题
PCI: Fix reset_method_store() memory leak
来源:美国国家漏洞数据库 NVD
漏洞描述信息
In the Linux kernel, the following vulnerability has been resolved: PCI: Fix reset_method_store() memory leak In reset_method_store(), a string is allocated via kstrndup() and assigned to the local "options". options is then used in with strsep() to find spaces: while ((name = strsep(&options, " ")) != NULL) { If there are no remaining spaces, then options is set to NULL by strsep(), so the subsequent kfree(options) doesn't free the memory allocated via kstrndup(). Fix by using a separate tmp_options to iterate with strsep() so options is preserved.
来源:美国国家漏洞数据库 NVD
CVSS信息
N/A
来源:美国国家漏洞数据库 NVD
漏洞类别
N/A
来源:美国国家漏洞数据库 NVD
漏洞标题
Linux kernel 安全漏洞
来源:中国国家信息安全漏洞库 CNNVD
漏洞描述信息
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于nfs/blocklayout模块中未正确处理无效块设备的注销,导致空指针取消引用。
来源:中国国家信息安全漏洞库 CNNVD
CVSS信息
N/A
来源:中国国家信息安全漏洞库 CNNVD
漏洞类别
其他
来源:中国国家信息安全漏洞库 CNNVD
二、漏洞 CVE-2024-56745 的公开POC
# POC 描述 源链接 神龙链接
三、漏洞 CVE-2024-56745 的情报信息
  • 标题: PCI: Fix reset_method_store() memory leak - kernel/git/stable/linux.git - Linux kernel stable tree -- 🔗来源链接

    标签:

  • 标题: PCI: Fix reset_method_store() memory leak - kernel/git/stable/linux.git - Linux kernel stable tree -- 🔗来源链接

    标签:

  • 标题: PCI: Fix reset_method_store() memory leak - kernel/git/stable/linux.git - Linux kernel stable tree -- 🔗来源链接

    标签:

  • 标题: PCI: Fix reset_method_store() memory leak - kernel/git/stable/linux.git - Linux kernel stable tree -- 🔗来源链接

    标签:

  • 标题: PCI: Fix reset_method_store() memory leak - kernel/git/stable/linux.git - Linux kernel stable tree -- 🔗来源链接

    标签:

  • 标题: PCI: Fix reset_method_store() memory leak - kernel/git/stable/linux.git - Linux kernel stable tree -- 🔗来源链接

    标签:

  • https://nvd.nist.gov/vuln/detail/CVE-2024-56745