Live threats

All CVEs / Linux

CVE-2024-50152Linux Kernel

Medium 5.5

Priority
33
CVSS 3.1
5.5
EPSS
0.8%
probability of exploitation in 30 days · percentile 54
Auth required
Yes
Published
Nov 7, 2024
Updated
Aug 4, 2026
Category
Operating system · Linux
Weakness (CWE)
CWE-415
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

What happens

In the Linux kernel, the following vulnerability has been resolved: smb: client: fix possible double free in smb2_set_ea() Clang static checker(scan-build) warning: fs/smb/client/smb2ops.c:1304:2: Attempt to free released memory. 1304 | kfree(ea); | ^~~~~~~~~ There is a double free in such case: 'ea is initialized to NULL' -> 'first successful memory allocation for ea' -> 'something failed, goto sea_exit' -> 'first memory release for ea' -> 'goto replay_again' -> 'second goto sea_exit before allocate memory for ea' -> 'second memory release for ea resulted in double free'. Re-initialie 'ea' to NULL near to the replay_again label, it can fix this double free problem.

Original NVD text.

What to do

  1. Apply the vendor's security update for Linux Kernel.

Affected products (CPE)

VendorProductVersions
linuxlinux_kernel≥ 6.6.32 < 6.6.59
linuxlinux_kernel≥ 6.8 < 6.11.6
linuxlinux_kernel6.12
linuxlinux_kernel6.12
linuxlinux_kernel6.12

Official sources

References

Links published by the sources. Open them with care.