{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2025-40240 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2025-40240 is a high-severity vulnerability in Linux, published on 4 Dec 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-40240 and fix it if it is affected.\n\nWhat it is: CVE-2025-40240 is a high-severity vulnerability in Linux, published on 4 Dec 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-40240 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-2025-40240/ (Markdown: https://insights.sbomify.com/CVE-2025-40240/index.md)","id":"CVE-2025-40240","markdown":"https://insights.sbomify.com/CVE-2025-40240/index.md","name":"CVE-2025-40240","record":{"aliases":["AZL-71375","BELL-CVE-2025-40240","DEBIAN-CVE-2025-40240","GHSA-p7wh-phc3-g7xr","RHSA-2026:4899","ROOT-OS-DEBIAN-11-CVE-2025-40240","ROOT-OS-UBUNTU-2404-CVE-2025-40240","UBUNTU-CVE-2025-40240"],"analysis":{"component_type":"kernel","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Linux kernel","requires_auth":"none","summary":"A NULL pointer dereference in the Linux kernel SCTP implementation allows attackers to cause a denial of service.","user_interaction":"not_required","vuln_class":"null_dereference"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Linux","cpe":[],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[],"description":"In the Linux kernel, the following vulnerability has been resolved:\n\nsctp: avoid NULL dereference when chunk data buffer is missing\n\nchunk-\u003eskb pointer is dereferenced in the if-block where it's supposed\nto be NULL only.\n\nchunk-\u003eskb can only be NULL if chunk-\u003ehead_skb is not. Check for frag_list\ninstead and do it just before replacing chunk-\u003eskb. We're sure that\notherwise chunk-\u003eskb is non-NULL because of outer if() condition.","ecosystems":["Red Hat:rhel_eus:9.4::appstream","Red Hat:rhel_eus:9.4::baseos","Red Hat:rhel_eus:9.4::crb","Red Hat:rhel_eus:9.4::nfv","Red Hat:rhel_eus:9.4::realtime"],"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":"sctp: avoid NULL dereference when chunk data buffer is missing","id":"CVE-2025-40240","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"null_dereference","year":"2025"},"n_packages":142,"n_references":8,"next":{"headline":"erofs: fix crafted invalid cases for encoded extents","id":"CVE-2025-40241"},"packages":[{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:7.3.0-427.115.1.el9_4"],"introduced":["0"],"last_affected":[],"package":"bpftool-debuginfo","purl":"pkg:rpm/redhat/bpftool-debuginfo","source":"RHSA-2026:4899"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:5.14.0-427.115.1.el9_4"],"introduced":["0"],"last_affected":[],"package":"kernel-64k-debug-debuginfo","purl":"pkg:rpm/redhat/kernel-64k-debug-debuginfo","source":"RHSA-2026:4899"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:5.14.0-427.115.1.el9_4"],"introduced":["0"],"last_affected":[],"package":"kernel-64k-debug-devel","purl":"pkg:rpm/redhat/kernel-64k-debug-devel","source":"RHSA-2026:4899"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:5.14.0-427.115.1.el9_4"],"introduced":["0"],"last_affected":[],"package":"kernel-64k-debug-devel-matched","purl":"pkg:rpm/redhat/kernel-64k-debug-devel-matched","source":"RHSA-2026:4899"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:5.14.0-427.115.1.el9_4"],"introduced":["0"],"last_affected":[],"package":"kernel-64k-debuginfo","purl":"pkg:rpm/redhat/kernel-64k-debuginfo","source":"RHSA-2026:4899"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:5.14.0-427.115.1.el9_4"],"introduced":["0"],"last_affected":[],"package":"kernel-64k-devel","purl":"pkg:rpm/redhat/kernel-64k-devel","source":"RHSA-2026:4899"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:5.14.0-427.115.1.el9_4"],"introduced":["0"],"last_affected":[],"package":"kernel-64k-devel-matched","purl":"pkg:rpm/redhat/kernel-64k-devel-matched","source":"RHSA-2026:4899"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:5.14.0-427.115.1.el9_4"],"introduced":["0"],"last_affected":[],"package":"kernel-debug-debuginfo","purl":"pkg:rpm/redhat/kernel-debug-debuginfo","source":"RHSA-2026:4899"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:5.14.0-427.115.1.el9_4"],"introduced":["0"],"last_affected":[],"package":"kernel-debug-devel","purl":"pkg:rpm/redhat/kernel-debug-devel","source":"RHSA-2026:4899"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:5.14.0-427.115.1.el9_4"],"introduced":["0"],"last_affected":[],"package":"kernel-debug-devel-matched","purl":"pkg:rpm/redhat/kernel-debug-devel-matched","source":"RHSA-2026:4899"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:5.14.0-427.115.1.el9_4"],"introduced":["0"],"last_affected":[],"package":"kernel-debuginfo","purl":"pkg:rpm/redhat/kernel-debuginfo","source":"RHSA-2026:4899"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:5.14.0-427.115.1.el9_4"],"introduced":["0"],"last_affected":[],"package":"kernel-debuginfo-common-aarch64","purl":"pkg:rpm/redhat/kernel-debuginfo-common-aarch64","source":"RHSA-2026:4899"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:5.14.0-427.115.1.el9_4"],"introduced":["0"],"last_affected":[],"package":"kernel-debuginfo-common-ppc64le","purl":"pkg:rpm/redhat/kernel-debuginfo-common-ppc64le","source":"RHSA-2026:4899"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:5.14.0-427.115.1.el9_4"],"introduced":["0"],"last_affected":[],"package":"kernel-debuginfo-common-s390x","purl":"pkg:rpm/redhat/kernel-debuginfo-common-s390x","source":"RHSA-2026:4899"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:5.14.0-427.115.1.el9_4"],"introduced":["0"],"last_affected":[],"package":"kernel-debuginfo-common-x86_64","purl":"pkg:rpm/redhat/kernel-debuginfo-common-x86_64","source":"RHSA-2026:4899"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:5.14.0-427.115.1.el9_4"],"introduced":["0"],"last_affected":[],"package":"kernel-devel","purl":"pkg:rpm/redhat/kernel-devel","source":"RHSA-2026:4899"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:5.14.0-427.115.1.el9_4"],"introduced":["0"],"last_affected":[],"package":"kernel-devel-matched","purl":"pkg:rpm/redhat/kernel-devel-matched","source":"RHSA-2026:4899"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:5.14.0-427.115.1.el9_4"],"introduced":["0"],"last_affected":[],"package":"kernel-doc","purl":"pkg:rpm/redhat/kernel-doc","source":"RHSA-2026:4899"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:5.14.0-427.115.1.el9_4"],"introduced":["0"],"last_affected":[],"package":"kernel-rt-debug-debuginfo","purl":"pkg:rpm/redhat/kernel-rt-debug-debuginfo","source":"RHSA-2026:4899"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:5.14.0-427.115.1.el9_4"],"introduced":["0"],"last_affected":[],"package":"kernel-rt-debuginfo","purl":"pkg:rpm/redhat/kernel-rt-debuginfo","source":"RHSA-2026:4899"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:5.14.0-427.115.1.el9_4"],"introduced":["0"],"last_affected":[],"package":"kernel-tools-debuginfo","purl":"pkg:rpm/redhat/kernel-tools-debuginfo","source":"RHSA-2026:4899"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:5.14.0-427.115.1.el9_4"],"introduced":["0"],"last_affected":[],"package":"kernel-zfcpdump-debuginfo","purl":"pkg:rpm/redhat/kernel-zfcpdump-debuginfo","source":"RHSA-2026:4899"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:5.14.0-427.115.1.el9_4"],"introduced":["0"],"last_affected":[],"package":"kernel-zfcpdump-devel","purl":"pkg:rpm/redhat/kernel-zfcpdump-devel","source":"RHSA-2026:4899"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:5.14.0-427.115.1.el9_4"],"introduced":["0"],"last_affected":[],"package":"kernel-zfcpdump-devel-matched","purl":"pkg:rpm/redhat/kernel-zfcpdump-devel-matched","source":"RHSA-2026:4899"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:5.14.0-427.115.1.el9_4"],"introduced":["0"],"last_affected":[],"package":"libperf-debuginfo","purl":"pkg:rpm/redhat/libperf-debuginfo","source":"RHSA-2026:4899"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:5.14.0-427.115.1.el9_4"],"introduced":["0"],"last_affected":[],"package":"perf","purl":"pkg:rpm/redhat/perf","source":"RHSA-2026:4899"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:5.14.0-427.115.1.el9_4"],"introduced":["0"],"last_affected":[],"package":"perf-debuginfo","purl":"pkg:rpm/redhat/perf-debuginfo","source":"RHSA-2026:4899"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:5.14.0-427.115.1.el9_4"],"introduced":["0"],"last_affected":[],"package":"python3-perf-debuginfo","purl":"pkg:rpm/redhat/python3-perf-debuginfo","source":"RHSA-2026:4899"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:5.14.0-427.115.1.el9_4"],"introduced":["0"],"last_affected":[],"package":"rtla","purl":"pkg:rpm/redhat/rtla","source":"RHSA-2026:4899"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:5.14.0-427.115.1.el9_4"],"introduced":["0"],"last_affected":[],"package":"rv","purl":"pkg:rpm/redhat/rv","source":"RHSA-2026:4899"},{"ecosystem":"Red Hat:rhel_eus:9.4::baseos","fixed":["0:7.3.0-427.115.1.el9_4"],"introduced":["0"],"last_affected":[],"package":"bpftool","purl":"pkg:rpm/redhat/bpftool","source":"RHSA-2026:4899"},{"ecosystem":"Red Hat:rhel_eus:9.4::baseos","fixed":["0:7.3.0-427.115.1.el9_4"],"introduced":["0"],"last_affected":[],"package":"bpftool-debuginfo","purl":"pkg:rpm/redhat/bpftool-debuginfo","source":"RHSA-2026:4899"},{"ecosystem":"Red Hat:rhel_eus:9.4::baseos","fixed":["0:5.14.0-427.115.1.el9_4"],"introduced":["0"],"last_affected":[],"package":"kernel","purl":"pkg:rpm/redhat/kernel","source":"RHSA-2026:4899"},{"ecosystem":"Red Hat:rhel_eus:9.4::baseos","fixed":["0:5.14.0-427.115.1.el9_4"],"introduced":["0"],"last_affected":[],"package":"kernel-64k","purl":"pkg:rpm/redhat/kernel-64k","source":"RHSA-2026:4899"},{"ecosystem":"Red Hat:rhel_eus:9.4::baseos","fixed":["0:5.14.0-427.115.1.el9_4"],"introduced":["0"],"last_affected":[],"package":"kernel-64k-core","purl":"pkg:rpm/redhat/kernel-64k-core","source":"RHSA-2026:4899"},{"ecosystem":"Red Hat:rhel_eus:9.4::baseos","fixed":["0:5.14.0-427.115.1.el9_4"],"introduced":["0"],"last_affected":[],"package":"kernel-64k-debug","purl":"pkg:rpm/redhat/kernel-64k-debug","source":"RHSA-2026:4899"},{"ecosystem":"Red Hat:rhel_eus:9.4::baseos","fixed":["0:5.14.0-427.115.1.el9_4"],"introduced":["0"],"last_affected":[],"package":"kernel-64k-debug-core","purl":"pkg:rpm/redhat/kernel-64k-debug-core","source":"RHSA-2026:4899"},{"ecosystem":"Red Hat:rhel_eus:9.4::baseos","fixed":["0:5.14.0-427.115.1.el9_4"],"introduced":["0"],"last_affected":[],"package":"kernel-64k-debug-debuginfo","purl":"pkg:rpm/redhat/kernel-64k-debug-debuginfo","source":"RHSA-2026:4899"},{"ecosystem":"Red Hat:rhel_eus:9.4::baseos","fixed":["0:5.14.0-427.115.1.el9_4"],"introduced":["0"],"last_affected":[],"package":"kernel-64k-debug-modules","purl":"pkg:rpm/redhat/kernel-64k-debug-modules","source":"RHSA-2026:4899"},{"ecosystem":"Red Hat:rhel_eus:9.4::baseos","fixed":["0:5.14.0-427.115.1.el9_4"],"introduced":["0"],"last_affected":[],"package":"kernel-64k-debug-modules-core","purl":"pkg:rpm/redhat/kernel-64k-debug-modules-core","source":"RHSA-2026:4899"}],"prev":{"headline":"net: phy: micrel: always set shared-\u003ephydev for LAN8814","id":"CVE-2025-40239"},"products":["Linux"],"published":"2025-12-04","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-08-05","vendors":["Linux"]},"summary":"A NULL pointer dereference in the Linux kernel SCTP implementation allows attackers to cause a denial of service.","url":"https://insights.sbomify.com/CVE-2025-40240/"}