• 公告ID (KylinSec-SA-2024-2882)

摘要:

In the Linux kernel, the following vulnerability has been resolved:

block: fix memory leak in disk_register_independent_access_ranges

kobject_init_and_add() takes reference even when it fails.
According to the doc of kobject_init_and_add()

If this function returns an error, kobject_put() must be called to
properly clean up the memory associated with the object.

Fix this issue by adding kobject_put().
Callback function blk_ia_ranges_sysfs_release() in kobject_put()
can handle the pointer "iars" properly.

安全等级: Low

公告ID: KylinSec-SA-2024-2882

发布日期: 2024年6月26日

关联CVE: CVE-2022-48753  

  • 详细介绍

1. 漏洞描述

   

In the Linux kernel, the following vulnerability has been resolved:

block: fix memory leak in disk_register_independent_access_ranges

kobject_init_and_add() takes reference even when it fails.
According to the doc of kobject_init_and_add()

If this function returns an error, kobject_put() must be called to
properly clean up the memory associated with the object.

Fix this issue by adding kobject_put().
Callback function blk_ia_ranges_sysfs_release() in kobject_put()
can handle the pointer "iars" properly.

2. 影响范围

cve名称 产品 组件 是否受影响
CVE-2022-48753 KY3.4-5 kernel Unaffected
CVE-2022-48753 KY3.5.3 kernel Unaffected
CVE-2022-48753 V6 kernel Unaffected

3. 影响组件

    无

4. 修复版本

    无

5. 修复方法

   无

6. 下载链接

    无
上一篇:KylinSec-SA-2024-2881 下一篇:KylinSec-SA-2024-2883