Breaking: Ruby2Shell - Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2023-53317

kernel: ext4: fix WARNING in mb_find_extent

Overview

Published
16 Sep 2025
Modified
17 Jun 2026
Medium CVE
0 Registry packages
169 OS packages
10 Linux distributions
Yes Fix available

Description

In the Linux kernel, the following vulnerability has been resolved:

ext4: fix WARNING in mb_find_extent

Syzbot found the following issue:

EXT4-fs: Warning: mounting with data=journal disables delayed allocation, dioread_nolock, O_DIRECT and fast_commit support!
EXT4-fs (loop0): orphan cleanup on readonly fs
------------[ cut here ]------------
WARNING: CPU: 1 PID: 5067 at fs/ext4/mballoc.c:1869 mb_find_extent+0x8a1/0xe30
Modules linked in:
CPU: 1 PID: 5067 Comm: syz-executor307 Not tainted 6.2.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
RIP: 0010:mb_find_extent+0x8a1/0xe30 fs/ext4/mballoc.c:1869
RSP: 0018:ffffc90003c9e098 EFLAGS: 00010293
RAX: ffffffff82405731 RBX: 0000000000000041 RCX: ffff8880783457c0
RDX: 0000000000000000 RSI: 0000000000000041 RDI: 0000000000000040
RBP: 0000000000000040 R08: ffffffff82405723 R09: ffffed10053c9402
R10: ffffed10053c9402 R11: 1ffff110053c9401 R12: 0000000000000000
R13: ffffc90003c9e538 R14: dffffc0000000000 R15: ffffc90003c9e2cc
FS: 0000555556665300(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000056312f6796f8 CR3: 0000000022437000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 ext4_mb_complex_scan_group+0x353/0x1100 fs/ext4/mballoc.c:2307
 ext4_mb_regular_allocator+0x1533/0x3860 fs/ext4/mballoc.c:2735
 ext4_mb_new_blocks+0xddf/0x3db0 fs/ext4/mballoc.c:5605
 ext4_ext_map_blocks+0x1868/0x6880 fs/ext4/extents.c:4286
 ext4_map_blocks+0xa49/0x1cc0 fs/ext4/inode.c:651
 ext4_getblk+0x1b9/0x770 fs/ext4/inode.c:864
 ext4_bread+0x2a/0x170 fs/ext4/inode.c:920
 ext4_quota_write+0x225/0x570 fs/ext4/super.c:7105
 write_blk fs/quota/quota_tree.c:64 [inline]
 get_free_dqblk+0x34a/0x6d0 fs/quota/quota_tree.c:130
 do_insert_tree+0x26b/0x1aa0 fs/quota/quota_tree.c:340
 do_insert_tree+0x722/0x1aa0 fs/quota/quota_tree.c:375
 do_insert_tree+0x722/0x1aa0 fs/quota/quota_tree.c:375
 do_insert_tree+0x722/0x1aa0 fs/quota/quota_tree.c:375
 dq_insert_tree fs/quota/quota_tree.c:401 [inline]
 qtree_write_dquot+0x3b6/0x530 fs/quota/quota_tree.c:420
 v2_write_dquot+0x11b/0x190 fs/quota/quota_v2.c:358
 dquot_acquire+0x348/0x670 fs/quota/dquot.c:444
 ext4_acquire_dquot+0x2dc/0x400 fs/ext4/super.c:6740
 dqget+0x999/0xdc0 fs/quota/dquot.c:914
 __dquot_initialize+0x3d0/0xcf0 fs/quota/dquot.c:1492
 ext4_process_orphan+0x57/0x2d0 fs/ext4/orphan.c:329
 ext4_orphan_cleanup+0xb60/0x1340 fs/ext4/orphan.c:474
 __ext4_fill_super fs/ext4/super.c:5516 [inline]
 ext4_fill_super+0x81cd/0x8700 fs/ext4/super.c:5644
 get_tree_bdev+0x400/0x620 fs/super.c:1282
 vfs_get_tree+0x88/0x270 fs/super.c:1489
 do_new_mount+0x289/0xad0 fs/namespace.c:3145
 do_mount fs/namespace.c:3488 [inline]
 __do_sys_mount fs/namespace.c:3697 [inline]
 __se_sys_mount+0x2d3/0x3c0 fs/namespace.c:3674
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

Add some debug information:
mb_find_extent: mb_find_extent block=41, order=0 needed=64 next=0 ex=0/41/1@3735929054 64 64 7
block_bitmap: ff 3f 0c 00 fc 01 00 00 d2 3d 00 00 00 00 00 00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff

Acctually, blocks per group is 64, but block bitmap indicate at least has
128 blocks. Now, ext4_validate_block_bitmap() didn't check invalid block's
bitmap if set.
To resolve above issue, add check like fsck "Padding at end of block bitmap is
not set".

Source: OX vulnerability database

Severity

5.5 · MEDIUM

CVSS 3.1 base score, scored by NVD.

Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected packages · 0

No registry package. This ID affects operating system packages only.

Operating systems · 96 fixes

Photon OS 1 release · 1 package

fixed 1
bpftool
Photon OS fixes for CVE-2023-53317
ReleasePackageFixed in
4.0 bpftool +9 5.10.46-2.ph4

Red Hat 3 releases · 3 packages

eol 1 affected 2 fixed 2
bpftool kernel-rt kernel
Red Hat fixes for CVE-2023-53317
ReleasePackageFixed inAdvisory
7 bpftool +25 eol —
8 bpftool +45 affected —
9 kernel-rt +20 affected —
9 kernel +60 0:5.14.0-427.13.1.el9_4 RHSA-2024:2394
9 bpftool 0:7.3.0-427.13.1.el9_4 RHSA-2024:2394

SUSE Linux Enterprise 3 releases · 5 packages

fixed 8
kgraft-patch-4-12-14-122-275-default cluster-md-kmp-default kernel-livepatch-5-14-21-150400-24-179-default kernel-default-base kernel-livepatch-5-14-21-150500-55-124-default
SUSE Linux Enterprise fixes for CVE-2023-53317
ReleasePackageFixed inAdvisory
12.5 kgraft-patch-4-12-14-122-275-default 1-8.3.1 SUSE-SU-2025:03614-1
12.5 cluster-md-kmp-default +13 4.12.14-122.275.1 SUSE-SU-2025:03614-1
15.4 kernel-livepatch-5-14-21-150400-24-179-default 1-150400.9.3.1 SUSE-SU-2025:03628-1
15.4 cluster-md-kmp-default +17 5.14.21-150400.24.179.1 SUSE-SU-2025:03628-1
15.4 kernel-default-base 5.14.21-150400.24.179.1.150400.24.92.1 SUSE-SU-2025:03628-1
15.5 kernel-livepatch-5-14-21-150500-55-124-default 1-150500.11.3.1 SUSE-SU-2025:03615-1

2 more rows

SUSE Linux Enterprise Micro 3 releases · 4 packages

fixed 9
kernel-rt kernel-default kernel-default-base kernel-devel-rt
SUSE Linux Enterprise Micro fixes for CVE-2023-53317
ReleasePackageFixed inAdvisory
5.3 kernel-rt +1 5.14.21-150400.15.133.1 SUSE-SU-2025:3716-1
5.3 kernel-default 5.14.21-150400.24.179.1 SUSE-SU-2025:03628-1
5.3 kernel-default-base 5.14.21-150400.24.179.1.150400.24.92.1 SUSE-SU-2025:03628-1
5.4 kernel-rt +1 5.14.21-150400.15.133.1 SUSE-SU-2025:3716-1
5.4 kernel-default 5.14.21-150400.24.179.1 SUSE-SU-2025:03628-1
5.4 kernel-default-base 5.14.21-150400.24.179.1.150400.24.92.1 SUSE-SU-2025:03628-1

3 more rows

amazon linux 1 release · 2 packages

fixed 2
kernel-livepatch-6-1-29-47-49 bpftool
amazon linux fixes for CVE-2023-53317
ReleasePackageFixed in
2023 kernel-livepatch-6-1-29-47-49 1.0-0.amzn2023
2023 bpftool +17 6.1.29-47.49.amzn2023

debian 4 releases · 1 package

fixed 4
linux
debian fixes for CVE-2023-53317
ReleasePackageFixed in
11 linux 5.10.191-1
12 linux 6.1.37-1
13 linux 6.3.7-1
14 linux 6.3.7-1

echo 1 release · 1 package

fixed 1
linux
echo fixes for CVE-2023-53317
ReleasePackageFixed in
linux 6.3.7-1

root.io debian 3 releases · 1 package

fixed 3
rootio-linux
root.io debian fixes for CVE-2023-53317
ReleasePackageFixed in
11 rootio-linux 5.10.191-1
12 rootio-linux 6.1.37-1
13 rootio-linux 6.3.7-1

root.io ubuntu 1 release · 1 package

fixed 1
rootio-linux
root.io ubuntu fixes for CVE-2023-53317
ReleasePackageFixed in
22.04 rootio-linux 5.15.0-83.92

ubuntu 4 releases · 34 packages

affected 1 fixed 61
linux linux-ibm-5-4 linux-raspi-5-4 linux-oracle-5-4 linux-aws-5-4 linux-gcp-5-4 +28
ubuntu fixes for CVE-2023-53317
ReleasePackageFixed in
18.04-ESM linux +5 affected
18.04-ESM linux-ibm-5-4 5.4.0-1056.61~18.04.1
18.04-ESM linux-raspi-5-4 5.4.0-1093.104~18.04.1
18.04-ESM linux-oracle-5-4 5.4.0-1108.117~18.04.1
18.04-ESM linux-aws-5-4 5.4.0-1109.118~18.04.1
18.04-ESM linux-gcp-5-4 5.4.0-1112.121~18.04.1

56 more rows

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.