5.5
MEDIUM
CVE-2024-58017
Linux Kernel Signed Integer Overflow in printk
Description

In the Linux kernel, the following vulnerability has been resolved: printk: Fix signed integer overflow when defining LOG_BUF_LEN_MAX Shifting 1 << 31 on a 32-bit int causes signed integer overflow, which leads to undefined behavior. To prevent this, cast 1 to u32 before performing the shift, ensuring well-defined behavior. This change explicitly avoids any potential overflow by ensuring that the shift occurs on an unsigned 32-bit integer.

INFO

Published Date :

Feb. 27, 2025, 3:15 a.m.

Last Modified :

March 13, 2025, 1:15 p.m.

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67

Remotely Exploitable :

No

Impact Score :

3.6

Exploitability Score :

1.8
Affected Products

The following products are affected by CVE-2024-58017 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-58017 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-58017 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Mar. 13, 2025

    Action Type Old Value New Value
    Added Reference https://git.kernel.org/stable/c/54c14022fa2ba427dc543455c2cf9225903a7174
    Added Reference https://git.kernel.org/stable/c/bb8ff054e19fe27f4e5eaac1b05e462894cfe9b1
    Added Reference https://git.kernel.org/stable/c/dfb7b179741ee09506dc7719d92f9e1cea01f10e
  • Initial Analysis by [email protected]

    Mar. 06, 2025

    Action Type Old Value New Value
    Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
    Added CWE CWE-190
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 from (excluding) 6.13.3 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 from (excluding) 6.6.78 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 from (excluding) 6.12.14 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (excluding) 6.1.129
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/3d6f83df8ff2d5de84b50377e4f0d45e25311c7a Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/404e5fd918a0b14abec06c7eca128f04c9b98e41 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/4a2c4e7265b8eed83c25d86d702cea06493cab18 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/4acf6bab775dbd22a9a799030a808a7305e01d63 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/9a6d43844de2479a3ff8d674c3e2a16172e01598 Types: Patch
  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Feb. 27, 2025

    Action Type Old Value New Value
    Added Description In the Linux kernel, the following vulnerability has been resolved: printk: Fix signed integer overflow when defining LOG_BUF_LEN_MAX Shifting 1 << 31 on a 32-bit int causes signed integer overflow, which leads to undefined behavior. To prevent this, cast 1 to u32 before performing the shift, ensuring well-defined behavior. This change explicitly avoids any potential overflow by ensuring that the shift occurs on an unsigned 32-bit integer.
    Added Reference https://git.kernel.org/stable/c/3d6f83df8ff2d5de84b50377e4f0d45e25311c7a
    Added Reference https://git.kernel.org/stable/c/404e5fd918a0b14abec06c7eca128f04c9b98e41
    Added Reference https://git.kernel.org/stable/c/4a2c4e7265b8eed83c25d86d702cea06493cab18
    Added Reference https://git.kernel.org/stable/c/4acf6bab775dbd22a9a799030a808a7305e01d63
    Added Reference https://git.kernel.org/stable/c/9a6d43844de2479a3ff8d674c3e2a16172e01598
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-58017 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-58017 weaknesses.

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
© cvefeed.io
Latest DB Update: Apr. 22, 2025 18:41