# CVE-2023-54183: media: v4l2-core: Fix a potential resource leak in v4l2_fwnode_parse_link()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Published: 2025-12-30T12:08:53.888Z
- Modified: 2026-06-17T06:46:57.423Z
- Assigned by: Linux

## Description

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

media: v4l2-core: Fix a potential resource leak in v4l2_fwnode_parse_link()

If fwnode_graph_get_remote_endpoint() fails, 'fwnode' is known to be NULL,
so fwnode_handle_put() is a no-op.

Release the reference taken from a previous fwnode_graph_get_port_parent()
call instead.

Also handle fwnode_graph_get_port_parent() failures.

In order to fix these issues, add an error handling path to the function
and the needed gotos.

(As written by CVE List.)

## Affected

- Linux Linux: from ca50c197bd9610ea984cfc0dc6855f183cbb46f8 before 2342942331e1f034ff58f293e10d0d9b7581601f; from ca50c197bd9610ea984cfc0dc6855f183cbb46f8 before 4bc5ffaf8ac4f3e7a1fcd10a0a0e7b022b694877; from ca50c197bd9610ea984cfc0dc6855f183cbb46f8 before d8a8f75fce049bdb3144b607deefe51e996b9660; from ca50c197bd9610ea984cfc0dc6855f183cbb46f8 before caf058833b6f3fe7beabf738110f79bb987c8fff; from ca50c197bd9610ea984cfc0dc6855f183cbb46f8 before 25afb3e03bf8ab02567af4b6ffbfd6250a91a9f8; from ca50c197bd9610ea984cfc0dc6855f183cbb46f8 before ed1696f7f92e8404940d51dec80a123aa18163a8; from ca50c197bd9610ea984cfc0dc6855f183cbb46f8 before e8a1cd87bb9fa3149ee112ecb8058908dc9b520e; from ca50c197bd9610ea984cfc0dc6855f183cbb46f8 before d7b13edd4cb4bfa335b6008ab867ac28582d3e5c; 4.13 (not affected: before 4.13; from 4.19.295 up to 4.19.*; from 5.4.257 up to 5.4.*; from 5.10.195 up to 5.10.*; from 5.15.132 up to 5.15.*; from 6.1.53 up to 6.1.*; from 6.4.16 up to 6.4.*; from 6.5.3 up to 6.5.*; from 6.6 up to *)

## References

- <https://git.kernel.org/stable/c/2342942331e1f034ff58f293e10d0d9b7581601f>
- <https://git.kernel.org/stable/c/4bc5ffaf8ac4f3e7a1fcd10a0a0e7b022b694877>
- <https://git.kernel.org/stable/c/d8a8f75fce049bdb3144b607deefe51e996b9660>
- <https://git.kernel.org/stable/c/caf058833b6f3fe7beabf738110f79bb987c8fff>
- <https://git.kernel.org/stable/c/25afb3e03bf8ab02567af4b6ffbfd6250a91a9f8>
- <https://git.kernel.org/stable/c/ed1696f7f92e8404940d51dec80a123aa18163a8>
- <https://git.kernel.org/stable/c/e8a1cd87bb9fa3149ee112ecb8058908dc9b520e>
- <https://git.kernel.org/stable/c/d7b13edd4cb4bfa335b6008ab867ac28582d3e5c>

## Sources

- CVE List: [CVE-2023-54183](https://www.cve.org/CVERecord?id=CVE-2023-54183), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2023-54183](https://nvd.nist.gov/vuln/detail/CVE-2023-54183), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-54183 · Whole record: https://cve.day/CVE-2023-54183.json · Rebuilt by cve.day 2026-11-25T22:58:35.210Z
