Read the docs
TI-2022-24918 Aliases CVE-2022-49409GHSA-2vcg-f87x-8hhf

ext4: fix bug_on in __es_tree_search

Priority LOW 24CWE-617Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Partial Red Hat: 5 fixed, 4 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-617.

Summary

In the Linux kernel, the following vulnerability has been resolved: ext4: fix bug_on in __es_tree_search Hulk Robot reported a BUG_ON: ================================================================== kernel BUG at fs/ext4/extents_status.c:199! [...] RIP: 0010:ext4_es_end fs/ext4/extents_status.c:199 [inline] RIP: 0010:__es_tree_search+0x1e0/0x260 fs/ext4/extents_status.c:217 [...] Call Trace: ext4_es_cache_extent+0x109/0x340 fs/ext4/extents_status.c:766 ext4_cache_extents+0x239/0x2e0 fs/ext4/extents.c:561 ext4_find_extent+0x6b7/0xa20 fs/ext4/extents.c:964 ext4_ext_map_blocks+0x16b/0x4b70 fs/ext4/extents.c:4384 ext4_map_blocks+0xe26/0x19f0 fs/ext4/inode.c:567 ext4_getblk+0x320/0x4c0 fs/ext4/inode.c:980 ext4_bread+0x2d/0x170 fs/ext4/inode.c:1031 ext4_quota_read+0x248/0x320 fs/ext4/super.c:6257 v2_read_header+0x78/0x110 fs/quota/quota_v2.c:63 v2_check_quota_file+0x76/0x230 fs/quota/quota_v2.c:82 vfs_load_quota_inode+0x5d1/0x1530 fs/quota/dquot.c:2368 dquot_enable+0x28a/0x330 fs/quota/dquot.c:2490 ext4_quota_enable fs/ext4/super.c:6137 [inline] ext4_enable_quotas+0x5d7/0x960 fs/ext4/super.c:6163 ext4_fill_super+0xa7c9/0xdc00 fs/ext4/super.c:4754 mount_bdev+0x2e9/0x3b0 fs/super.c:1158 mount_fs+0x4b/0x1e4 fs/super.c:1261 [...] ================================================================== Above issue may happen as follows: ------------------------------------- ext4_fill_super ext4_enable_quotas ext4_quota_enable ext4_iget __ext4_iget ext4_ext_check_inode ext4_ext_check __ext4_ext_check ext4_valid_extent_entries Check for overlapping extents does't take effect dquot_enable vfs_load_quota_inode v2_check_quota_file v2_read_header ext4_quota_read ext4_bread ext4_getblk ext4_map_blocks ext4_ext_map_blocks ext4_find_extent ext4_cache_extents ext4_es_cache_extent ext4_es_cache_extent __es_tree_search ext4_es_end BUG_ON(es->es_lblk + es->es_len < es->es_lblk) The error ext4 extents is as follows: 0af3 0300 0400 0000 00000000 extent_header 00000000 0100 0000 12000000 extent1 00000000 0100 0000 18000000 extent2 02000000 0400 0000 14000000 extent3 In the ext4_valid_extent_entries function, if prev is 0, no error is returned even if lblock<=prev. This was intended to skip the check on the first extent, but in the error image above, prev=0+1-1=0 when checking the second extent, so even though lblock<=prev, the function does not return an error. As a result, bug_ON occurs in __es_tree_search and the system panics. To solve this problem, we only need to check that: 1. The lblock of the first extent is not less than 0. 2. The lblock of the next extent is not less than the next block of the previous extent. The same applies to extent_idx.

Why it matters now

EPSS 0.00269 19th percentileScored 2026-11-07
Fix Partial Linux (Linux): 3.3, 3.5, 3.11 +7Red Hat: 2 advisoriesRed Hat: 5 fixed, 4 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
LinuxLinux3.2.55 to before 3.3; 3.4.76 to before 3.5; 3.10.26 to before 3.11; 3.12.7 to before 3.133.3, 3.5, 3.11, 3.13Patch availableCNA
LinuxLinux3.13 and later5.4.277, 5.10.121, 5.15.46, 5.17.14, 5.18.3, 5.19Patch availableCNA
  • Linux VendorLinux Affected 3.2.55 to before 3.3; 3.4.76 to before 3.5; 3.10.26 to before 3.11; 3.12.7 to before 3.13 Fixed in 3.3, 3.5, 3.11, 3.13 Patch available CNA
  • Linux VendorLinux Affected 3.13 and later Fixed in 5.4.277, 5.10.121, 5.15.46, 5.17.14, 5.18.3, 5.19 Patch available CNA

