VYPR
Medium severity5.5NVD Advisory· Published Mar 27, 2025· Updated Jun 17, 2026

CVE-2023-52929

CVE-2023-52929

Description

In the Linux kernel, the following vulnerability has been resolved:

nvmem: core: fix cleanup after dev_set_name()

If dev_set_name() fails, we leak nvmem->wp_gpio as the cleanup does not put this. While a minimal fix for this would be to add the gpiod_put() call, we can do better if we split device_register(), and use the tested nvmem_release() cleanup code by initialising the device early, and putting the device.

This results in a slightly larger fix, but results in clear code.

Note: this patch depends on "nvmem: core: initialise nvmem->id early" and "nvmem: core: remove nvmem_config wp_gpio".

[Srini: Fixed subject line and error code handing with wp_gpio while applying.]

Affected products

10
  • Linux/Kernelllm-fuzzy9 versions
    (expand)+ 8 more
    • (no CPE)
    • (no CPE)range: 6.1
    • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*range: >=6.1,<6.1.11
    • cpe:2.3:o:linux:linux_kernel:6.2:rc1:*:*:*:*:*:*
    • cpe:2.3:o:linux:linux_kernel:6.2:rc2:*:*:*:*:*:*
    • cpe:2.3:o:linux:linux_kernel:6.2:rc3:*:*:*:*:*:*
    • cpe:2.3:o:linux:linux_kernel:6.2:rc4:*:*:*:*:*:*
    • cpe:2.3:o:linux:linux_kernel:6.2:rc5:*:*:*:*:*:*
    • cpe:2.3:o:linux:linux_kernel:6.2:rc6:*:*:*:*:*:*
  • osv-coords
    Range: >= 6.1.0, < 6.1.11

Patches

Vulnerability mechanics

References

4

News mentions

0

No linked articles in our index yet.