{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2023-54020 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2023-54020 is a denial of service vulnerability in Linux, published on 24 Dec 2025."},"fix_prompt":"Check this codebase for CVE-2023-54020 and fix it if it is affected.\n\nWhat it is: CVE-2023-54020 is a denial of service vulnerability in Linux, published on 24 Dec 2025. \nExploitation: There is no known exploitation of CVE-2023-54020 in the wild and no public exploit code.\n\nAffected product: Linux. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-54020/ (Markdown: https://insights.sbomify.com/CVE-2023-54020/index.md)","id":"CVE-2023-54020","markdown":"https://insights.sbomify.com/CVE-2023-54020/index.md","name":"CVE-2023-54020","record":{"aliases":["BELL-CVE-2023-54020","DEBIAN-CVE-2023-54020","GHSA-4cm4-vw36-jc7r","ROOT-OS-DEBIAN-11-CVE-2023-54020","UBUNTU-CVE-2023-54020"],"analysis":{"component_type":"kernel","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"unknown","non_default_config":false,"product_category":"Linux kernel driver","requires_auth":"none","summary":"A memory leak in the Linux kernel sf-pdma driver allows attackers to cause memory starvation and denial of service.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Linux","cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndmaengine: sf-pdma: pdma_desc memory leak fix\n\nCommit b2cc5c465c2c (\"dmaengine: sf-pdma: Add multithread support for a\nDMA channel\") changed sf_pdma_prep_dma_memcpy() to unconditionally\nallocate a new sf_pdma_desc each time it is called.\n\nThe driver previously recycled descs, by checking the in_use flag, only\nallocating additional descs if the existing one was in use. This logic\nwas removed in commit b2cc5c465c2c (\"dmaengine: sf-pdma: Add multithread\nsupport for a DMA channel\"), but sf_pdma_free_desc() was not changed to\nhandle the new behaviour.\n\nAs a result, each time sf_pdma_prep_dma_memcpy() is called, the previous\ndescriptor is leaked, over time leading to memory starvation:\n\n  unreferenced object 0xffffffe008447300 (size 192):\n  comm \"irq/39-mchp_dsc\", pid 343, jiffies 4294906910 (age 981.200s)\n  hex dump (first 32 bytes):\n    00 00 00 ff 00 00 00 00 b8 c1 00 00 00 00 00 00  ................\n    00 00 70 08 10 00 00 00 00 00 00 c0 00 00 00 00  ..p.............\n  backtrace:\n    [\u003c00000000064a04f4\u003e] kmemleak_alloc+0x1e/0x28\n    [\u003c00000000018927a7\u003e] kmem_cache_alloc+0x11e/0x178\n    [\u003c000000002aea8d16\u003e] sf_pdma_prep_dma_memcpy+0x40/0x112\n\nAdd the missing kfree() to sf_pdma_free_desc(), and remove the redundant\nin_use flag.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"dmaengine: sf-pdma: pdma_desc memory leak fix","id":"CVE-2023-54020","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"denial_of_service","year":"2023"},"n_packages":0,"n_references":4,"next":{"headline":"ext4: set goal start correctly in ext4_mb_normalize_request","id":"CVE-2023-54021"},"packages":[],"prev":{"headline":"sched/psi: use kernfs polling functions for PSI trigger polling","id":"CVE-2023-54019"},"products":["Linux"],"published":"2025-12-24","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2026-05-23","vendors":["Linux"]},"summary":"A memory leak in the Linux kernel sf-pdma driver allows attackers to cause memory starvation and denial of service.","url":"https://insights.sbomify.com/CVE-2023-54020/"}