cve.bz

CVE-2025-23150 Off-by-one Error

5.5 mediumEPSS 0.2%Fix available

Medium (5.5). EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
In the Linux kernel, the following vulnerability has been resolved: ext4: fix off-by-one error in do_split Syzkaller detected a use-after-free issue in ext4_insert_dentry that was caused by out-of-bounds access due to incorrect splitting in do_split. BUG: KASAN: use-after-free in ext4_insert_dentry+0x36a/0x6d0 fs/ext4/namei.c:2109 Write of size 251 at addr ffff888074572f14 by task syz-executor335/5847 CPU: 0 UID: 0 PID: 5847 Comm: syz-executor335 Not tainted 6.12.0-rc6-syzkaller-00318-ga9cda7c0ffed #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 Call Trace: <TASK> __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:377 [inline] print_report+0x169/0x550 mm/kasan/report.c:488 kasan_report+0x143/0x180 mm/kasan/report.c:601 kasan_check_range+0x282/0x290 mm/kasan/generic.c:189 __asan_memcpy+0x40/0x70 mm/kasan/shadow.c:106 ext4_insert_dentry+0x36a/0x6d0 fs/ext4/namei.c:2109 add_dirent_to_buf+0x3d9/0x750 fs/ext4/namei.c:2154 make_indexed_dir+0xf98/0x1600 fs/ext4/namei.c:2351 ext4_add_entry+0x222a/0x25d0 fs/ext4/namei.c:2455 ext4_add_nondir+0x8d/0x290 fs/ext4/namei.c:2796 ext4_symlink+0x920/0xb50 fs/ext4/namei.c:3431 vfs_symlink+0x137/0x2e0 fs/namei.c:4615 do_symlinkat+0x222/0x3a0 fs/namei.c:4641 __do_sys_symlink fs/namei.c:4662 [inline] __se_sys_symlink fs/namei.c:4660 [inline] __x64_sys_symlink+0x7a/0x90 fs/namei.c:4660 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f </TASK> The following loop is located right above 'if' statement. for (i = count-1; i >= 0; i--) { /* is more than half of this entry in 2nd half of the block? */ if (size + map[i].size/2 > blocksize/2) break; size += map[i].size; move++; } 'i' in this case could go down to -1, in which case sum of active entries wouldn't exceed half the block size, but previous behaviour would also do split in half if sum would exceed at the very last block, which in case of having too many long name files in a single block could lead to out-of-bounds access and following use-after-free. Found by Linux Verification Center (linuxtesting.org) with Syzkaller.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 14th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-06-10. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-193 Off-by-one Error
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-23150 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-23150?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-23150?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-23150 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Linuxfrom 5.4.61 before 5.4.293
Linuxfrom 4.4.234 before 4.5
Linuxfrom 4.9.234 before 4.10
Linuxfrom 4.14.195 before 4.15
Linuxfrom 4.19.142 before 4.20
Linuxfrom 5.7.18 before 5.8
Linuxfrom 5.8.4 before 5.9
Linux5.9 and later

Fixed in

