Read the docs
TI-2023-29253 Aliases CVE-2023-52933GHSA-f76f-mm36-mf6v

Squashfs: fix handling and sanity checking of xattr_ids count

Priority LOW 24CWE-190Published · 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: 18 fixed, 2 without a fix

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

Summary

In the Linux kernel, the following vulnerability has been resolved: Squashfs: fix handling and sanity checking of xattr_ids count A Sysbot [1] corrupted filesystem exposes two flaws in the handling and sanity checking of the xattr_ids count in the filesystem. Both of these flaws cause computation overflow due to incorrect typing. In the corrupted filesystem the xattr_ids value is 4294967071, which stored in a signed variable becomes the negative number -225. Flaw 1 (64-bit systems only): The signed integer xattr_ids variable causes sign extension. This causes variable overflow in the SQUASHFS_XATTR_*(A) macros. The variable is first multiplied by sizeof(struct squashfs_xattr_id) where the type of the sizeof operator is "unsigned long". On a 64-bit system this is 64-bits in size, and causes the negative number to be sign extended and widened to 64-bits and then become unsigned. This produces the very large number 18446744073709548016 or 2^64 - 3600. This number when rounded up by SQUASHFS_METADATA_SIZE - 1 (8191 bytes) and divided by SQUASHFS_METADATA_SIZE overflows and produces a length of 0 (stored in len). Flaw 2 (32-bit systems only): On a 32-bit system the integer variable is not widened by the unsigned long type of the sizeof operator (32-bits), and the signedness of the variable has no effect due it always being treated as unsigned. The above corrupted xattr_ids value of 4294967071, when multiplied overflows and produces the number 4294963696 or 2^32 - 3400. This number when rounded up by SQUASHFS_METADATA_SIZE - 1 (8191 bytes) and divided by SQUASHFS_METADATA_SIZE overflows again and produces a length of 0. The effect of the 0 length computation: In conjunction with the corrupted xattr_ids field, the filesystem also has a corrupted xattr_table_start value, where it matches the end of filesystem value of 850. This causes the following sanity check code to fail because the incorrectly computed len of 0 matches the incorrect size of the table reported by the superblock (0 bytes). len = SQUASHFS_XATTR_BLOCK_BYTES(*xattr_ids); indexes = SQUASHFS_XATTR_BLOCKS(*xattr_ids); /* * The computed size of the index table (len bytes) should exactly * match the table start and end points */ start = table_start + sizeof(*id_table); end = msblk->bytes_used; if (len != (end - start)) return ERR_PTR(-EINVAL); Changing the xattr_ids variable to be "usigned int" fixes the flaw on a 64-bit system. This relies on the fact the computation is widened by the unsigned long type of the sizeof operator. Casting the variable to u64 in the above macro fixes this flaw on a 32-bit system. It also means 64-bit systems do not implicitly rely on the type of the sizeof operator to widen the computation. [1] https://lore.kernel.org/lkml/[email protected]/

Why it matters now

EPSS 0.00267 18th percentileScored 2026-11-07
Fix Partial Linux (Linux): 4.14.306, 4.19.273, 5.4.232 +6Red Hat: 6 advisoriesRed Hat: 18 fixed, 2 without a fix

SSVC decision points

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

Affected products

VendorProductAffected versionsFixed inStatusSource
LinuxLinux4.14.222 to before 4.14.306; 4.19.176 to before 4.19.273; 5.4.98 to before 5.4.232; 5.10.16 to before 5.10.168; 4.4.258 to before 4.5; 4.9.258 to before 4.104.14.306, 4.19.273, 5.4.232, 5.10.168, 4.5, 4.10Patch availableCNA
LinuxLinux5.11 and later4.14.306, 4.19.273, 5.4.232, 5.10.168, 5.15.93, 6.1.11, 6.2Patch availableCNA
  • Linux VendorLinux Affected 4.14.222 to before 4.14.306; 4.19.176 to before 4.19.273; 5.4.98 to before 5.4.232; 5.10.16 to before 5.10.168; 4.4.258 to before 4.5; 4.9.258 to before 4.10 Fixed in 4.14.306, 4.19.273, 5.4.232, 5.10.168, 4.5, 4.10 Patch available CNA
  • Linux VendorLinux Affected 5.11 and later Fixed in 4.14.306, 4.19.273, 5.4.232, 5.10.168, 5.15.93, 6.1.11, 6.2 Patch available CNA

CPE configurations NVD · 8

