cve.bz

CVE-2023-52933 linux linux kernel: Year 2038 problem, Y2K38, Y2038, Epochalypse

5.5 mediumEPSS 0.3%Fix available

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

On this page
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/000000000000cd44f005f1a0f17f@google.com/

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.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 19th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-190 Integer Overflow or Wraparound (Year 2038 problem, Y2K38, Y2038, Epochalypse)
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-52933 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-52933?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-52933?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-2023-52933 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 4.14.222 before 4.14.306
Linuxfrom 4.19.176 before 4.19.273
Linuxfrom 5.4.98 before 5.4.232
Linuxfrom 5.10.16 before 5.10.168
Linuxfrom 4.4.258 before 4.5
Linuxfrom 4.9.258 before 4.10
Linux5.11 and later

Fixed in

ProductRelease lineFixed in
Linux4.144.14.306
Linux4.194.19.273
Linux5.45.4.232
Linux5.105.10.168
Linux5.155.15.93
Linux6.16.1.11
Linuxlater releases6.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14linux6.1.11-1DEBIAN-CVE-2023-52933
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2023-52933
Ubuntu18.04:LTSlinux4.15.0-211.222UBUNTU-CVE-2023-52933
Ubuntu18.04:LTSlinux-aws4.15.0-1156.169UBUNTU-CVE-2023-52933
Ubuntu18.04:LTSlinux-aws-5.45.4.0-1103.111~18.04.1UBUNTU-CVE-2023-52933
Ubuntu18.04:LTSlinux-azure-4.154.15.0-1165.180UBUNTU-CVE-2023-52933
Ubuntu18.04:LTSlinux-azure-5.45.4.0-1108.114~18.04.1UBUNTU-CVE-2023-52933
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2023-52933
Ubuntu18.04:LTSlinux-gcp-4.154.15.0-1150.166UBUNTU-CVE-2023-52933
Ubuntu18.04:LTSlinux-gcp-5.45.4.0-1105.114~18.04.1UBUNTU-CVE-2023-52933
Ubuntu18.04:LTSlinux-hwe-5.45.4.0-149.166~18.04.1UBUNTU-CVE-2023-52933
Ubuntu18.04:LTSlinux-ibm-5.45.4.0-1049.54~18.04.1UBUNTU-CVE-2023-52933
Ubuntu18.04:LTSlinux-kvm4.15.0-1140.145UBUNTU-CVE-2023-52933
57 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:9::appstreamrv, perf, rtla and 29 more0:5.14.0-570.24.1.el9_6RHSA-2025:9880
Red Hatenterprise_linux:9::baseoskernel, kernel-64k, kernel-core and 45 more0:5.14.0-570.24.1.el9_6RHSA-2025:9880
Red Hatenterprise_linux:9::crblibperf, perf-debuginfo, kernel-debuginfo and 16 more0:5.14.0-570.24.1.el9_6RHSA-2025:9880
Red Hatenterprise_linux:9::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 20 more0:5.14.0-570.24.1.el9_6RHSA-2025:9880
Red Hatenterprise_linux:9::realtimekernel-rt, kernel-rt-64k, kernel-rt-core and 35 more0:5.14.0-570.24.1.el9_6RHSA-2025:9880
Red Hatrhel_e4s:9.0::appstreamperf, kernel-doc, kernel-devel and 16 more0:5.14.0-70.138.1.el9_0RHSA-2025:10830
Red Hatrhel_e4s:9.0::baseoskernel, bpftool, kernel-core and 25 more0:5.14.0-70.138.1.el9_0RHSA-2025:10830
Red Hatrhel_e4s:9.0::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 12 more0:5.14.0-70.138.1.rt21.210.el9_0RHSA-2025:10829
Red Hatrhel_e4s:9.0::realtimekernel-rt, kernel-rt-core, kernel-rt-debug and 10 more0:5.14.0-70.138.1.rt21.210.el9_0RHSA-2025:10829
Red Hatrhel_e4s:9.2::appstreambpftool-debuginfo0:7.0.0-284.125.1.el9_2RHSA-2025:11045
Red Hatrhel_e4s:9.2::appstreamperf, rtla, kernel-doc and 22 more0:5.14.0-284.125.1.el9_2RHSA-2025:11045
Red Hatrhel_e4s:9.2::baseosbpftool, bpftool-debuginfo0:7.0.0-284.125.1.el9_2RHSA-2025:11045
10 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Availability Extension 15 SP4, Linux Enterprise Live Patching 15 SP4, Linux Enterprise Micro 5.3 and 1 morekernel-default5.14.21-150400.24.161.1SUSE-SU-2025:1195-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSSkernel-64kb, kernel-docs, kernel-syms and 3 more5.14.21-150400.24.161.1SUSE-SU-2025:1195-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Micro 5.3 and 5 morekernel-default-base5.14.21-150400.24.161.1.150400.24.80.1SUSE-SU-2025:1195-1
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSSkernel-64kb, kernel-docs, kernel-syms and 3 more5.14.21-150500.55.100.1SUSE-SU-2025:1241-1
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSS, Linux Enterprise Micro 5.5 and 2 morekernel-default-base5.14.21-150500.55.100.1.150500.6.47.1SUSE-SU-2025:1241-1
SUSELinux Enterprise Live Patching 12 SP5kernel-default4.12.14-122.255.1SUSE-SU-2025:1293-1
SUSELinux Enterprise Live Patching 12 SP5kgraft-patch-SLE12-SP5_Update_671-8.5.1SUSE-SU-2025:1293-1
SUSELinux Enterprise Live Patching 15 SP4kernel-livepatch-SLE15-SP4_Update_391-150400.9.3.1SUSE-SU-2025:1195-1
SUSELinux Enterprise Live Patching 15 SP5kernel-default5.14.21-150500.55.100.1SUSE-SU-2025:1241-1
SUSELinux Enterprise Live Patching 15 SP5kernel-livepatch-SLE15-SP5_Update_251-150500.11.3.1SUSE-SU-2025:1241-1
SUSELinux Enterprise Micro 5.3, Linux Enterprise Micro 5.4kernel-rt, kernel-source-rt5.14.21-150400.15.115.1SUSE-SU-2025:1183-1
SUSELinux Enterprise Micro 5.5kernel-rt, kernel-source-rt5.14.21-150500.13.91.1SUSE-SU-2025:1176-1
8 more for SUSE in the JSON and on SUSE's page.
AlmaLinux9rv, perf, rtla and 73 more5.14.0-570.24.1.el9_6ALSA-2025:9880
Alpaquitastreamlinux-lts6.6.58-r0BELL-CVE-2023-52933

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; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is rated as Moderate impact because successful exploitation requires mounting a maliciously crafted SquashFS filesystem image, limiting the attack surface to local users with mount privileges. On standard Red Hat Enterprise Linux installations, mounting arbitrary file systems is restricted to privileged administrators, preventing unprivileged users from triggering the bug under default configurations. While processing the malformed extended attribute data can cause kernel memory errors and lead to a denial of service, the blast radius is contained to systems where untrusted images can be mounted.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 9kernel-0:5.14.0-570.24.1.el9_6Fixed 2025-06-30RHSA-2025:9880
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionskernel-0:5.14.0-70.138.1.el9_0Fixed 2025-07-14RHSA-2025:10830
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionskernel-rt-0:5.14.0-70.138.1.rt21.210.el9_0Fixed 2025-07-14RHSA-2025:10829
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionskernel-0:5.14.0-284.125.1.el9_2Fixed 2025-07-15RHSA-2025:11045
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionskernel-rt-0:5.14.0-284.125.1.rt14.410.el9_2Fixed 2025-07-07RHSA-2025:10527
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 10kernelNot affected
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelOut of support scope
Red Hat Enterprise Linux 7kernel-rtOut of support scope
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Linux 8kernel-rtNot affected
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-2023-52933.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON