CVE-2022-48753

Source
https://cve.org/CVERecord?id=CVE-2022-48753
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-48753.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-48753
Downstream
Related
Published
2024-06-20T11:13:33.907Z
Modified
2026-03-20T12:21:49.136582Z
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 diskregisterindependentaccessranges

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

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 kobjectput(). Callback function blkiarangessysfsrelease() in kobjectput() can handle the pointer "iars" properly.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48753.json",
    "cna_assigner": "Linux"
}
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/osv-test-cve-osv-conversion/osv-output/CVE-2022-48753.json"