{"id":"CVE-2024-56624","title":"In the Linux kernel, the following vulnerability has been resolved:\n\niommufd: Fix out_fput in iommufd_fault_alloc()\n\nAs fput() calls the file->f_op->release op, where fault obj and ictx are\ngetting released, there is no need to release t…","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\niommufd: Fix out_fput in iommufd_fault_alloc()\n\nAs fput() calls the file->f_op->release op, where fault obj and ictx are\ngetting released, there is no need to release t…","severity":"high","cvss":7.8,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","cwe":["CWE-401","CWE-20"],"vendor":"linux","product":"linux_kernel","affected":["linux_kernel >= 6.11, < 6.12.5","linux_kernel = 6.13"],"patched":["linux_kernel 6.12.5"],"published":"2024-12-27","updated":"2026-10-15","sourceUpdated":"2026-10-15T22:18:01.677","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2024-56624","references":[{"url":"https://git.kernel.org/stable/c/2b3f30c8edbf9a122ce01f13f0f41fbca5f1d41d","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/af7f4780514f850322b2959032ecaa96e4b26472","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-56624.json"},{"url":"https://access.redhat.com/security/cve/CVE-2024-56624"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2334443"},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-56624"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56624"},{"url":"https://lore.kernel.org/linux-cve-announce/2024122711-CVE-2024-56624-35f7@gregkh/T"}],"tags":["nvd","csaf","vex","red-hat","cve.org","score-dispute"],"epss":0.00188,"epssPercentile":0.08294,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-15T21:41:07.307658Z"},"scores":{"nvd":7.8,"vendor":5.5,"cna":7.8},"ingestedAt":"2026-10-15T22:48:25.444Z","slug":"CVE-2024-56624","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\niommufd: Fix out_fput in iommufd_fault_alloc()\n\nAs fput() calls the file->f_op->release op, where fault obj and ictx are\ngetting released, there is no need to release these two after fput() one\nmore time, which would result in imbalanced refcounts:\n  refcount_t: decrement hit 0; leaking memory.\n  WARNING: CPU: 48 PID: 2369 at lib/refcount.c:31 refcount_warn_saturate+0x60/0x230\n  Call trace:\n   refcount_warn_saturate+0x60/0x230 (P)\n   refcount_warn_saturate+0x60/0x230 (L)\n   iommufd_fault_fops_release+0x9c/0xe0 [iommufd]\n  ...\n  VFS: Close: file count is 0 (f_op=iommufd_fops [iommufd])\n  WARNING: CPU: 48 PID: 2369 at fs/open.c:1507 filp_flush+0x3c/0xf0\n  Call trace:\n   filp_flush+0x3c/0xf0 (P)\n   filp_flush+0x3c/0xf0 (L)\n   __arm64_sys_close+0x34/0x98\n  ...\n  imbalanced put on file reference count\n  WARNING: CPU: 48 PID: 2369 at fs/file.c:74 __file_ref_put+0x100/0x138\n  Call trace:\n   __file_ref_put+0x100/0x138 (P)\n   __file_ref_put+0x100/0x138 (L)\n   __fput_sync+0x4c/0xd0\n\nDrop those two lines to fix the warnings above.\n\n## Affected\n\n- `linux_kernel >= 6.11, < 6.12.5`\n- `linux_kernel = 6.13`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `linux_kernel 6.12.5`\n\n## Vendor advisories\n\n- **Red Hat VEX** · Low · affected: Red Hat Enterprise Linux 9 · no fix planned: Red Hat Enterprise Linux 9 · updated 2026-10-16 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-56624.json)","depth":"twilight","depthScore":43,"depthScoreParts":{"impact":42.9,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[{"seq":229995,"id":"CVE-2024-56624","ts":1793124765743,"field":"cvss","old":"5.5","new":"7.8"},{"seq":229994,"id":"CVE-2024-56624","ts":1793124765743,"field":"severity","old":"medium","new":"high"},{"seq":223687,"id":"CVE-2024-56624","ts":1792238367726,"field":"cvss","old":"7.8","new":"5.5"},{"seq":223686,"id":"CVE-2024-56624","ts":1792238367726,"field":"severity","old":"high","new":"medium"}]}