CVE Catalog

CVE-2024-38541

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Elevated risk
1.47%

71th percentile - higher than 71% of all known CVEs

Summary

In the Linux kernel, a vulnerability in of_modalias() was fixed. If the buffer is too small even for the first snprintf() call, the len parameter becomes negative and the str parameter (if not NULL initially) points beyond the buffer's end. A buffer overflow check was added after the first snprintf() call and the check after strlen() was fixed (accounting for the terminating NUL char).

Risk Assessment

The vulnerability could lead to buffer overflow, potentially causing system crashes or privilege escalation.

Recommendation

It is recommended to update the Linux kernel to a patched version.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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).

Vulnerability data from NVD (NIST) · CISA KEV · EPSS