# CVE-2023-54049: rpmsg: glink: Add check for kstrdup

> 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.32% (percentile 18, 2026-11-26)
- **Published:** 2025-12-24T12:22:59.585Z
- **Modified:** 2026-06-17T06:46:42.750Z

## Who should check

- Anyone running Linux \>= b4f8e52b89f69f5563ac4cb9ffdacc4418917af1, \< 5197498c902502127a47abda5359dd7f1d41946f; \>= b4f8e52b89f69f5563ac4cb9ffdacc4418917af1, \< 13928a837e0f014dac0322dd9f8a67c486e7f232; \>= b4f8e52b89f69f5563ac4cb9ffdacc4418917af1, \< efa7f31669f04084ed5996ed467ba529f4c90467; \>= b4f8e52b89f69f5563ac4cb9ffdacc4418917af1, \< 71ac2ffd7f80fdd350486f6645dc48456e55a59b; \>= b4f8e52b89f69f5563ac4cb9ffdacc4418917af1, \< abd740db896b3c588dced175af98b95852c1854b; \>= b4f8e52b89f69f5563ac4cb9ffdacc4418917af1, \< cae0787e408c30a575760a531ccb69a6b48bbfaf; \>= b4f8e52b89f69f5563ac4cb9ffdacc4418917af1, \< 174cf8853857c190a3c4f1f1d2d06cfd095fe859; \>= b4f8e52b89f69f5563ac4cb9ffdacc4418917af1, \< e3734a9558afac91df3c655a6f2376b9d14933b7; \>= b4f8e52b89f69f5563ac4cb9ffdacc4418917af1, \< b5c9ee8296a3760760c7b5d2e305f91412adc795
- Anyone running Linux 4.13

## Description

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

rpmsg: glink: Add check for kstrdup

Add check for the return value of kstrdup() and return the error
if it fails in order to avoid NULL pointer dereference.

## Affected and fixed versions

- Linux: \>= b4f8e52b89f69f5563ac4cb9ffdacc4418917af1, \< 5197498c902502127a47abda5359dd7f1d41946f; \>= b4f8e52b89f69f5563ac4cb9ffdacc4418917af1, \< 13928a837e0f014dac0322dd9f8a67c486e7f232; \>= b4f8e52b89f69f5563ac4cb9ffdacc4418917af1, \< efa7f31669f04084ed5996ed467ba529f4c90467; \>= b4f8e52b89f69f5563ac4cb9ffdacc4418917af1, \< 71ac2ffd7f80fdd350486f6645dc48456e55a59b; \>= b4f8e52b89f69f5563ac4cb9ffdacc4418917af1, \< abd740db896b3c588dced175af98b95852c1854b; \>= b4f8e52b89f69f5563ac4cb9ffdacc4418917af1, \< cae0787e408c30a575760a531ccb69a6b48bbfaf; \>= b4f8e52b89f69f5563ac4cb9ffdacc4418917af1, \< 174cf8853857c190a3c4f1f1d2d06cfd095fe859; \>= b4f8e52b89f69f5563ac4cb9ffdacc4418917af1, \< e3734a9558afac91df3c655a6f2376b9d14933b7; \>= b4f8e52b89f69f5563ac4cb9ffdacc4418917af1, \< b5c9ee8296a3760760c7b5d2e305f91412adc795 (cvelist)
- Linux: 4.13 (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-54049. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-54049.md
Affected: Linux >= b4f8e52b89f69f5563ac4cb9ffdacc4418917af1, < 5197498c902502127a47abda5359dd7f1d41946f; >= b4f8e52b89f69f5563ac4cb9ffdacc4418917af1, < 13928a837e0f014dac0322dd9f8a67c486e7f232; >= b4f8e52b89f69f5563ac4cb9ffdacc4418917af1, < efa7f31669f04084ed5996ed467ba529f4c90467; >= b4f8e52b89f69f5563ac4cb…
Fixed in: Linux 5197498c902502127a47abda5359dd7f1d41946f, Linux 13928a837e0f014dac0322dd9f8a67c486e7f232, Linux 71ac2ffd7f80fdd350486f6645dc48456e55a59b, Linux 174cf8853857c190a3c4f1f1d2d06cfd095fe859

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

There is no confirmed exploitation: CVE-2023-54049 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-54049?

It has no CVSS score yet. Unknown.

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

Linux \>= b4f8e52b89f69f5563ac4cb9ffdacc4418917af1, \< 5197498c902502127a47abda5359dd7f1d41946f; \>= b4f8e52b89f69f5563ac4cb9ffdacc4418917af1, \< 13928a837e0f014dac0322dd9f8a67c486e7f232; \>= b4f8e52b89f69f5563ac4cb9ffdacc4418917af1, \< efa7f31669f04084ed5996ed467ba529f4c90467; \>= b4f8e52b89f69f5563ac4cb9ffdacc4418917af1, \< 71ac2ffd7f80fdd350486f6645dc48456e55a59b; \>= b4f8e52b89f69f5563ac4cb9ffdacc4418917af1, \< abd740db896b3c588dced175af98b95852c1854b; \>= b4f8e52b89f69f5563ac4cb9ffdacc4418917af1, \< cae0787e408c30a575760a531ccb69a6b48bbfaf; \>= b4f8e52b89f69f5563ac4cb9ffdacc4418917af1, \< 174cf8853857c190a3c4f1f1d2d06cfd095fe859; \>= b4f8e52b89f69f5563ac4cb9ffdacc4418917af1, \< e3734a9558afac91df3c655a6f2376b9d14933b7; \>= b4f8e52b89f69f5563ac4cb9ffdacc4418917af1, \< b5c9ee8296a3760760c7b5d2e305f91412adc795; Linux 4.13.

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

Yes. Fixed in Linux 5197498c902502127a47abda5359dd7f1d41946f, Linux 13928a837e0f014dac0322dd9f8a67c486e7f232, Linux 71ac2ffd7f80fdd350486f6645dc48456e55a59b, Linux 174cf8853857c190a3c4f1f1d2d06cfd095fe859. No fix listed yet: follow the vendor advisory.

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

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/5197498c902502127a47abda5359dd7f1d41946f>
- other: <https://git.kernel.org/stable/c/13928a837e0f014dac0322dd9f8a67c486e7f232>
- other: <https://git.kernel.org/stable/c/efa7f31669f04084ed5996ed467ba529f4c90467>
- other: <https://git.kernel.org/stable/c/71ac2ffd7f80fdd350486f6645dc48456e55a59b>
- other: <https://git.kernel.org/stable/c/abd740db896b3c588dced175af98b95852c1854b>
- other: <https://git.kernel.org/stable/c/cae0787e408c30a575760a531ccb69a6b48bbfaf>
- other: <https://git.kernel.org/stable/c/174cf8853857c190a3c4f1f1d2d06cfd095fe859>
- other: <https://git.kernel.org/stable/c/e3734a9558afac91df3c655a6f2376b9d14933b7>
- other: <https://git.kernel.org/stable/c/b5c9ee8296a3760760c7b5d2e305f91412adc795>

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

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