Skip to content
StratQuad

Threats

Linux kernel printk signed integer overflow in LOG_BUF_LEN_MAX

CVE-2024-58017Medium

The Linux kernel's printk logging function contains a signed integer overflow when calculating LOG_BUF_LEN_MAX on 32-bit systems. The vulnerability occurs because a left shift operation on a signed 32-bit integer is performed without proper casting, resulting in undefined behaviour. An attacker with the ability to trigger printk operations during kernel initialisation could potentially exploit this undefined behaviour, though the practical impact depends on how the compiler optimises the affected code.

Plain English summary of the NVD and CISA text, checked by machine against both.

Scores and dates

CVSS 3.1
5.5
MEDIUM
EPSS score
0.00
Probability of exploitation in 30 days
EPSS percentile
17th
Share of scored CVEs at or below this one

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Daily EPSS score, 3 Nov to 15 Nov, source FIRST

Detail

Affected versions

  • linux linux kernel: before 6.1.129
  • linux linux kernel: from 6.2, before 6.6.78
  • linux linux kernel: from 6.7, before 6.12.14
  • linux linux kernel: from 6.13, before 6.13.3

Reports naming this CVE1 in total