CVE-2024-38541

medium
Published 2025-05-13 · Modified 2024-11-06
CVSS v3
CVSS v2
VIR risk
5.5

Description

In the Linux kernel, the following vulnerability has been resolved: of: module: add buffer overflow check in of_modalias() In of_modalias(), if the buffer happens to be too small even for the 1st snprintf() call, the len parameter will become negative and str parameter (if not NULL initially) will point beyond the buffer's end. Add the buffer overflow check after the 1st snprintf() call and fix such check after the strlen() call (accounting for the terminating NUL char).

Predictions

Exploit likelihood
20%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: alma — https://errata.almalinux.org/8/ALSA-2024-8870.html

vendor Authored 2026-05-27

Vendor advisory: alma — https://access.redhat.com/errata/RHSA-2024:8870

vendor Authored 2026-05-27

Vendor advisory: alma — https://errata.almalinux.org/8/ALSA-2024-8856.html

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2317601

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2315178

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2311715

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2309853

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2309852

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2307892

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2307865

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2307862

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2300517

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2300508

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2300488

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2300487

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2300442

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2300412

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2298412

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2298109

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2297568

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2297567

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2297545

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2297508

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2297475

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2293459

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2293458

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2293402

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2293356

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2281817

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2281669

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2281284

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2278387

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2278350

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2278262

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2277168

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2275750

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2269183

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2266247

vendor Authored 2026-05-27

Vendor advisory: alma — https://access.redhat.com/errata/RHSA-2024:8856

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2024-38541

vendor Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2024-38541.html

vendor Authored 2026-05-27

Vendor advisory: rocky — https://errata.rockylinux.org/RLSA-2024:8856

vendor Authored 2026-05-27

Vendor advisory: rocky — https://errata.rockylinux.org/RLSA-2024:8870

vendor Authored 2026-05-27

Vendor advisory: redhat — https://access.redhat.com/errata/RHSA-2025:6966

OS impact

OSVersionStatusFixed in
redhat rhel9fixed
rockylinux rocky8fixed
suse slesaffected
debian debianbookwormfixed6.1.137-1
debian debianbullseyefixed5.10.244-1
debian debianforkyfixed6.8.12-1
debian debiansidfixed6.8.12-1
debian debiantrixiefixed6.8.12-1

References

Verify integrity in audit chain (admin only). AS-IS.