# siox:修复siox_device_add()中可能存在的内存泄漏问题
## 概述
Linux内核中的`siox_device_add()`函数存在内存泄漏漏洞。如果`device_register()`返回错误,需要释放通过`dev_set_name()`分配的名称。
## 影响版本
未指定具体版本,但适用于包含`siox`模块的Linux内核版本。
## 细节
当`device_register()`在`siox_device_add()`中返回错误时,需要通过调用`put_device()`来释放引用,以便在`kobject_cleanup()`中释放名称,并在`siox_device_release()`中释放`sdevice`。
## 影响
如果`device_register()`返回错误,未释放的内存会导致内存泄漏问题。修复方案是调用`put_device()`,并确保在错误路径中将`sdevice`设置为`null`。
# | POC 描述 | 源链接 | 神龙链接 |
---|
标题: 503 Service Temporarily Unavailable -- 🔗来源链接
标签:
标题: Making sure you're not a bot! -- 🔗来源链接
标签:
标题: Making sure you're not a bot! -- 🔗来源链接
标签:
标题: Making sure you're not a bot! -- 🔗来源链接
标签:
标题: Making sure you're not a bot! -- 🔗来源链接
标签:
标题: Making sure you're not a bot! -- 🔗来源链接
标签: