# CVE-2023-53700: media: max9286: Fix memleak in max9286\_v4l2\_register()

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.28% (percentile 13, 2026-11-28)
- **Published:** 2025-10-22T13:23:39.560Z
- **Modified:** 2026-10-28T19:10:00.193Z

## Who should check

- Anyone running Linux \>= 66d8c9d2422da21ed41f75c03ba0685987b65fe0, \< 505ff3a0c5951684c3a43094ca4c1a74683d5681; \>= 66d8c9d2422da21ed41f75c03ba0685987b65fe0, \< 5897fe3ebe8252993579e1bee715ebfe5504e052; \>= 66d8c9d2422da21ed41f75c03ba0685987b65fe0, \< 724039e013b34f46344abdbf8c74e6a65a828327; \>= 66d8c9d2422da21ed41f75c03ba0685987b65fe0, \< 5e31213fa017c20ccc989033a5f4a626473aa2ca; \>= 66d8c9d2422da21ed41f75c03ba0685987b65fe0, \< 8636c5fc7658c7c6299fb8b352d24ea4b9ba99e2
- Anyone running Linux 5.9

## Description

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

media: max9286: Fix memleak in max9286\_v4l2\_register()

There is a kmemleak when testing the media/i2c/max9286.c with bpf mock
device:

kmemleak: 5 new suspected memory leaks (see /sys/kernel/debug/kmemleak)

unreferenced object 0xffff88810defc400 (size 256):
  comm "python3", pid 278, jiffies 4294737563 (age 31.978s)
  hex dump (first 32 bytes):
    28 06 a7 0a 81 88 ff ff 00 fe 22 12 81 88 ff ff  (.........".....
    10 c4 ef 0d 81 88 ff ff 10 c4 ef 0d 81 88 ff ff  ................
  backtrace:
    \[\<00000000191de6a7\>\] \_\_kmalloc\_node+0x44/0x1b0
    \[\<000000002f4912b7\>\] kvmalloc\_node+0x34/0x180
    \[\<0000000057dc4cae\>\] v4l2\_ctrl\_new+0x325/0x10f0 \[videodev\]
    \[\<0000000026030272\>\] v4l2\_ctrl\_new\_std+0x16f/0x210 \[videodev\]
    \[\<00000000f0d9ea2f\>\] max9286\_probe+0x76e/0xbff \[max9286\]
    \[\<00000000ea8f6455\>\] i2c\_device\_probe+0x28d/0x680
    \[\<0000000087529af3\>\] really\_probe+0x17c/0x3f0
    \[\<00000000b08be526\>\] \_\_driver\_probe\_device+0xe3/0x170
    \[\<000000004382edea\>\] driver\_probe\_device+0x49/0x120
    \[\<000000007bde528a\>\] \_\_device\_attach\_driver+0xf7/0x150
    \[\<000000009f9c6ab4\>\] bus\_for\_each\_drv+0x114/0x180
    \[\<00000000c8aaf588\>\] \_\_device\_attach+0x1e5/0x2d0
    \[\<0000000041cc06b9\>\] bus\_probe\_device+0x126/0x140
    \[\<000000002309860d\>\] device\_add+0x810/0x1130
    \[\<000000002827bf98\>\] i2c\_new\_client\_device+0x359/0x4f0
    \[\<00000000593bdc85\>\] of\_i2c\_register\_device+0xf1/0x110

max9286\_v4l2\_register() calls v4l2\_ctrl\_new\_std(), but won't free the
created v412\_ctrl when fwnode\_graph\_get\_endpoint\_by\_id() failed, which
causes the memleak. Call v4l2\_ctrl\_handler\_free() to free the v412\_ctrl.

## Affected and fixed versions

- Linux: \>= 66d8c9d2422da21ed41f75c03ba0685987b65fe0, \< 505ff3a0c5951684c3a43094ca4c1a74683d5681; \>= 66d8c9d2422da21ed41f75c03ba0685987b65fe0, \< 5897fe3ebe8252993579e1bee715ebfe5504e052; \>= 66d8c9d2422da21ed41f75c03ba0685987b65fe0, \< 724039e013b34f46344abdbf8c74e6a65a828327; \>= 66d8c9d2422da21ed41f75c03ba0685987b65fe0, \< 5e31213fa017c20ccc989033a5f4a626473aa2ca; \>= 66d8c9d2422da21ed41f75c03ba0685987b65fe0, \< 8636c5fc7658c7c6299fb8b352d24ea4b9ba99e2 (cvelist)
- Linux: 5.9 (cvelist)

## Mitigation

- Upgrade Linux to 8636c5fc7658c7c6299fb8b352d24ea4b9ba99e2 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2023-53700.md
Affected: Linux >= 66d8c9d2422da21ed41f75c03ba0685987b65fe0, < 505ff3a0c5951684c3a43094ca4c1a74683d5681; >= 66d8c9d2422da21ed41f75c03ba0685987b65fe0, < 5897fe3ebe8252993579e1bee715ebfe5504e052; >= 66d8c9d2422da21ed41f75c03ba0685987b65fe0, < 724039e013b34f46344abdbf8c74e6a65a828327; >= 66d8c9d2422da21ed41f75c…
Fixed in: Linux 505ff3a0c5951684c3a43094ca4c1a74683d5681, Linux 5897fe3ebe8252993579e1bee715ebfe5504e052, Linux 724039e013b34f46344abdbf8c74e6a65a828327, Linux 5e31213fa017c20ccc989033a5f4a626473aa2ca, Linux 8636c5fc7658c7c6299fb8b352d24ea4b9ba99e2

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-53700 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 66d8c9d2422da21ed41f75c03ba0685987b65fe0, \< 505ff3a0c5951684c3a43094ca4c1a74683d5681; \>= 66d8c9d2422da21ed41f75c03ba0685987b65fe0, \< 5897fe3ebe8252993579e1bee715ebfe5504e052; \>= 66d8c9d2422da21ed41f75c03ba0685987b65fe0, \< 724039e013b34f46344abdbf8c74e6a65a828327; \>= 66d8c9d2422da21ed41f75c03ba0685987b65fe0, \< 5e31213fa017c20ccc989033a5f4a626473aa2ca; \>= 66d8c9d2422da21ed41f75c03ba0685987b65fe0, \< 8636c5fc7658c7c6299fb8b352d24ea4b9ba99e2; Linux 5.9.

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

Yes. Fixed in Linux 505ff3a0c5951684c3a43094ca4c1a74683d5681, Linux 5897fe3ebe8252993579e1bee715ebfe5504e052, Linux 724039e013b34f46344abdbf8c74e6a65a828327, Linux 5e31213fa017c20ccc989033a5f4a626473aa2ca, Linux 8636c5fc7658c7c6299fb8b352d24ea4b9ba99e2. Upgrade Linux to 8636c5fc7658c7c6299fb8b352d24ea4b9ba99e2 or later.

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

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

- other: <https://git.kernel.org/stable/c/505ff3a0c5951684c3a43094ca4c1a74683d5681>
- other: <https://git.kernel.org/stable/c/5897fe3ebe8252993579e1bee715ebfe5504e052>
- other: <https://git.kernel.org/stable/c/724039e013b34f46344abdbf8c74e6a65a828327>
- other: <https://git.kernel.org/stable/c/5e31213fa017c20ccc989033a5f4a626473aa2ca>
- other: <https://git.kernel.org/stable/c/8636c5fc7658c7c6299fb8b352d24ea4b9ba99e2>

## 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-53700>

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