CVE-2023-53271 (GCVE-0-2023-53271)
Vulnerability from cvelistv5
Published
2025-09-16 08:07
Modified
2025-09-16 08:07
Severity ?
VLAI Severity ?
EPSS score ?
Summary
In the Linux kernel, the following vulnerability has been resolved:
ubi: Fix unreferenced object reported by kmemleak in ubi_resize_volume()
There is a memory leaks problem reported by kmemleak:
unreferenced object 0xffff888102007a00 (size 128):
comm "ubirsvol", pid 32090, jiffies 4298464136 (age 2361.231s)
hex dump (first 32 bytes):
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
backtrace:
[<ffffffff8176cecd>] __kmalloc+0x4d/0x150
[<ffffffffa02a9a36>] ubi_eba_create_table+0x76/0x170 [ubi]
[<ffffffffa029764e>] ubi_resize_volume+0x1be/0xbc0 [ubi]
[<ffffffffa02a3321>] ubi_cdev_ioctl+0x701/0x1850 [ubi]
[<ffffffff81975d2d>] __x64_sys_ioctl+0x11d/0x170
[<ffffffff83c142a5>] do_syscall_64+0x35/0x80
[<ffffffff83e0006a>] entry_SYSCALL_64_after_hwframe+0x46/0xb0
This is due to a mismatch between create and destroy interfaces, and
in detail that "new_eba_tbl" created by ubi_eba_create_table() but
destroyed by kfree(), while will causing "new_eba_tbl->entries" not
freed.
Fix it by replacing kfree(new_eba_tbl) with
ubi_eba_destroy_table(new_eba_tbl)
References
Impacted products
Vendor | Product | Version | |||||||
---|---|---|---|---|---|---|---|---|---|
▼ | Linux | Linux |
Version: 799dca34ac543485f581bd8464ec9b1c4f0f852a Version: 799dca34ac543485f581bd8464ec9b1c4f0f852a Version: 799dca34ac543485f581bd8464ec9b1c4f0f852a Version: 799dca34ac543485f581bd8464ec9b1c4f0f852a Version: 799dca34ac543485f581bd8464ec9b1c4f0f852a Version: 799dca34ac543485f581bd8464ec9b1c4f0f852a Version: 799dca34ac543485f581bd8464ec9b1c4f0f852a Version: 799dca34ac543485f581bd8464ec9b1c4f0f852a |
||||||
|
{ "containers": { "cna": { "affected": [ { "defaultStatus": "unaffected", "product": "Linux", "programFiles": [ "drivers/mtd/ubi/vmt.c" ], "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "vendor": "Linux", "versions": [ { "lessThan": "09780a44093b53f9cbca76246af2e4ff0884e512", "status": "affected", "version": "799dca34ac543485f581bd8464ec9b1c4f0f852a", "versionType": "git" }, { "lessThan": "26ec2d66aecab8ff997b912c20247fedba4f5740", "status": "affected", "version": "799dca34ac543485f581bd8464ec9b1c4f0f852a", "versionType": "git" }, { "lessThan": "07b60f7452d2fa731737552937cb81821919f874", "status": "affected", "version": "799dca34ac543485f581bd8464ec9b1c4f0f852a", "versionType": "git" }, { "lessThan": "31d60afe2cc2b712dbefcaab6b7d6a47036f844e", "status": "affected", "version": "799dca34ac543485f581bd8464ec9b1c4f0f852a", "versionType": "git" }, { "lessThan": "95a72417dd13ebcdcb1bd0c5d4d15f7c5bfbb288", "status": "affected", "version": "799dca34ac543485f581bd8464ec9b1c4f0f852a", "versionType": "git" }, { "lessThan": "27b760b81951d8d5e5c952a696af8574052b0709", "status": "affected", "version": "799dca34ac543485f581bd8464ec9b1c4f0f852a", "versionType": "git" }, { "lessThan": "5c0c81a313492b83bd0c038b8839b0e04eb87563", "status": "affected", "version": "799dca34ac543485f581bd8464ec9b1c4f0f852a", "versionType": "git" }, { "lessThan": "1e591ea072df7211f64542a09482b5f81cb3ad27", "status": "affected", "version": "799dca34ac543485f581bd8464ec9b1c4f0f852a", "versionType": "git" } ] }, { "defaultStatus": "affected", "product": "Linux", "programFiles": [ "drivers/mtd/ubi/vmt.c" ], "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "vendor": "Linux", "versions": [ { "status": "affected", "version": "4.9" }, { "lessThan": "4.9", "status": "unaffected", "version": "0", "versionType": "semver" }, { "lessThanOrEqual": "4.14.*", "status": "unaffected", "version": "4.14.308", "versionType": "semver" }, { "lessThanOrEqual": "4.19.*", "status": "unaffected", "version": "4.19.276", "versionType": "semver" }, { "lessThanOrEqual": "5.4.*", "status": "unaffected", "version": "5.4.235", "versionType": "semver" }, { "lessThanOrEqual": "5.10.*", "status": "unaffected", "version": "5.10.173", "versionType": "semver" }, { "lessThanOrEqual": "5.15.*", "status": "unaffected", "version": "5.15.100", "versionType": "semver" }, { "lessThanOrEqual": "6.1.*", "status": "unaffected", "version": "6.1.18", "versionType": "semver" }, { "lessThanOrEqual": "6.2.*", "status": "unaffected", "version": "6.2.5", "versionType": "semver" }, { "lessThanOrEqual": "*", "status": "unaffected", "version": "6.3", "versionType": "original_commit_for_fix" } ] } ], "cpeApplicability": [ { "nodes": [ { "cpeMatch": [ { "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionEndExcluding": "4.14.308", "versionStartIncluding": "4.9", "vulnerable": true }, { "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionEndExcluding": "4.19.276", "versionStartIncluding": "4.9", "vulnerable": true }, { "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionEndExcluding": "5.4.235", "versionStartIncluding": "4.9", "vulnerable": true }, { "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionEndExcluding": "5.10.173", "versionStartIncluding": "4.9", "vulnerable": true }, { "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionEndExcluding": "5.15.100", "versionStartIncluding": "4.9", "vulnerable": true }, { "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionEndExcluding": "6.1.18", "versionStartIncluding": "4.9", "vulnerable": true }, { "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionEndExcluding": "6.2.5", "versionStartIncluding": "4.9", "vulnerable": true }, { "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionEndExcluding": "6.3", "versionStartIncluding": "4.9", "vulnerable": true } ], "negate": false, "operator": "OR" } ] } ], "descriptions": [ { "lang": "en", "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nubi: Fix unreferenced object reported by kmemleak in ubi_resize_volume()\n\nThere is a memory leaks problem reported by kmemleak:\n\nunreferenced object 0xffff888102007a00 (size 128):\n comm \"ubirsvol\", pid 32090, jiffies 4298464136 (age 2361.231s)\n hex dump (first 32 bytes):\nff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................\nff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................\n backtrace:\n[\u003cffffffff8176cecd\u003e] __kmalloc+0x4d/0x150\n[\u003cffffffffa02a9a36\u003e] ubi_eba_create_table+0x76/0x170 [ubi]\n[\u003cffffffffa029764e\u003e] ubi_resize_volume+0x1be/0xbc0 [ubi]\n[\u003cffffffffa02a3321\u003e] ubi_cdev_ioctl+0x701/0x1850 [ubi]\n[\u003cffffffff81975d2d\u003e] __x64_sys_ioctl+0x11d/0x170\n[\u003cffffffff83c142a5\u003e] do_syscall_64+0x35/0x80\n[\u003cffffffff83e0006a\u003e] entry_SYSCALL_64_after_hwframe+0x46/0xb0\n\nThis is due to a mismatch between create and destroy interfaces, and\nin detail that \"new_eba_tbl\" created by ubi_eba_create_table() but\ndestroyed by kfree(), while will causing \"new_eba_tbl-\u003eentries\" not\nfreed.\n\nFix it by replacing kfree(new_eba_tbl) with\nubi_eba_destroy_table(new_eba_tbl)" } ], "providerMetadata": { "dateUpdated": "2025-09-16T08:07:00.565Z", "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "shortName": "Linux" }, "references": [ { "url": "https://git.kernel.org/stable/c/09780a44093b53f9cbca76246af2e4ff0884e512" }, { "url": "https://git.kernel.org/stable/c/26ec2d66aecab8ff997b912c20247fedba4f5740" }, { "url": "https://git.kernel.org/stable/c/07b60f7452d2fa731737552937cb81821919f874" }, { "url": "https://git.kernel.org/stable/c/31d60afe2cc2b712dbefcaab6b7d6a47036f844e" }, { "url": "https://git.kernel.org/stable/c/95a72417dd13ebcdcb1bd0c5d4d15f7c5bfbb288" }, { "url": "https://git.kernel.org/stable/c/27b760b81951d8d5e5c952a696af8574052b0709" }, { "url": "https://git.kernel.org/stable/c/5c0c81a313492b83bd0c038b8839b0e04eb87563" }, { "url": "https://git.kernel.org/stable/c/1e591ea072df7211f64542a09482b5f81cb3ad27" } ], "title": "ubi: Fix unreferenced object reported by kmemleak in ubi_resize_volume()", "x_generator": { "engine": "bippy-1.2.0" } } }, "cveMetadata": { "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "assignerShortName": "Linux", "cveId": "CVE-2023-53271", "datePublished": "2025-09-16T08:07:00.565Z", "dateReserved": "2025-09-16T08:05:12.516Z", "dateUpdated": "2025-09-16T08:07:00.565Z", "state": "PUBLISHED" }, "dataType": "CVE_RECORD", "dataVersion": "5.1", "vulnerability-lookup:meta": { "nvd": "{\"cve\":{\"id\":\"CVE-2023-53271\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-09-16T08:15:35.900\",\"lastModified\":\"2025-09-16T12:49:16.060\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nubi: Fix unreferenced object reported by kmemleak in ubi_resize_volume()\\n\\nThere is a memory leaks problem reported by kmemleak:\\n\\nunreferenced object 0xffff888102007a00 (size 128):\\n comm \\\"ubirsvol\\\", pid 32090, jiffies 4298464136 (age 2361.231s)\\n hex dump (first 32 bytes):\\nff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................\\nff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................\\n backtrace:\\n[\u003cffffffff8176cecd\u003e] __kmalloc+0x4d/0x150\\n[\u003cffffffffa02a9a36\u003e] ubi_eba_create_table+0x76/0x170 [ubi]\\n[\u003cffffffffa029764e\u003e] ubi_resize_volume+0x1be/0xbc0 [ubi]\\n[\u003cffffffffa02a3321\u003e] ubi_cdev_ioctl+0x701/0x1850 [ubi]\\n[\u003cffffffff81975d2d\u003e] __x64_sys_ioctl+0x11d/0x170\\n[\u003cffffffff83c142a5\u003e] do_syscall_64+0x35/0x80\\n[\u003cffffffff83e0006a\u003e] entry_SYSCALL_64_after_hwframe+0x46/0xb0\\n\\nThis is due to a mismatch between create and destroy interfaces, and\\nin detail that \\\"new_eba_tbl\\\" created by ubi_eba_create_table() but\\ndestroyed by kfree(), while will causing \\\"new_eba_tbl-\u003eentries\\\" not\\nfreed.\\n\\nFix it by replacing kfree(new_eba_tbl) with\\nubi_eba_destroy_table(new_eba_tbl)\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/07b60f7452d2fa731737552937cb81821919f874\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/09780a44093b53f9cbca76246af2e4ff0884e512\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/1e591ea072df7211f64542a09482b5f81cb3ad27\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/26ec2d66aecab8ff997b912c20247fedba4f5740\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/27b760b81951d8d5e5c952a696af8574052b0709\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/31d60afe2cc2b712dbefcaab6b7d6a47036f844e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/5c0c81a313492b83bd0c038b8839b0e04eb87563\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/95a72417dd13ebcdcb1bd0c5d4d15f7c5bfbb288\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}" } }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…