9.8

CVE-2024-50152: smb: client: fix possible double free in smb2_set_ea()

Modified
AliasesUBUNTU-CVE-2024-50152DEBIAN-CVE-2024-50152
Published 07-11-2024Last modified 05-08-2026

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 43.1% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 9.8 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)

Source freshness unavailable

How is this decided?
CVSS score
9.8/10
010
Critical · v3.1 (CVE.org)
EPSS score
0.48%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 23 · Related 22

Timeline

  1. 07-11-2024
    PublishedVulnerability first disclosed.
  2. 05-08-2026
    Last 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

EPSS trend

Probability

0.48%

Chance of exploitation in the next 30 days

Percentile

43%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.48% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

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

References

20 links
Show all 20 references