CVE-2024-50152: linux Double Free
Vulnerability summary
CVE-2024-50152 is a critical (CVSS 9.8) Double Free vulnerability in linux. EPSS estimates a 0.48% chance of exploitation in the next 30 days, higher than 40.1% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 23 · Related 22Timeline
- 07-11-2024PublishedVulnerability first disclosed.
- 05-08-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
- NVDNIST5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
EPSS trend
Probability
0.48%
Chance of exploitation in the next 30 days
Percentile
40%
Versus all other CVEs
30-day change
0.00 pp
From 0.48% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Ubuntu103 products
- linux< 6.8.0-58.60
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 6.8.0-1027.29
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 433042a91f9373241307725b52de573933ffedbf, < b1813c220b76f60b1727984794377c4aa849d4c1 | ≥ 4f1fffa2376922f3d1d506e49c0fd445b023a28e, < c9f758ecf2562dfdd4adf12c22921b5de8366123 | ≥ 4f1fffa2376922f3d1d506e49c0fd445b023a28e, < 19ebc1e6cab334a8193398d4152deb76019b5d34 | ≥ 6.6.32, < 6.6.59 | 6.8
- linux_kernel≥ 6.6.32, < 6.6.59 | ≥ 6.8, < 6.11.6 | 6.12:rc1 | 6.12:rc2 | 6.12:rc3
Debian1 product
- linux< 6.11.6-1
3 vendors · 106 products