CPEVersionsRoleVendor
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*4.4.258 to before 4.5; 4.9.258 to before 4.10; 4.14.222 to before 4.14.306; 4.19.176 to before 4.19.273; 5.4.98 to before 5.4.232; 5.10.16 to before 5.10.168; 5.11.1 to before 5.15.93; 5.16 to before 6.1.11VulnerableLinux
cpe:2.3:o:linux:linux_kernel:5.11:-:*:*:*:*:*:*5.11VulnerableLinux
cpe:2.3:o:linux:linux_kernel:6.2:rc1:*:*:*:*:*:*6.2 rc1VulnerableLinux
cpe:2.3:o:linux:linux_kernel:6.2:rc2:*:*:*:*:*:*6.2 rc2VulnerableLinux
cpe:2.3:o:linux:linux_kernel:6.2:rc3:*:*:*:*:*:*6.2 rc3VulnerableLinux
cpe:2.3:o:linux:linux_kernel:6.2:rc4:*:*:*:*:*:*6.2 rc4VulnerableLinux
cpe:2.3:o:linux:linux_kernel:6.2:rc5:*:*:*:*:*:*6.2 rc5VulnerableLinux
cpe:2.3:o:linux:linux_kernel:6.2:rc6:*:*:*:*:*:*6.2 rc6VulnerableLinux
  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 4.4.258 to before 4.5; 4.9.258 to before 4.10; 4.14.222 to before 4.14.306; 4.19.176 to before 4.19.273; 5.4.98 to before 5.4.232; 5.10.16 to before 5.10.168; 5.11.1 to before 5.15.93; 5.16 to before 6.1.11 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:5.11:-:*:*:*:*:*:* Versions 5.11 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:6.2:rc1:*:*:*:*:*:* Versions 6.2 rc1 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:6.2:rc2:*:*:*:*:*:* Versions 6.2 rc2 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:6.2:rc3:*:*:*:*:*:* Versions 6.2 rc3 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:6.2:rc4:*:*:*:*:*:* Versions 6.2 rc4 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:6.2:rc5:*:*:*:*:*:* Versions 6.2 rc5 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:6.2:rc6:*:*:*:*:*:* Versions 6.2 rc6 Vulnerable ·Linux

Remediation

  • Fix · CNA Linux (Linux) Fixed in 4.14.306, 4.19.273, 5.4.232, 5.10.168, 4.5, 4.10
  • Fix · CNA Linux (Linux) Fixed in 4.14.306, 4.19.273, 5.4.232, 5.10.168, 5.15.93, 6.1.11, 6.2

Red Hat 6 advisories

  • RHSA-2025:11245 Released 2025-07-15 · Red Hat rating Important
    kernel security update
    • Red Hat CodeReady Linux Builder EUS (v.9.4) kernel-tools-libs-devel-5.14.0-427.77.1.el9_4, libperf-5.14.0-427.77.1.el9_4
    • Red Hat Enterprise Linux AppStream EUS (v.9.4) kernel-64k-debug-devel-5.14.0-427.77.1.el9_4, kernel-64k-debug-devel-matched-5.14.0-427.77.1.el9_4, kernel-64k-devel-5.14.0-427.77.1.el9_4 +11
    • Red Hat Enterprise Linux BaseOS EUS (v.9.4) bpftool-7.3.0-427.77.1.el9_4, kernel-5.14.0-427.77.1.el9_4, kernel-64k-5.14.0-427.77.1.el9_4 +29
    • Red Hat Enterprise Linux Real Time EUS (v.9.4) kernel-rt-5.14.0-427.77.1.el9_4, kernel-rt-core-5.14.0-427.77.1.el9_4, kernel-rt-debug-5.14.0-427.77.1.el9_4 +9
    • Red Hat Enterprise Linux Real Time for NFV EUS (v.9.4) kernel-rt-5.14.0-427.77.1.el9_4, kernel-rt-core-5.14.0-427.77.1.el9_4, kernel-rt-debug-5.14.0-427.77.1.el9_4 +11
  • RHSA-2025:11045 Released 2025-07-15 · Red Hat rating Moderate
    kernel security update
    • Red Hat Enterprise Linux AppStream E4S (v.9.2) kernel-64k-debug-devel-5.14.0-284.125.1.el9_2, kernel-64k-debug-devel-matched-5.14.0-284.125.1.el9_2, kernel-64k-devel-5.14.0-284.125.1.el9_2 +10
    • Red Hat Enterprise Linux BaseOS E4S (v.9.2) bpftool-7.0.0-284.125.1.el9_2, kernel-5.14.0-284.125.1.el9_2, kernel-64k-5.14.0-284.125.1.el9_2 +29
  • RHSA-2025:10830 Released 2025-07-14 · Red Hat rating Important
    kernel security update
    • Red Hat Enterprise Linux AppStream E4S (v.9.0) kernel-debug-devel-5.14.0-70.138.1.el9_0, kernel-debug-devel-matched-5.14.0-70.138.1.el9_0, kernel-devel-5.14.0-70.138.1.el9_0 +5
    • Red Hat Enterprise Linux BaseOS E4S (v.9.0) bpftool-5.14.0-70.138.1.el9_0, kernel-5.14.0-70.138.1.el9_0, kernel-abi-stablelists-5.14.0-70.138.1.el9_0 +14
