block: fix memory leak in disk_register_independent_access_ranges
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.16.5
- CVEs
- CVE-2022-48753
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 15:42 UTC · Revision 1
Source evidence
block: fix memory leak in disk_register_independent_access_ranges
core-osv · Original sourcePublished 20 Jun 2024, 11:13 UTC
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.
osv:CVE-2022-48753
Kernel
Fixed versions: 5.16.5
Complete source record
{
"id": "fa3b0f22f19d1e5ae7c32462a14a55644e9543516696698b8271655b08898477",
"url": "https://osv.dev/vulnerability/CVE-2022-48753",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "block: fix memory leak in disk_register_independent_access_ranges",
"summary": "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.",
"evidence": "osv:CVE-2022-48753",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.16.5",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "medium",
"structured": {
"id": "CVE-2022-48753",
"aliases": [
"CVE-2022-48753"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "a2247f19ee1c5ad75ef095cdfb909a3244b88aa8"
},
{
"fixed": "fe4214a07e0b53d2af711f57519e33739c5df23f"
},
{
"fixed": "83114df32ae779df57e0af99a8ba6c3968b2ba3d"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-48753.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "5.16.5"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-48753.json"
}
}
],
"modified": "2026-10-28T02:30:30.397297492Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/83114df32ae779df57e0af99a8ba6c3968b2ba3d",
"https://git.kernel.org/stable/c/fe4214a07e0b53d2af711f57519e33739c5df23f",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48753.json",
"https://nvd.nist.gov/vuln/detail/CVE-2022-48753",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48753.json"
}
},
"related_cves": [
{
"value": "CVE-2022-48753",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 496929,
"published_at": "2024-06-20T11:13:33.907+00:00"
}