{"id":"CVE-2023-53271","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2025-09-16T08:15:35.900","lastModified":"2026-06-17T06:44:41.960","vulnStatus":"Modified","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[<ffffffff8176cecd>] __kmalloc+0x4d/0x150\n[<ffffffffa02a9a36>] ubi_eba_create_table+0x76/0x170 [ubi]\n[<ffffffffa029764e>] ubi_resize_volume+0x1be/0xbc0 [ubi]\n[<ffffffffa02a3321>] ubi_cdev_ioctl+0x701/0x1850 [ubi]\n[<ffffffff81975d2d>] __x64_sys_ioctl+0x11d/0x170\n[<ffffffff83c142a5>] do_syscall_64+0x35/0x80\n[<ffffffff83e0006a>] 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->entries\" not\nfreed.\n\nFix it by replacing kfree(new_eba_tbl) with\nubi_eba_destroy_table(new_eba_tbl)"}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["drivers/mtd/ubi/vmt.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"799dca34ac543485f581bd8464ec9b1c4f0f852a","lessThan":"09780a44093b53f9cbca76246af2e4ff0884e512","versionType":"git","status":"affected"},{"version":"799dca34ac543485f581bd8464ec9b1c4f0f852a","lessThan":"26ec2d66aecab8ff997b912c20247fedba4f5740","versionType":"git","status":"affected"},{"version":"799dca34ac543485f581bd8464ec9b1c4f0f852a","lessThan":"07b60f7452d2fa731737552937cb81821919f874","versionType":"git","status":"affected"},{"version":"799dca34ac543485f581bd8464ec9b1c4f0f852a","lessThan":"31d60afe2cc2b712dbefcaab6b7d6a47036f844e","versionType":"git","status":"affected"},{"version":"799dca34ac543485f581bd8464ec9b1c4f0f852a","lessThan":"95a72417dd13ebcdcb1bd0c5d4d15f7c5bfbb288","versionType":"git","status":"affected"},{"version":"799dca34ac543485f581bd8464ec9b1c4f0f852a","lessThan":"27b760b81951d8d5e5c952a696af8574052b0709","versionType":"git","status":"affected"},{"version":"799dca34ac543485f581bd8464ec9b1c4f0f852a","lessThan":"5c0c81a313492b83bd0c038b8839b0e04eb87563","versionType":"git","status":"affected"},{"version":"799dca34ac543485f581bd8464ec9b1c4f0f852a","lessThan":"1e591ea072df7211f64542a09482b5f81cb3ad27","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["drivers/mtd/ubi/vmt.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"4.9","status":"affected"},{"version":"0","lessThan":"4.9","versionType":"semver","status":"unaffected"},{"version":"4.14.308","lessThanOrEqual":"4.14.*","versionType":"semver","status":"unaffected"},{"version":"4.19.276","lessThanOrEqual":"4.19.*","versionType":"semver","status":"unaffected"},{"version":"5.4.235","lessThanOrEqual":"5.4.*","versionType":"semver","status":"unaffected"},{"version":"5.10.173","lessThanOrEqual":"5.10.*","versionType":"semver","status":"unaffected"},{"version":"5.15.100","lessThanOrEqual":"5.15.*","versionType":"semver","status":"unaffected"},{"version":"6.1.18","lessThanOrEqual":"6.1.*","versionType":"semver","status":"unaffected"},{"version":"6.2.5","lessThanOrEqual":"6.2.*","versionType":"semver","status":"unaffected"},{"version":"6.3","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","baseScore":5.5,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":3.6},{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","baseScore":5.5,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":3.6}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-01-14T18:05:38.759947Z","id":"CVE-2023-53271","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-401"}]},{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","description":[{"lang":"en","value":"CWE-401"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.9","versionEndExcluding":"4.14.308","matchCriteriaId":"7292C460-000B-4120-B05D-5672751A14E4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.15","versionEndExcluding":"4.19.276","matchCriteriaId":"C902FC54-DDBD-4DA6-BFEF-26889A267464"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.20","versionEndExcluding":"5.4.235","matchCriteriaId":"13DD5E68-8CB4-46EE-9A8F-C7F6C1A84430"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5","versionEndExcluding":"5.10.173","matchCriteriaId":"4D810CFB-B7C5-493C-B98A-0D5F0D8A47B6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11","versionEndExcluding":"5.15.100","matchCriteriaId":"6D7E5BB5-018B-46B7-A2C4-1ADB75099822"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"6.1.18","matchCriteriaId":"C8D24FD5-5A98-4042-9419-39DCFCBEFFF5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"6.2.5","matchCriteriaId":"0575B33B-A320-4E51-84CA-10C937341E02"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/07b60f7452d2fa731737552937cb81821919f874","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/09780a44093b53f9cbca76246af2e4ff0884e512","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/1e591ea072df7211f64542a09482b5f81cb3ad27","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/26ec2d66aecab8ff997b912c20247fedba4f5740","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/27b760b81951d8d5e5c952a696af8574052b0709","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/31d60afe2cc2b712dbefcaab6b7d6a47036f844e","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/5c0c81a313492b83bd0c038b8839b0e04eb87563","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/95a72417dd13ebcdcb1bd0c5d4d15f7c5bfbb288","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]}]}