CVE-2024-56764: linux Use After Free
Vulnerability summary
CVE-2024-56764 is a high (CVSS 7.8) Use After Free vulnerability in linux. EPSS estimates a 0.20% chance of exploitation in the next 30 days, higher than 9.3% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 14 · Related 16Timeline
- 06-01-2025PublishedVulnerability first disclosed.
- 05-08-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: ublk: detach gendisk from ublk device if add_disk() fails Inside ublk_abort_requests(), gendisk is grabbed for aborting all inflight requests. And ublk_abort_requests() is called when exiting the uring context or handling timeout. If add_disk() fails, the gendisk may have been freed when calling ublk_abort_requests(), so use-after-free can be caused when getting disk's reference in ublk_abort_requests(). Fixes the bug by detaching gendisk from ublk device if add_disk() fails.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.20%
Chance of exploitation in the next 30 days
Percentile
9%
Versus all other CVEs
30-day change
0.00 pp
From 0.20% on 20-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
Ubuntu105 products
- linux< 6.8.0-60.63
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 6.8.0-1029.31
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ bd23f6c2c2d00518e2f27f2d25cef795de9bee56, < 7d680f2f76a3417fdfc3946da7471e81464f7b41 | ≥ bd23f6c2c2d00518e2f27f2d25cef795de9bee56, < 75cd4005da5492129917a4a4ee45e81660556104 | 6.7
- linux_kernel≥ 6.7, < 6.12.8 | 6.13:rc1 | 6.13:rc2 | 6.13:rc3 | 6.13:rc4
Debian1 product
- linux< 6.12.8-1
3 vendors · 108 products