{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-56558 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2024-56558 is a high-severity use after free vulnerability in Linux kernel, published on 27 Dec 2024. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-56558 and fix it if it is affected.\n\nWhat it is: CVE-2024-56558 is a high-severity use after free vulnerability in Linux kernel, published on 27 Dec 2024. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-56558 in the wild and no public exploit code.\n\nAffected product: Linux kernel. 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-2024-56558/ (Markdown: https://insights.sbomify.com/CVE-2024-56558/index.md)","id":"CVE-2024-56558","markdown":"https://insights.sbomify.com/CVE-2024-56558/index.md","name":"CVE-2024-56558","record":{"aliases":["BELL-CVE-2024-56558","DEBIAN-CVE-2024-56558","GHSA-r5pj-8mrw-4gqj","SUSE-SU-2025:02456-1","SUSE-SU-2025:02467-1","SUSE-SU-2025:02469-1","SUSE-SU-2025:02470-1","UBUNTU-CVE-2024-56558"],"analysis":{"component_type":"kernel","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Linux kernel NFS","requires_auth":"low_privilege","summary":"A use-after-free vulnerability in the Linux kernel NFS server allows local attackers to trigger a system crash or warning by accessing export information.","user_interaction":"not_required","vuln_class":"use_after_free"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Linux","cpe":[{"product":"linux_kernel","vendor":"linux"}],"cvss":{"score":7.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfsd: make sure exp active before svc_export_show\n\nThe function `e_show` was called with protection from RCU. This only\nensures that `exp` will not be freed. Therefore, the reference count for\n`exp` can drop to zero, which will trigger a refcount use-after-free\nwarning when `exp_get` is called. To resolve this issue, use\n`cache_get_rcu` to ensure that `exp` remains active.\n\n------------[ cut here ]------------\nrefcount_t: addition on 0; use-after-free.\nWARNING: CPU: 3 PID: 819 at lib/refcount.c:25\nrefcount_warn_saturate+0xb1/0x120\nCPU: 3 UID: 0 PID: 819 Comm: cat Not tainted 6.12.0-rc3+ #1\nHardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS\n1.16.1-2.fc37 04/01/2014\nRIP: 0010:refcount_warn_saturate+0xb1/0x120\n...\nCall Trace:\n \u003cTASK\u003e\n e_show+0x20b/0x230 [nfsd]\n seq_read_iter+0x589/0x770\n seq_read+0x1e5/0x270\n vfs_read+0x125/0x530\n ksys_read+0xc1/0x160\n do_syscall_64+0x5f/0x170\n entry_SYSCALL_64_after_hwframe+0x76/0x7e","ecosystems":["SUSE:Linux Enterprise Live Patching 15 SP3","SUSE:Linux Enterprise Live Patching 15 SP4"],"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":"nfsd: make sure exp active before svc_export_show","id":"CVE-2024-56558","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"linux:linux_kernel","products":["linux:linux_kernel"],"type":"use_after_free","year":"2024"},"n_packages":4,"n_references":7,"next":{"headline":"mm/vmalloc: combine all TLB flush operations of KASAN shadow virtual address into one operation","id":"CVE-2024-56559"},"packages":[{"ecosystem":"SUSE:Linux Enterprise Live Patching 15 SP3","fixed":["2-150300.2.1"],"introduced":["0"],"last_affected":[],"package":"kernel-livepatch-SLE15-SP3_Update_56","purl":"pkg:rpm/suse/kernel-livepatch-SLE15-SP3_Update_56\u0026distro=SUSE%20Linux%20Enterprise%20Live%20Patching%2015%20SP3","source":"SUSE-SU-2025:02456-1"},{"ecosystem":"SUSE:Linux Enterprise Live Patching 15 SP3","fixed":["2-150300.2.1"],"introduced":["0"],"last_affected":[],"package":"kernel-livepatch-SLE15-SP3_Update_57","purl":"pkg:rpm/suse/kernel-livepatch-SLE15-SP3_Update_57\u0026distro=SUSE%20Linux%20Enterprise%20Live%20Patching%2015%20SP3","source":"SUSE-SU-2025:02467-1"},{"ecosystem":"SUSE:Linux Enterprise Live Patching 15 SP4","fixed":["2-150400.2.1"],"introduced":["0"],"last_affected":[],"package":"kernel-livepatch-SLE15-SP4_Update_39","purl":"pkg:rpm/suse/kernel-livepatch-SLE15-SP4_Update_39\u0026distro=SUSE%20Linux%20Enterprise%20Live%20Patching%2015%20SP4","source":"SUSE-SU-2025:02469-1"},{"ecosystem":"SUSE:Linux Enterprise Live Patching 15 SP4","fixed":["2-150400.2.1"],"introduced":["0"],"last_affected":[],"package":"kernel-livepatch-SLE15-SP4_Update_40","purl":"pkg:rpm/suse/kernel-livepatch-SLE15-SP4_Update_40\u0026distro=SUSE%20Linux%20Enterprise%20Live%20Patching%2015%20SP4","source":"SUSE-SU-2025:02470-1"}],"prev":{"headline":"iio: adc: ad7923: Fix buffer overflow for tx_buf and ring_xfer","id":"CVE-2024-56557"},"products":["Linux"],"published":"2024-12-27","related":[{"cvss_score":8.8,"headline":"Linux Kernel Out-of-Bounds Write","id":"CVE-2026-53266","kev_date_added":"2026-09-18","published":"2026-06-25"},{"cvss_score":8.8,"headline":"Linux Kernel Improper Input Validation","id":"CVE-2013-6282","kev_date_added":"2022-09-15","published":"2013-11-19"},{"cvss_score":8.4,"headline":"Linux Kernel Heap-Based Buffer Overflow","id":"CVE-2022-0185","kev_date_added":"2024-08-21","published":"2022-02-11"},{"cvss_score":8.4,"headline":"Linux Kernel Privilege Escalation","id":"CVE-2013-2094","kev_date_added":"2022-09-15","published":"2013-05-14"},{"cvss_score":7.8,"headline":"Linux Kernel Unspecified","id":"CVE-2026-53362","kev_date_added":"2026-08-27","published":"2026-07-04"},{"cvss_score":7.8,"headline":"Linux Kernel Missing Initialization of a Variable","id":"CVE-2026-46300","kev_date_added":"2026-10-28","published":"2026-05-23"},{"cvss_score":7.8,"headline":"Linux Kernel Race Condition","id":"CVE-2025-39964","kev_date_added":"2026-09-18","published":"2025-10-13"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-08-05","vendors":["Linux"]},"summary":"A use-after-free vulnerability in the Linux kernel NFS server allows local attackers to trigger a system crash or warning by accessing export information.","url":"https://insights.sbomify.com/CVE-2024-56558/"}