Show 3 more Red Hat advisories
  • RHSA-2025:10829 Released 2025-07-14 · Red Hat rating Important
    kernel-rt security update
    • Red Hat Enterprise Linux NFV E4S (v.9.0) kernel-rt-5.14.0-70.138.1.rt21.210.el9_0, kernel-rt-core-5.14.0-70.138.1.rt21.210.el9_0, kernel-rt-debug-5.14.0-70.138.1.rt21.210.el9_0 +9
    • Red Hat Enterprise Linux Real Time E4S (v.9.0) kernel-rt-5.14.0-70.138.1.rt21.210.el9_0, kernel-rt-core-5.14.0-70.138.1.rt21.210.el9_0, kernel-rt-debug-5.14.0-70.138.1.rt21.210.el9_0 +7
  • RHSA-2025:10527 Released 2025-07-07 · Red Hat rating Moderate
    kernel-rt security update
    • Red Hat Enterprise Linux Real Time E4S (v.9.2) kernel-rt-5.14.0-284.125.1.rt14.410.el9_2, kernel-rt-core-5.14.0-284.125.1.rt14.410.el9_2, kernel-rt-debug-5.14.0-284.125.1.rt14.410.el9_2 +9
    • Red Hat Enterprise Linux Real Time for NFV E4S (v.9.2) kernel-rt-5.14.0-284.125.1.rt14.410.el9_2, kernel-rt-core-5.14.0-284.125.1.rt14.410.el9_2, kernel-rt-debug-5.14.0-284.125.1.rt14.410.el9_2 +11
  • RHSA-2025:9880 Released 2025-06-30 · Red Hat rating Moderate
    kernel security update
    • Red Hat Enterprise Linux AppStream (v. 9) kernel-64k-debug-devel-5.14.0-570.24.1.el9_6, kernel-64k-debug-devel-matched-5.14.0-570.24.1.el9_6, kernel-64k-devel-5.14.0-570.24.1.el9_6 +12
    • Red Hat Enterprise Linux BaseOS (v. 9) kernel-5.14.0-570.24.1.el9_6, kernel-64k-5.14.0-570.24.1.el9_6, kernel-64k-core-5.14.0-570.24.1.el9_6 +28
    • Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) kernel-tools-libs-devel-5.14.0-570.24.1.el9_6, libperf-5.14.0-570.24.1.el9_6
    • Red Hat Enterprise Linux Real Time (v. 9) kernel-rt-5.14.0-570.24.1.el9_6, kernel-rt-64k-5.14.0-570.24.1.el9_6, kernel-rt-64k-core-5.14.0-570.24.1.el9_6 +21
    • Red Hat Enterprise Linux Real Time for NFV (v. 9) kernel-rt-5.14.0-570.24.1.el9_6, kernel-rt-core-5.14.0-570.24.1.el9_6, kernel-rt-debug-5.14.0-570.24.1.el9_6 +11

Vendor assessments

Red Hat

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

ProductStatusPlan or fix
Red Hat Enterprise Linux 7AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 9AffectedNo fix yet
Red Hat CodeReady Linux Builder EUS (v.9.4)Fixed RHSA-2025:11245
Red Hat Enterprise Linux AppStream (v. 9)Fixed RHSA-2025:9880
Red Hat Enterprise Linux AppStream E4S (v.9.0)Fixed RHSA-2025:10830
Red Hat Enterprise Linux AppStream E4S (v.9.2)Fixed RHSA-2025:11045
Red Hat Enterprise Linux AppStream EUS (v.9.4)Fixed RHSA-2025:11245
Red Hat Enterprise Linux BaseOS (v. 9)Fixed RHSA-2025:9880
Red Hat Enterprise Linux BaseOS E4S (v.9.0)Fixed RHSA-2025:10830
Red Hat Enterprise Linux BaseOS E4S (v.9.2)Fixed RHSA-2025:11045
Red Hat Enterprise Linux BaseOS EUS (v.9.4)Fixed RHSA-2025:11245
Red Hat Enterprise Linux CodeReady Linux Builder (v. 9)Fixed RHSA-2025:9880
Red Hat Enterprise Linux NFV E4S (v.9.0)Fixed RHSA-2025:10829
Red Hat Enterprise Linux Real Time (v. 9)Fixed RHSA-2025:9880
Red Hat Enterprise Linux Real Time E4S (v.9.0)Fixed RHSA-2025:10829
Red Hat Enterprise Linux Real Time E4S (v.9.2)Fixed RHSA-2025:10527
Red Hat Enterprise Linux Real Time EUS (v.9.4)Fixed RHSA-2025:11245
Red Hat Enterprise Linux Real Time for NFV (v. 9)Fixed RHSA-2025:9880
Red Hat Enterprise Linux Real Time for NFV E4S (v.9.2)Fixed RHSA-2025:10527
Red Hat Enterprise Linux Real Time for NFV EUS (v.9.4)Fixed RHSA-2025:11245
Not affected: 3 products
  • Red Hat Enterprise Linux 10
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 8

Timeline

  1. 2026-10-02 Threatist record created from CVE-2023-52933
  2. 2026-10-03 Alias added: GHSA-f76f-mm36-mf6v

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