Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-39276

published medium CVSS 3.1 · 5.5

ext4: fix mb_cache_entry's e_refcnt leak in ext4_xattr_block_cache_find()

Published
25 Jun 2024, 14:22:38 UTC
Updated
23 May 2026, 15:49:57 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxb878c8a7f08f0c225b6a46ba1ac867e9c5d17807 to < 9ad75e78747b5a50dc5a52f0f8e92e920a653f16 · fb265c9cb49e2074ddcdd4de99728aefdd3b3592 to < 896a7e7d0d555ad8b2b46af0c2fa7de7467f9483 · fb265c9cb49e2074ddcdd4de99728aefdd3b3592 to < 76dc776153a47372719d664e0fc50d6355791abb · fb265c9cb49e2074ddcdd4de99728aefdd3b3592 to < 681ff9a09accd8a4379f8bd30b7a1641ee19bb3e · fb265c9cb49e2074ddcdd4de99728aefdd3b3592 to < e941b712e758f615d311946bf98216e79145ccd9 · fb265c9cb49e2074ddcdd4de99728aefdd3b3592 to < a95df6f04f2c37291adf26a74205cde0314d4577 · fb265c9cb49e2074ddcdd4de99728aefdd3b3592 to < b37c0edef4e66fb21a2fbc211471195a383e5ab8 · fb265c9cb49e2074ddcdd4de99728aefdd3b3592 to < 0c0b4a49d3e7f49690a6827a41faeffad5df7e21 · 9da1f6d06b7a6d068e68fcfd7cbbf6b586d888e1 · 81313ed2c705d958744882a269bf4a5e3ddec95e · 4.19.14 to < 4.19.316 · 4.14.92 to < 4.15 · 4.20.1 to < 4.21 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.0 (affected) · 0 to < 5.0 (unaffected · semver) · 4.19.316 through 4.19.* (unaffected · semver) · 5.4.278 through 5.4.* (unaffected · semver) · 5.10.219 through 5.10.* (unaffected · semver) · 5.15.161 through 5.15.* (unaffected · semver) · 6.1.94 through 6.1.* (unaffected · semver) · 6.6.34 through 6.6.* (unaffected · semver) · 6.9.5 through 6.9.* (unaffected · semver) · 6.10 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluationALAS2-2024-2613 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2024-065 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.15-2024-047 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.4-2024-077 Fixed Not stated Amazon Linux assessment
AlmaLinux 8 bpftool Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
Debian bullseye linux Advisory build 5.10.221-1 DSA-5730-1
Show 100 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2024-683 Fixed Not stated Amazon Linux assessment
Oracle Linux 7 kernel-uekaarch64 Advisory build 0:4.14.35-2047.540.4.1.el7uek ELSA-2024-12611
AlmaLinux 8 kernel Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-abi-stablelists Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-core Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-cross-headers Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-debug Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-debug-core Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-debug-devel Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-debug-modules Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-debug-modules-extra Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-devel Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-doc Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-headers Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-modules Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-modules-extra Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-rt Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-core Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-debug Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-debug-core Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-debug-devel Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-debug-kvm Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-debug-modules Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-debug-modules-extra Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-devel Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-kvm Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-modules Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-modules-extra Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-tools Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-tools-libs Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-tools-libs-devel Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-zfcpdump Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-zfcpdump-core Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-zfcpdump-devel Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-zfcpdump-modules Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-zfcpdump-modules-extra Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 perf Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 python3-perf Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
Oracle Linux 7 kernel-uekaarch64 Advisory build 0:5.4.17-2136.334.6.el7uek ELSA-2024-12581
Oracle Linux 7 kernel-uekx86_64 Advisory build 0:4.14.35-2047.540.4.1.el7uek ELSA-2024-12611
Oracle Linux 7 kernel-uekx86_64 Advisory build 0:5.4.17-2136.334.6.el7uek ELSA-2024-12581
Oracle Linux 7 kernel-uek-containerx86_64 Advisory build 0:5.4.17-2136.334.6.el7 ELSA-2024-12585
Oracle Linux 7 kernel-uek-container-debugx86_64 Advisory build 0:5.4.17-2136.334.6.el7 ELSA-2024-12585
Oracle Linux 7 kernel-uek-debugaarch64 Advisory build 0:4.14.35-2047.540.4.1.el7uek ELSA-2024-12611
Oracle Linux 7 kernel-uek-debugaarch64 Advisory build 0:5.4.17-2136.334.6.el7uek ELSA-2024-12581
Oracle Linux 7 kernel-uek-debugx86_64 Advisory build 0:4.14.35-2047.540.4.1.el7uek ELSA-2024-12611
Oracle Linux 7 kernel-uek-debugx86_64 Advisory build 0:5.4.17-2136.334.6.el7uek ELSA-2024-12581
Oracle Linux 7 kernel-uek-debug-develaarch64 Advisory build 0:4.14.35-2047.540.4.1.el7uek ELSA-2024-12611
Oracle Linux 7 kernel-uek-debug-develaarch64 Advisory build 0:5.4.17-2136.334.6.el7uek ELSA-2024-12581
Oracle Linux 7 kernel-uek-debug-develx86_64 Advisory build 0:4.14.35-2047.540.4.1.el7uek ELSA-2024-12611
Oracle Linux 7 kernel-uek-debug-develx86_64 Advisory build 0:5.4.17-2136.334.6.el7uek ELSA-2024-12581
Oracle Linux 7 kernel-uek-develaarch64 Advisory build 0:4.14.35-2047.540.4.1.el7uek ELSA-2024-12611
Oracle Linux 7 kernel-uek-develaarch64 Advisory build 0:5.4.17-2136.334.6.el7uek ELSA-2024-12581
Oracle Linux 7 kernel-uek-develx86_64 Advisory build 0:4.14.35-2047.540.4.1.el7uek ELSA-2024-12611
Oracle Linux 7 kernel-uek-develx86_64 Advisory build 0:5.4.17-2136.334.6.el7uek ELSA-2024-12581
Oracle Linux 7 kernel-uek-docaarch64 Advisory build 0:5.4.17-2136.334.6.el7uek ELSA-2024-12581
Oracle Linux 7 kernel-uek-docx86_64 Advisory build 0:4.14.35-2047.540.4.1.el7uek ELSA-2024-12611
Oracle Linux 7 kernel-uek-docx86_64 Advisory build 0:5.4.17-2136.334.6.el7uek ELSA-2024-12581
Oracle Linux 7 kernel-uek-headersaarch64 Advisory build 0:4.14.35-2047.540.4.1.el7uek ELSA-2024-12611
Oracle Linux 7 kernel-uek-toolsaarch64 Advisory build 0:4.14.35-2047.540.4.1.el7uek ELSA-2024-12611
Oracle Linux 7 kernel-uek-toolsaarch64 Advisory build 0:5.4.17-2136.334.6.el7uek ELSA-2024-12581
Oracle Linux 7 kernel-uek-toolsx86_64 Advisory build 0:4.14.35-2047.540.4.1.el7uek ELSA-2024-12611
Oracle Linux 7 kernel-uek-toolsx86_64 Advisory build 0:5.4.17-2136.334.6.el7uek ELSA-2024-12581
Oracle Linux 7 kernel-uek-tools-libsaarch64 Advisory build 0:4.14.35-2047.540.4.1.el7uek ELSA-2024-12611
Oracle Linux 7 kernel-uek-tools-libsaarch64 Advisory build 0:5.4.17-2136.334.6.el7uek ELSA-2024-12581
Oracle Linux 7 kernel-uek-tools-libs-develaarch64 Advisory build 0:4.14.35-2047.540.4.1.el7uek ELSA-2024-12611
Oracle Linux 7 perfaarch64 Advisory build 0:4.14.35-2047.540.4.1.el7uek ELSA-2024-12611
Oracle Linux 7 perfaarch64 Advisory build 0:5.4.17-2136.334.6.el7uek ELSA-2024-12581
Oracle Linux 7 python-perfaarch64 Advisory build 0:4.14.35-2047.540.4.1.el7uek ELSA-2024-12611
Oracle Linux 7 python-perfaarch64 Advisory build 0:5.4.17-2136.334.6.el7uek ELSA-2024-12581
Oracle Linux 8 bpftoolaarch64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 bpftoolx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernelx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-abi-stablelistsx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-corex86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-cross-headersaarch64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-cross-headersx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-debugx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-debug-corex86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-debug-develx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-debug-modulesx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-debug-modules-extrax86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-develx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-docx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-headersaarch64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-headersx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-modulesx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-modules-extrax86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-toolsaarch64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-toolsx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-tools-libsaarch64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-tools-libsx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-tools-libs-develaarch64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-tools-libs-develx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-uekaarch64 Advisory build 0:5.4.17-2136.334.6.el8uek ELSA-2024-12581
Oracle Linux 8 kernel-uekx86_64 Advisory build 0:5.4.17-2136.334.6.el8uek ELSA-2024-12581
Oracle Linux 8 kernel-uek-containerx86_64 Advisory build 0:5.4.17-2136.334.6.el8 ELSA-2024-12584
Oracle Linux 8 kernel-uek-container-debugx86_64 Advisory build 0:5.4.17-2136.334.6.el8 ELSA-2024-12584
Oracle Linux 8 kernel-uek-debugaarch64 Advisory build 0:5.4.17-2136.334.6.el8uek ELSA-2024-12581

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: ext4: fix mb_cache_entry's e_refcnt leak in ext4_xattr_block_cache_find() Syzbot reports a warning as follows: ============================================ WARNING: CPU: 0 PID: 5075 at fs/mbcache.c:419 mb_cache_destroy+0x224/0x290 Modules linked in: CPU: 0 PID: 5075 Comm: syz-executor199 Not tainted 6.9.0-rc6-gb947cc5bf6d7 RIP: 0010:mb_cache_destroy+0x224/0x290 fs/mbcache.c:419 Call Trace: <TASK> ext4_put_super+0x6d4/0xcd0 fs/ext4/super.c:1375 generic_shutdown_super+0x136/0x2d0 fs/super.c:641 kill_block_super+0x44/0x90 fs/super.c:1675 ext4_kill_sb+0x68/0xa0 fs/ext4/super.c:7327 [...] ============================================ This is because when finding an entry in ext4_xattr_block_cache_find(), if ext4_sb_bread() returns -ENOMEM, the ce's e_refcnt, which has already grown in the __entry_find(), won't be put away, and eventually trigger the above issue in mb_cache_destroy() due to reference count leakage. So call mb_cache_entry_put() on the -ENOMEM error branch as a quick fix.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