ProductRelease lineFixed in
Linux5.45.4.293
Linux5.105.10.237
Linux5.155.15.181
Linux6.16.1.135
Linux6.66.6.88
Linux6.126.12.24
Linux6.136.13.12
Linux6.146.14.3
Linuxlater releases6.15

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11linux5.10.237-1DLA-4178-1
Debian11linux-6.16.1.137-1~deb11u1DLA-4193-1
Debian12linux6.1.135-1DEBIAN-CVE-2025-23150
Debian13, 14linux6.12.25-1DEBIAN-CVE-2025-23150
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2025-23150
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2025-23150
Ubuntu20.04:LTSlinux-gke, linux-gkeop, linux-riscv and 26 moreno fix listedUBUNTU-CVE-2025-23150
Ubuntu22.04:LTSlinux, linux-lowlatency5.15.0-144.157UBUNTU-CVE-2025-23150 USN-7654-1
Ubuntu22.04:LTSlinux-aws5.15.0-1088.95UBUNTU-CVE-2025-23150 USN-7654-1
Ubuntu22.04:LTSlinux-aws-6.8, linux-nvidia-6.86.8.0-1046.49~22.04.1UBUNTU-CVE-2025-23150 USN-8028-5
Ubuntu22.04:LTSlinux-azure5.15.0-1094.103UBUNTU-CVE-2025-23150 USN-7711-1
Ubuntu22.04:LTSlinux-azure-6.86.8.0-1051.57~22.04.1UBUNTU-CVE-2025-23150 USN-8126-1
Ubuntu22.04:LTSlinux-azure-fde5.15.0-1094.103.1UBUNTU-CVE-2025-23150
Ubuntu22.04:LTSlinux-azure-fde-6.86.8.0-1046.53~22.04.1UBUNTU-CVE-2025-23150
Ubuntu22.04:LTSlinux-gcp5.15.0-1087.96UBUNTU-CVE-2025-23150 USN-7654-1
Ubuntu22.04:LTSlinux-gcp-6.86.8.0-1047.50~22.04.2UBUNTU-CVE-2025-23150 USN-8031-1
68 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:8::baseosperf, kernel, bpftool and 30 more0:4.18.0-553.62.1.el8_10RHSA-2025:11298
Red Hatenterprise_linux:8::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more0:4.18.0-553.62.1.el8_10RHSA-2025:11298
Red Hatenterprise_linux:8::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 12 more0:4.18.0-553.62.1.rt7.403.el8_10RHSA-2025:11299
Red Hatenterprise_linux:8::realtimekernel-rt, kernel-rt-core, kernel-rt-debug and 10 more0:4.18.0-553.62.1.rt7.403.el8_10RHSA-2025:11299
Red Hatenterprise_linux:9::appstreamrv, perf, rtla and 29 more0:5.14.0-570.23.1.el9_6RHSA-2025:9302
Red Hatenterprise_linux:9::baseoskernel, kernel-64k, kernel-core and 45 more0:5.14.0-570.23.1.el9_6RHSA-2025:9302
Red Hatenterprise_linux:9::crblibperf, perf-debuginfo, kernel-debuginfo and 16 more0:5.14.0-570.23.1.el9_6RHSA-2025:9302
Red Hatenterprise_linux:9::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 20 more0:5.14.0-570.23.1.el9_6RHSA-2025:9302
Red Hatenterprise_linux:9::realtimekernel-rt, kernel-rt-64k, kernel-rt-core and 35 more0:5.14.0-570.23.1.el9_6RHSA-2025:9302
Red Hatenterprise_linux:10.0rv, perf, rtla and 88 more0:6.12.0-55.18.1.el10_0RHSA-2025:9348
Red Hatrhel_aus:8.4::baseos, rhel_eus_long_life:8.4::baseosperf, kernel, bpftool and 21 more0:4.18.0-305.168.1.el8_4RHSA-2025:13805
Red Hatrhel_aus:8.6::baseos, rhel_tus:8.6::baseosperf, kernel, bpftool and 21 more0:4.18.0-372.157.1.el8_6RHSA-2025:13776
22 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Availability Extension 15 SP6, Linux Enterprise Live Patching 15 SP6, Linux Enterprise Module for Legacy 15 SP6 and 1 morekernel-default6.4.0-150600.23.53.1SUSE-SU-2025:02000-1
SUSELinux Enterprise High Availability Extension 15 SP7, Linux Enterprise Live Patching 15 SP7, Linux Enterprise Module for Legacy 15 SP7 and 1 morekernel-default6.4.0-150700.53.3.1SUSE-SU-2025:01951-1
SUSELinux Enterprise Live Patching 12 SP5kernel-default4.12.14-122.261.1SUSE-SU-2025:01983-1
SUSELinux Enterprise Live Patching 12 SP5kgraft-patch-SLE12-SP5_Update_691-8.3.1SUSE-SU-2025:01983-1
SUSELinux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6-RT_Update_111-150600.1.3.2SUSE-SU-2025:01964-1
SUSELinux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6_Update_121-150600.13.3.1SUSE-SU-2025:02000-1
SUSELinux Enterprise Live Patching 15 SP7kernel-livepatch-SLE15-SP7-RT_Update_11-150700.1.3.1SUSE-SU-2025:01972-1
SUSELinux Enterprise Live Patching 15 SP7kernel-livepatch-SLE15-SP7_Update_11-150700.15.3.1SUSE-SU-2025:01951-1
SUSELinux Enterprise Module for Basesystem 15 SP6kernel-64kb, kernel-source, kernel-default and 1 more6.4.0-150600.23.53.1SUSE-SU-2025:02000-1
SUSELinux Enterprise Module for Basesystem 15 SP6kernel-default-base6.4.0-150600.23.53.1.150600.12.24.1SUSE-SU-2025:02000-1
SUSELinux Enterprise Module for Basesystem 15 SP7kernel-64kb, kernel-source, kernel-default and 1 more6.4.0-150700.53.3.1SUSE-SU-2025:01951-1
SUSELinux Enterprise Module for Basesystem 15 SP7kernel-default-base6.4.0-150700.53.3.1.150700.17.2.1SUSE-SU-2025:01951-1
14 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.6dtb-aarch64, kernel-64kb, kernel-docs and 8 more6.4.0-150600.23.53.1SUSE-SU-2025:02000-1
openSUSELeap 15.6kernel-azure, kernel-syms-azure, kernel-source-azure6.4.0-150600.8.40.1SUSE-SU-2025:01965-1
openSUSELeap 15.6kernel-default-base6.4.0-150600.23.53.1.150600.12.24.1SUSE-SU-2025:02000-1
openSUSELeap 15.6kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more6.4.0-150600.10.39.1SUSE-SU-2025:01964-1
AlmaLinux8kernel-rt, kernel-rt-core, kernel-rt-debug and 7 more4.18.0-553.62.1.rt7.403.el8_10ALSA-2025:11299
AlmaLinux8perf, kernel, bpftool and 22 more4.18.0-553.62.1.el8_10ALSA-2025:11298
AlmaLinux9rv, perf, rtla and 73 more5.14.0-570.23.1.el9_6ALSA-2025:9302
Rocky Linux8kernel0:4.18.0-553.62.1.el8_10RLSA-2025:11298
Rocky Linux8kernel-rt0:4.18.0-553.62.1.rt7.403.el8_10RLSA-2025:11299
Rocky Linux9kernel0:5.14.0-570.23.1.el9_6RLSA-2025:9302
Rocky Linux10kernel0:6.12.0-55.18.1.el10_0RLSA-2025:9348
Alpaquita23linux-lts6.1.140-r0BELL-CVE-2025-23150
Alpaquita25linux-lts6.12.41-r0BELL-CVE-2025-23150
Alpaquitastreamlinux-lts6.18.35-r1BELL-CVE-2025-23150

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is rated as Moderate severity for Red Hat Enterprise Linux because exploitation is restricted to local authenticated users with write permissions on an ext4 filesystem. Red Hat Enterprise Linux uses XFS as the default filesystem, which limits typical exposure unless ext4 partitions are explicitly configured and mounted. A local user with access to write to an ext4 directory could create specific directory entry structures that trigger memory corruption, potentially leading to a system crash or unauthorized disclosure of kernel memory.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10kernel-0:6.12.0-55.18.1.el10_0Fixed 2025-06-23RHSA-2025:9348
Red Hat Enterprise Linux 7 Extended Lifecycle Supportkernel-rt-0:3.10.0-1160.137.1.rt56.1289.el7Fixed 2025-08-27RHSA-2025:14746
Red Hat Enterprise Linux 7 Extended Lifecycle Supportkernel-0:3.10.0-1160.137.1.el7Fixed 2025-08-27RHSA-2025:14748
Red Hat Enterprise Linux 8kernel-rt-0:4.18.0-553.62.1.rt7.403.el8_10Fixed 2025-07-16RHSA-2025:11299
Red Hat Enterprise Linux 8kernel-0:4.18.0-553.62.1.el8_10Fixed 2025-07-16RHSA-2025:11298
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportkernel-0:4.18.0-305.168.1.el8_4Fixed 2025-08-13RHSA-2025:13805
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onkernel-0:4.18.0-305.168.1.el8_4Fixed 2025-08-13RHSA-2025:13805
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportkernel-0:4.18.0-372.157.1.el8_6Fixed 2025-08-13RHSA-2025:13776
Red Hat Enterprise Linux 8.6 Telecommunications Update Servicekernel-0:4.18.0-372.157.1.el8_6Fixed 2025-08-13RHSA-2025:13776
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutionskernel-0:4.18.0-372.157.1.el8_6Fixed 2025-08-13RHSA-2025:13776
Red Hat Enterprise Linux 8.8 Telecommunications Update Servicekernel-0:4.18.0-477.104.1.el8_8Fixed 2025-08-05RHSA-2025:13061
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionskernel-0:4.18.0-477.104.1.el8_8Fixed 2025-08-05RHSA-2025:13061
Red Hat Enterprise Linux 9kernel-0:5.14.0-570.23.1.el9_6Fixed 2025-06-23RHSA-2025:9302
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionskernel-0:5.14.0-70.140.1.el9_0Fixed 2025-08-04RHSA-2025:12526
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionskernel-rt-0:5.14.0-70.140.1.rt21.212.el9_0Fixed 2025-08-04RHSA-2025:12525
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionskernel-0:5.14.0-284.126.1.el9_2Fixed 2025-07-23RHSA-2025:11571
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionskernel-rt-0:5.14.0-284.126.1.rt14.411.el9_2Fixed 2025-07-23RHSA-2025:11572
Red Hat Enterprise Linux 9.4 Extended Update Supportkernel-0:5.14.0-427.77.1.el9_4Fixed 2025-07-15RHSA-2025:11245
Red Hat Enterprise Linux 6kernelOut of support scope
Red Hat Enterprise Linux 9kernel-rtAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-23150.

References

Check your stackJSON