CVE-2022-48753

Source
https://cve.org/CVERecord?id=CVE-2022-48753
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-48753.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-48753
Downstream
Related
Published
2024-06-20T11:13:33Z
Modified
2026-08-12T03:51:37Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L CVSS Calculator
Summary
block: fix memory leak in disk_register_independent_access_ranges
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48753.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
a2247f19ee1c5ad75ef095cdfb909a3244b88aa8
Fixed
fe4214a07e0b53d2af711f57519e33739c5df23f
Fixed
83114df32ae779df57e0af99a8ba6c3968b2ba3d

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-48753.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
5.16.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-48753.json"