{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-39817","published":"2025-09-16T13:15:57.187000Z","last_modified":"2026-10-19T21:10:00.160000Z","status":"Modified","cvss":{"version":"3.1","score":7.1,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-125"],"cpes":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"3.8.2","version_end_excluding":"5.4.298"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.5","version_end_excluding":"5.10.242"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.11","version_end_excluding":"5.15.191"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.16","version_end_excluding":"6.1.150"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.2","version_end_excluding":"6.6.104"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.7","version_end_excluding":"6.12.45"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.13","version_end_excluding":"6.16.5"},{"criteria":"cpe:2.3:o:linux:linux_kernel:6.17:rc1:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"6.17"},{"criteria":"cpe:2.3:o:linux:linux_kernel:6.17:rc2:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"6.17"},{"criteria":"cpe:2.3:o:linux:linux_kernel:6.17:rc3:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"6.17"},{"criteria":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","part":"o","vendor":"debian","product":"debian_linux","version":"11.0"}],"cpes_truncated":false,"vendors":["linux","debian"],"products":["linux/linux_kernel","debian/debian_linux"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"os","platform":"linux","eol":false,"packages":[],"severity":"high","priority_score":43,"links":{"html_es":"/es/cve/CVE-2025-39817/","html_en":"/en/cve/CVE-2025-39817/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-39817","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-39817"},"untrusted":{"vendor_name":"Linux","product_name":"Linux Kernel","desc_en":"In the Linux kernel, the following vulnerability has been resolved:\n\nefivarfs: Fix slab-out-of-bounds in efivarfs_d_compare\n\nObserved on kernel 6.6 (present on master as well):\n\n  BUG: KASAN: slab-out-of-bounds in memcmp+0x98/0xd0\n  Call trace:\n   kasan_check_range+0xe8/0x190\n   __asan_loadN+0x1c/0x28\n   memcmp+0x98/0xd0\n   efivarfs_d_compare+0x68/0xd8\n   __d_lookup_rcu_op_compare+0x178/0x218\n   __d_lookup_rcu+0x1f8/0x228\n   d_alloc_parallel+0x150/0x648\n   lookup_open.isra.0+0x5f0/0x8d0\n   open_last_lookups+0x264/0x828\n   path_openat+0x130/0x3f8\n   do_filp_open+0x114/0x248\n   do_sys_openat2+0x340/0x3c0\n   __arm64_sys_openat+0x120/0x1a0\n\nIf dentry->d_name.len < EFI_VARIABLE_GUID_LEN , 'guid' can become\nnegative, leadings to oob. The issue can be triggered by parallel\nlookups using invalid filename:\n\n  T1\t\t\tT2\n  lookup_open\n   ->lookup\n    simple_lookup\n     d_add\n     // invalid dentry is added to hash list\n\n\t\t\tlookup_open\n\t\t\t d_alloc_parallel\n\t\t\t  __d_lookup_rcu\n\t\t\t   __d_lookup_rcu_op_compare\n\t\t\t    hlist_bl_for_each_entry_rcu\n\t\t\t    // invalid dentry can be retrieved\n\t\t\t     ->d_compare\n\t\t\t      efivarfs_d_compare\n\t\t\t      // oob\n\nFix it by checking 'guid' before cmp.","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]},{"untrusted_vendor":"Siemens","untrusted_product":"SIMATIC CN 4100","versions":[]}],"references":[{"url":"https://git.kernel.org/stable/c/0f63fbabeaaaaaaf5b742a2f4c1b4590d50bf1f6","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/568e7761279b99c6daa3002290fd6d8047ddb6d2","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/71581a82f38e5a4d807d71fc1bb59aead80ccf95","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/794399019301944fd6d2e0d7a51b3327e26c410e","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/925599eba46045930b850a98ae594d2e3028ac40","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/a6358f8cf64850f3f27857b8ed8c1b08cfc4685c","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/c2925cd6207079c3f4d040d082515db78d63afbf","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/d7f5e35e70507d10cbaff5f9e194ed54c4ee14f7","tags":["Patch"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html","tags":["Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html","tags":["Third Party Advisory"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-032379.html","tags":[]}]},"bulletins":[{"source":"siemens","id":"SSA-032379","url":"https://cert-portal.siemens.com/productcert/html/ssa-032379.html","published":"2026-05-12T00:00:00+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Multiple Vulnerabilities in SIMATIC CN 4100 Before V5.0"}},{"source":"suse","id":"SUSE-SU-2026:21255-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-202621255-1/","published":"2026-04-17T15:00:24+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for the Linux Kernel"}},{"source":"suse","id":"SUSE-SU-2026:21123-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-202621123-1/","published":"2026-04-13T18:28:29+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for the Linux Kernel"}},{"source":"suse","id":"SUSE-SU-2026:21114-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-202621114-1/","published":"2026-04-13T17:04:49+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for the Linux Kernel"}},{"source":"redhat","id":"RHSA-2026:3685","url":"https://access.redhat.com/errata/RHSA-2026:3685","published":"2026-03-04T10:17:26+00:00","severity":"high","exploited":false,"untrusted":{"title":"Red Hat Security Advisory: kernel security update"}},{"source":"redhat","id":"RHSA-2026:3634","url":"https://access.redhat.com/errata/RHSA-2026:3634","published":"2026-03-03T10:25:08+00:00","severity":"high","exploited":false,"untrusted":{"title":"Red Hat Security Advisory: kernel-rt security update"}},{"source":"redhat","id":"RHSA-2026:2490","url":"https://access.redhat.com/errata/RHSA-2026:2490","published":"2026-02-11T10:10:50+00:00","severity":"medium","exploited":false,"untrusted":{"title":"Red Hat Security Advisory: kernel security update"}}]}