RenukaSelvar / kernel_smp

Other
0 stars 0 forks source link

CVE-2024-27413 (High) detected in linuxlinux-4.19.313 #582

Open mend-bolt-for-github[bot] opened 1 month ago

mend-bolt-for-github[bot] commented 1 month ago

CVE-2024-27413 - High Severity Vulnerability

Vulnerable Library - linuxlinux-4.19.313

The Linux Kernel

Library home page: https://mirrors.edge.kernel.org/pub/linux/kernel/v4.x/?wsslib=linux

Found in base branch: master

Vulnerable Source Files (2)

/drivers/firmware/efi/capsule-loader.c /drivers/firmware/efi/capsule-loader.c

Vulnerability Details

In the Linux kernel, the following vulnerability has been resolved: efi/capsule-loader: fix incorrect allocation size gcc-14 notices that the allocation with sizeof(void) on 32-bit architectures is not enough for a 64-bit phys_addr_t: drivers/firmware/efi/capsule-loader.c: In function 'efi_capsule_open': drivers/firmware/efi/capsule-loader.c:295:24: error: allocation of insufficient size '4' for type 'phys_addr_t' {aka 'long long unsigned int'} with size '8' [-Werror=alloc-size] 295 | cap_info->phys = kzalloc(sizeof(void *), GFP_KERNEL); | ^ Use the correct type instead here.

Publish Date: 2024-05-17

URL: CVE-2024-27413

CVSS 3 Score Details (7.0)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Local - Attack Complexity: High - Privileges Required: Low - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://git.kernel.org/stable/c/00cf21ac526011a29fc708f8912da446fac19f7b

Release Date: 2024-05-17

Fix Resolution: v4.19.309,v5.4.271,v5.10.212,v5.15.151,v6.1.81,v6.6.21,v6.7.9,v6.8


Step up your Open Source Security Game with Mend here