61

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
5.5 / 10
Severity
medium
Provider
CISA-ADP · adp
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux b878c8a7f08f0c225b6a46ba1ac867e9c5d17807 to < 9ad75e78747b5a50dc5a52f0f8e92e920a653f16 (affected · git)fb265c9cb49e2074ddcdd4de99728aefdd3b3592 to < 896a7e7d0d555ad8b2b46af0c2fa7de7467f9483 (affected · git)fb265c9cb49e2074ddcdd4de99728aefdd3b3592 to < 76dc776153a47372719d664e0fc50d6355791abb (affected · git)fb265c9cb49e2074ddcdd4de99728aefdd3b3592 to < 681ff9a09accd8a4379f8bd30b7a1641ee19bb3e (affected · git)fb265c9cb49e2074ddcdd4de99728aefdd3b3592 to < e941b712e758f615d311946bf98216e79145ccd9 (affected · git)fb265c9cb49e2074ddcdd4de99728aefdd3b3592 to < a95df6f04f2c37291adf26a74205cde0314d4577 (affected · git)fb265c9cb49e2074ddcdd4de99728aefdd3b3592 to < b37c0edef4e66fb21a2fbc211471195a383e5ab8 (affected · git)fb265c9cb49e2074ddcdd4de99728aefdd3b3592 to < 0c0b4a49d3e7f49690a6827a41faeffad5df7e21 (affected · git)9da1f6d06b7a6d068e68fcfd7cbbf6b586d888e1 (affected · git)81313ed2c705d958744882a269bf4a5e3ddec95e (affected · git)4.19.14 to < 4.19.316 (affected · semver)4.14.92 to < 4.15 (affected · semver)4.20.1 to < 4.21 (affected · semver)Default: unaffected Linux · cna
Linux Linux 5.0 (affected)0 to < 5.0 (unaffected · semver)4.19.316 through 4.19.* (unaffected · semver)5.4.278 through 5.4.* (unaffected · semver)5.10.219 through 5.10.* (unaffected · semver)5.15.161 through 5.15.* (unaffected · semver)6.1.94 through 6.1.* (unaffected · semver)6.6.34 through 6.6.* (unaffected · semver)6.9.5 through 6.9.* (unaffected · semver)6.10 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

1
  • CWE-noinfo Not enough information (CISA-ADP · adp)

References

8

Provider assertions

3

Linux · cna

ext4: fix mb_cache_entry's e_refcnt leak in ext4_xattr_block_cache_find()

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
6c7358a15fa53366173efc336e6f32383f976b8691c7d0f4987bf96d13e940cf
Ingested
23 Sep 2026, 08:25:04 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected