# CVE-2023-52449: mtd: Fix gluebi NULL pointer dereference caused by ftl notifier

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-02-22 · Modified: 2026-05-11
- Aliases: UBUNTU-CVE-2023-52449, DEBIAN-CVE-2023-52449
- Record: https://cvemate.com/vulnerability/CVE-2023-52449 · JSON: https://cvemate.com/vulnerability/CVE-2023-52449/json

## Description

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

mtd: Fix gluebi NULL pointer dereference caused by ftl notifier

If both ftl.ko and gluebi.ko are loaded, the notifier of ftl
triggers NULL pointer dereference when trying to access
‘gluebi->desc’ in gluebi_read().

ubi_gluebi_init
  ubi_register_volume_notifier
    ubi_enumerate_volumes
      ubi_notify_all
        gluebi_notify    nb->notifier_call()
          gluebi_create
            mtd_device_register
              mtd_device_parse_register
                add_mtd_device
                  blktrans_notify_add   not->add()
                    ftl_add_mtd         tr->add_mtd()
                      scan_header
                        mtd_read
                          mtd_read_oob
                            mtd_read_oob_std
                              gluebi_read   mtd->read()
                                gluebi->desc - NULL

Detailed reproduction information available at the Link [1],

In the normal case, obtain gluebi->desc in the gluebi_get_device(),
and access gluebi->desc in the gluebi_read(). However,
gluebi_get_device() is not executed in advance in the
ftl_add_mtd() process, which leads to NULL pointer dereference.

The solution for the gluebi module is to run jffs2 on the UBI
volume without considering working with ftl or mtdblock [2].
Therefore, this problem can be avoided by preventing gluebi from
creating the mtdblock device after creating mtd partition of the
type MTD_UBIVOLUME.
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.242%, percentile 16.444%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 120)

- debian linux (Debian): \< 6.1.76-1 \| \< 6.6.15-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 4.4.0-257.291 \| \< 4.15.0-227.239 \| \< 5.4.0-176.196 \| \< 5.15.0-102.112
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 4.4.0-1134.140 \| \< 4.4.0-1172.187 \| \< 4.15.0-1170.183 \| \< 5.4.0-1122.132 \| \< 5.15.0-1057.63
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1057.63~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1122.132~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-fips (Ubuntu): \< 4.15.0-2109.115 \| All versions (No fix recorded) \| \< 5.4.0-1122.132+fips1 \| \< 5.15.0-1057.63+fips1
- ubuntu linux-aws-hwe (Ubuntu): \< 4.15.0-1170.183~16.04.1
- ubuntu linux-azure (Ubuntu): \< 4.15.0-1179.194~14.04.1 \| \< 4.15.0-1179.194~16.04.1 \| All versions (No fix recorded) \| \< 5.4.0-1127.134 \| \< 5.15.0-1060.69
- ubuntu linux-azure-4.15 (Ubuntu): \< 4.15.0-1179.194
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 31)

- <https://git.kernel.org/stable/c/aeba358bcc8ffddf9b4a9bd0e5ec9eb338d46022>
- <https://git.kernel.org/stable/c/1bf4fe14e97cda621522eb2f28b0a4e87c5b0745>
- <https://git.kernel.org/stable/c/001a3f59d8c914ef8273461d4bf495df384cc5f8>
- <https://git.kernel.org/stable/c/d8ac2537763b54d278b80b2b080e1652523c7d4c>
- <https://git.kernel.org/stable/c/5389407bba1eab1266c6d83e226fb0840cb98dd5>
- <https://git.kernel.org/stable/c/cfd7c9d260dc0a3baaea05a122a19ab91e193c65>
- <https://git.kernel.org/stable/c/b36aaa64d58aaa2f2cbc8275e89bae76a2b6c3dc>
- <https://git.kernel.org/stable/c/a43bdc376deab5fff1ceb93dca55bcab8dbdc1d6>
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00016.html>
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html>
- <https://ubuntu.com/security/CVE-2023-52449>
- <https://ubuntu.com/security/notices/USN-6688-1>
- <https://ubuntu.com/security/notices/USN-6725-1>
- <https://ubuntu.com/security/notices/USN-6726-1>
- <https://www.cve.org/CVERecord?id=CVE-2023-52449>
- <https://ubuntu.com/security/notices/USN-6725-2>
- <https://ubuntu.com/security/notices/USN-6726-2>
- <https://ubuntu.com/security/notices/USN-6726-3>
- <https://ubuntu.com/security/notices/USN-6818-1>
- <https://ubuntu.com/security/notices/USN-6819-1>

---

Data as of 2026-12-05T04:58:26.509Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
