Vulnerabilities

CVE-2024-38541

High 7.8 CVSS 3.1

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

Description as published by the source, in English.

Key facts

Published
2024-06-19
Last modified
2026-08-04
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scored by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Probability of exploitation
1.5 % higher than 71 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Yes, see references

Affected products

Vendor Product Versions Status
Linux Linux Kernel ≥ 4.14, < 5.4.294 Affected
Linux Linux Kernel ≥ 5.11, < 5.15.182 Affected
Linux Linux Kernel ≥ 5.16, < 6.1.136 Affected
Linux Linux Kernel ≥ 5.5, < 5.10.238 Affected
Linux Linux Kernel ≥ 6.2, < 6.6.33 Affected
Linux Linux Kernel ≥ 6.7, < 6.8.12 Affected
Linux Linux Kernel ≥ 6.9, < 6.9.3 Affected

Weakness type

References

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities