All reports
Low

kernel: memory leak in ubi driver

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2024-25740

Probability of exploitation in the next 30 days: 0.21%

FIRST EPSS · 2026-11-21

Description

A memory leak flaw was found in the UBI driver in drivers/mtd/ubi/attach.c in the Linux kernel through 6.7.4 for UBI_IOCATT, because kobj->name is not released.

A flaw was found in the UBI driver in the Linux kernel. When processing an ioctl call for UBI_IOCATT, allocated memory for kobj->name is not released in case of an error, resulting in a memory leak.