CPE configurations NVD · 5

CPEVersionsRoleVendor
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*3.2.55 to before 3.3; 3.4.76 to before 3.5; 3.10.26 to before 3.11; 3.12.7 to before 3.13; 3.13.1 to before 5.4.277; 5.5 to before 5.10.121; 5.11 to before 5.15.46; 5.16 to before 5.17.14; 5.18 to before 5.18.3VulnerableLinux
cpe:2.3:o:linux:linux_kernel:3.13:-:*:*:*:*:*:*3.13VulnerableLinux
cpe:2.3:o:linux:linux_kernel:3.13:rc6:*:*:*:*:*:*3.13 rc6VulnerableLinux
cpe:2.3:o:linux:linux_kernel:3.13:rc7:*:*:*:*:*:*3.13 rc7VulnerableLinux
cpe:2.3:o:linux:linux_kernel:3.13:rc8:*:*:*:*:*:*3.13 rc8VulnerableLinux
  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 3.2.55 to before 3.3; 3.4.76 to before 3.5; 3.10.26 to before 3.11; 3.12.7 to before 3.13; 3.13.1 to before 5.4.277; 5.5 to before 5.10.121; 5.11 to before 5.15.46; 5.16 to before 5.17.14; 5.18 to before 5.18.3 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:3.13:-:*:*:*:*:*:* Versions 3.13 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:3.13:rc6:*:*:*:*:*:* Versions 3.13 rc6 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:3.13:rc7:*:*:*:*:*:* Versions 3.13 rc7 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:3.13:rc8:*:*:*:*:*:* Versions 3.13 rc8 Vulnerable ·Linux

Remediation

  • Fix · CNA Linux (Linux) Fixed in 3.3, 3.5, 3.11, 3.13
  • Fix · CNA Linux (Linux) Fixed in 5.4.277, 5.10.121, 5.15.46, 5.17.14, 5.18.3, 5.19

Red Hat 2 advisories

  • RHSA-2022:8267 Released 2022-11-15 · Red Hat rating Moderate
    kernel security, bug fix, and enhancement update
    • Red Hat CodeReady Linux Builder (v. 9) kernel-tools-libs-devel-5.14.0-162.6.1.el9_1
    • Red Hat Enterprise Linux AppStream (v. 9) kernel-debug-devel-5.14.0-162.6.1.el9_1, kernel-debug-devel-matched-5.14.0-162.6.1.el9_1, kernel-devel-5.14.0-162.6.1.el9_1 +5
    • Red Hat Enterprise Linux BaseOS (v. 9) bpftool-5.14.0-162.6.1.el9_1, kernel-5.14.0-162.6.1.el9_1, kernel-abi-stablelists-5.14.0-162.6.1.el9_1 +14
  • RHSA-2022:7683 Released 2022-11-08 · Red Hat rating Moderate
    kernel security, bug fix, and enhancement update
    • Red Hat CodeReady Linux Builder (v. 8) kernel-tools-libs-devel-4.18.0-425.3.1.el8
    • Red Hat Enterprise Linux BaseOS (v. 8) bpftool-4.18.0-425.3.1.el8, kernel-4.18.0-425.3.1.el8, kernel-abi-stablelists-4.18.0-425.3.1.el8 +19

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 6AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 7AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 8AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 9AffectedNo fix yet
Red Hat CodeReady Linux Builder (v. 8)Fixed RHSA-2022:7683
Red Hat CodeReady Linux Builder (v. 9)Fixed RHSA-2022:8267
Red Hat Enterprise Linux AppStream (v. 9)Fixed RHSA-2022:8267
Red Hat Enterprise Linux BaseOS (v. 8)Fixed RHSA-2022:7683
Red Hat Enterprise Linux BaseOS (v. 9)Fixed RHSA-2022:8267
Not affected: 1 product
  • Red Hat Enterprise Linux 10

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-49409
  2. 2026-10-03 Alias added: GHSA-2vcg-f87x-8hhf

References

  • TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
  • TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
  • TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
  • TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
  • TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
  • TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
See all 15278 →

Sources