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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.32% (percentile 18, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2024-02-22T16:21:40.841Z
- **Modified:** 2026-06-17T06:42:43.460Z

## Who should check

- Anyone running Linux \>= 2ba3d76a1e29f2ba64fbc762875cf9fb2d4ba2ba, \< aeba358bcc8ffddf9b4a9bd0e5ec9eb338d46022; \>= 2ba3d76a1e29f2ba64fbc762875cf9fb2d4ba2ba, \< 1bf4fe14e97cda621522eb2f28b0a4e87c5b0745; \>= 2ba3d76a1e29f2ba64fbc762875cf9fb2d4ba2ba, \< 001a3f59d8c914ef8273461d4bf495df384cc5f8; \>= 2ba3d76a1e29f2ba64fbc762875cf9fb2d4ba2ba, \< d8ac2537763b54d278b80b2b080e1652523c7d4c; \>= 2ba3d76a1e29f2ba64fbc762875cf9fb2d4ba2ba, \< 5389407bba1eab1266c6d83e226fb0840cb98dd5; \>= 2ba3d76a1e29f2ba64fbc762875cf9fb2d4ba2ba, \< cfd7c9d260dc0a3baaea05a122a19ab91e193c65; \>= 2ba3d76a1e29f2ba64fbc762875cf9fb2d4ba2ba, \< b36aaa64d58aaa2f2cbc8275e89bae76a2b6c3dc; \>= 2ba3d76a1e29f2ba64fbc762875cf9fb2d4ba2ba, \< a43bdc376deab5fff1ceb93dca55bcab8dbdc1d6
- Anyone running Linux 2.6.31

## Description

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.

## Affected and fixed versions

- Linux: \>= 2ba3d76a1e29f2ba64fbc762875cf9fb2d4ba2ba, \< aeba358bcc8ffddf9b4a9bd0e5ec9eb338d46022; \>= 2ba3d76a1e29f2ba64fbc762875cf9fb2d4ba2ba, \< 1bf4fe14e97cda621522eb2f28b0a4e87c5b0745; \>= 2ba3d76a1e29f2ba64fbc762875cf9fb2d4ba2ba, \< 001a3f59d8c914ef8273461d4bf495df384cc5f8; \>= 2ba3d76a1e29f2ba64fbc762875cf9fb2d4ba2ba, \< d8ac2537763b54d278b80b2b080e1652523c7d4c; \>= 2ba3d76a1e29f2ba64fbc762875cf9fb2d4ba2ba, \< 5389407bba1eab1266c6d83e226fb0840cb98dd5; \>= 2ba3d76a1e29f2ba64fbc762875cf9fb2d4ba2ba, \< cfd7c9d260dc0a3baaea05a122a19ab91e193c65; \>= 2ba3d76a1e29f2ba64fbc762875cf9fb2d4ba2ba, \< b36aaa64d58aaa2f2cbc8275e89bae76a2b6c3dc; \>= 2ba3d76a1e29f2ba64fbc762875cf9fb2d4ba2ba, \< a43bdc376deab5fff1ceb93dca55bcab8dbdc1d6 (cvelist)
- Linux: 2.6.31 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-52449. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-52449.md
Affected: Linux >= 2ba3d76a1e29f2ba64fbc762875cf9fb2d4ba2ba, < aeba358bcc8ffddf9b4a9bd0e5ec9eb338d46022; >= 2ba3d76a1e29f2ba64fbc762875cf9fb2d4ba2ba, < 1bf4fe14e97cda621522eb2f28b0a4e87c5b0745; >= 2ba3d76a1e29f2ba64fbc762875cf9fb2d4ba2ba, < 001a3f59d8c914ef8273461d4bf495df384cc5f8; >= 2ba3d76a1e29f2ba64fbc76…
Fixed in: Linux 1bf4fe14e97cda621522eb2f28b0a4e87c5b0745, Linux 001a3f59d8c914ef8273461d4bf495df384cc5f8, Linux 5389407bba1eab1266c6d83e226fb0840cb98dd5

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-52449 being exploited?

There is no confirmed exploitation: CVE-2023-52449 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-52449?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2023-52449?

Linux \>= 2ba3d76a1e29f2ba64fbc762875cf9fb2d4ba2ba, \< aeba358bcc8ffddf9b4a9bd0e5ec9eb338d46022; \>= 2ba3d76a1e29f2ba64fbc762875cf9fb2d4ba2ba, \< 1bf4fe14e97cda621522eb2f28b0a4e87c5b0745; \>= 2ba3d76a1e29f2ba64fbc762875cf9fb2d4ba2ba, \< 001a3f59d8c914ef8273461d4bf495df384cc5f8; \>= 2ba3d76a1e29f2ba64fbc762875cf9fb2d4ba2ba, \< d8ac2537763b54d278b80b2b080e1652523c7d4c; \>= 2ba3d76a1e29f2ba64fbc762875cf9fb2d4ba2ba, \< 5389407bba1eab1266c6d83e226fb0840cb98dd5; \>= 2ba3d76a1e29f2ba64fbc762875cf9fb2d4ba2ba, \< cfd7c9d260dc0a3baaea05a122a19ab91e193c65; \>= 2ba3d76a1e29f2ba64fbc762875cf9fb2d4ba2ba, \< b36aaa64d58aaa2f2cbc8275e89bae76a2b6c3dc; \>= 2ba3d76a1e29f2ba64fbc762875cf9fb2d4ba2ba, \< a43bdc376deab5fff1ceb93dca55bcab8dbdc1d6; Linux 2.6.31.

### Is there a fix for CVE-2023-52449?

Yes. Fixed in Linux 1bf4fe14e97cda621522eb2f28b0a4e87c5b0745, Linux 001a3f59d8c914ef8273461d4bf495df384cc5f8, Linux 5389407bba1eab1266c6d83e226fb0840cb98dd5. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2023-52449?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/aeba358bcc8ffddf9b4a9bd0e5ec9eb338d46022>
- patch: <https://git.kernel.org/stable/c/1bf4fe14e97cda621522eb2f28b0a4e87c5b0745>
- patch: <https://git.kernel.org/stable/c/001a3f59d8c914ef8273461d4bf495df384cc5f8>
- patch: <https://git.kernel.org/stable/c/d8ac2537763b54d278b80b2b080e1652523c7d4c>
- patch: <https://git.kernel.org/stable/c/5389407bba1eab1266c6d83e226fb0840cb98dd5>
- patch: <https://git.kernel.org/stable/c/cfd7c9d260dc0a3baaea05a122a19ab91e193c65>
- patch: <https://git.kernel.org/stable/c/b36aaa64d58aaa2f2cbc8275e89bae76a2b6c3dc>
- patch: <https://git.kernel.org/stable/c/a43bdc376deab5fff1ceb93dca55bcab8dbdc1d6>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00016.html>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-52449>

HTML: <https://flawdb.com/CVE-2023-52449> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-52449>
