{"cve":"CVE-2024-58017","nvd":{"published":"2025-02-27T03:15:12.690","modified":"2026-10-15T02:17:18.667","status":"Modified","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nprintk: Fix signed integer overflow when defining LOG_BUF_LEN_MAX\n\nShifting 1 << 31 on a 32-bit int causes signed integer overflow, which\nleads to undefined behavior. To prevent this, cast 1 to u32 before\nperforming the shift, ensuring well-defined behavior.\n\nThis change explicitly avoids any potential overflow by ensuring that\nthe shift occurs on an unsigned 32-bit integer.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5},"cwes":["CWE-190"],"references":["https://git.kernel.org/stable/c/3d6f83df8ff2d5de84b50377e4f0d45e25311c7a","https://git.kernel.org/stable/c/404e5fd918a0b14abec06c7eca128f04c9b98e41","https://git.kernel.org/stable/c/4a2c4e7265b8eed83c25d86d702cea06493cab18","https://git.kernel.org/stable/c/4acf6bab775dbd22a9a799030a808a7305e01d63","https://git.kernel.org/stable/c/54c14022fa2ba427dc543455c2cf9225903a7174"],"products":["linux:linux_kernel"],"source":"nvd","synced_at":"2026-10-19T21:59:48.811064707+00:00"},"epss":{"cve":"CVE-2024-58017","score":0.00254,"percentile":0.16832,"date":"2026-10-25"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}