{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-52933 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2023-52933 is a medium-severity vulnerability in Linux kernel, published on 27 Mar 2025. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-52933 and fix it if it is affected.\n\nWhat it is: CVE-2023-52933 is a medium-severity vulnerability in Linux kernel, published on 27 Mar 2025. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-52933 in the wild and no public exploit code.\n\nAffected product: Linux kernel. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-52933/ (Markdown: https://insights.sbomify.com/CVE-2023-52933/index.md)","id":"CVE-2023-52933","markdown":"https://insights.sbomify.com/CVE-2023-52933/index.md","name":"CVE-2023-52933","record":{"aliases":["ALSA-2025:9880","BELL-CVE-2023-52933","DEBIAN-CVE-2023-52933","GHSA-f76f-mm36-mf6v","RHSA-2025:9880","UBUNTU-CVE-2023-52933"],"analysis":{"component_type":"kernel","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Linux kernel","requires_auth":"low_privilege","summary":"Integer overflow in Squashfs xattr handling allows attackers to bypass sanity checks, potentially causing denial of service.","user_interaction":"not_required","vuln_class":"integer_overflow"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Linux","cpe":[{"product":"linux_kernel","vendor":"linux"}],"cvss":{"score":5.5,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-190","name":"Integer Overflow or Wraparound"}],"description":"In the Linux kernel, the following vulnerability has been resolved:\n\nSquashfs: fix handling and sanity checking of xattr_ids count\n\nA Sysbot [1] corrupted filesystem exposes two flaws in the handling and\nsanity checking of the xattr_ids count in the filesystem.  Both of these\nflaws cause computation overflow due to incorrect typing.\n\nIn the corrupted filesystem the xattr_ids value is 4294967071, which\nstored in a signed variable becomes the negative number -225.\n\nFlaw 1 (64-bit systems only):\n\nThe signed integer xattr_ids variable causes sign extension.\n\nThis causes variable overflow in the SQUASHFS_XATTR_*(A) macros.  The\nvariable is first multiplied by sizeof(struct squashfs_xattr_id) where the\ntype of the sizeof operator is \"unsigned long\".\n\nOn a 64-bit system this is 64-bits in size, and causes the negative number\nto be sign extended and widened to 64-bits and then become unsigned.  This\nproduces the very large number 18446744073709548016 or 2^64 - 3600.  This\nnumber when rounded up by SQUASHFS_METADATA_SIZE - 1 (8191 bytes) and\ndivided by SQUASHFS_METADATA_SIZE overflows and produces a length of 0\n(stored in len).\n\nFlaw 2 (32-bit systems only):\n\nOn a 32-bit system the integer variable is not widened by the unsigned\nlong type of the sizeof operator (32-bits), and the signedness of the\nvariable has no effect due it always being treated as unsigned.\n\nThe above corrupted xattr_ids value of 4294967071, when multiplied\noverflows and produces the number 4294963696 or 2^32 - 3400.  This number\nwhen rounded up by SQUASHFS_METADATA_SIZE - 1 (8191 bytes) and divided by\nSQUASHFS_METADATA_SIZE overflows again and produces a length of 0.\n\nThe effect of the 0 length computation:\n\nIn conjunction with the corrupted xattr_ids field, the filesystem also has\na corrupted xattr_table_start value, where it matches the end of\nfilesystem value of 850.\n\nThis causes the following sanity check code to fail because the\nincorrectly computed len of 0 matches the incorrect size of the table\nreported by the superblock (0 bytes).\n\n    len = SQUASHFS_XATTR_BLOCK_BYTES(*xattr_ids);\n    indexes = SQUASHFS_XATTR_BLOCKS(*xattr_ids);\n\n    /*\n     * The computed size of the index table (len bytes) should exactly\n     * match the table start and end points\n    */\n    start = table_start + sizeof(*id_table);\n    end = msblk-\u003ebytes_used;\n\n    if (len != (end - start))\n            return ERR_PTR(-EINVAL);\n\nChanging the xattr_ids variable to be \"usigned int\" fixes the flaw on a\n64-bit system.  This relies on the fact the computation is widened by the\nunsigned long type of the sizeof operator.\n\nCasting the variable to u64 in the above macro fixes this flaw on a 32-bit\nsystem.\n\nIt also means 64-bit systems do not implicitly rely on the type of the\nsizeof operator to widen the computation.\n\n[1] https://lore.kernel.org/lkml/000000000000cd44f005f1a0f17f@google.com/","ecosystems":["AlmaLinux:9","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux:9::baseos","Red Hat:enterprise_linux:9::crb","Red Hat:enterprise_linux:9::nfv","Red Hat:enterprise_linux:9::realtime"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Squashfs: fix handling and sanity checking of xattr_ids count","id":"CVE-2023-52933","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"linux:linux_kernel","products":["linux:linux_kernel"],"type":"integer_overflow","year":"2023"},"n_packages":236,"n_references":7,"next":{"headline":"mm/MADV_COLLAPSE: catch !none !huge !bad pmd lookups","id":"CVE-2023-52934"},"packages":[{"ecosystem":"AlmaLinux:9","fixed":["5.14.0-570.24.1.el9_6"],"introduced":["0"],"last_affected":[],"package":"kernel","purl":"pkg:rpm/almalinux/kernel","source":"ALSA-2025:9880"},{"ecosystem":"AlmaLinux:9","fixed":["5.14.0-570.24.1.el9_6"],"introduced":["0"],"last_affected":[],"package":"kernel-64k","purl":"pkg:rpm/almalinux/kernel-64k","source":"ALSA-2025:9880"},{"ecosystem":"AlmaLinux:9","fixed":["5.14.0-570.24.1.el9_6"],"introduced":["0"],"last_affected":[],"package":"kernel-64k-core","purl":"pkg:rpm/almalinux/kernel-64k-core","source":"ALSA-2025:9880"},{"ecosystem":"AlmaLinux:9","fixed":["5.14.0-570.24.1.el9_6"],"introduced":["0"],"last_affected":[],"package":"kernel-64k-debug","purl":"pkg:rpm/almalinux/kernel-64k-debug","source":"ALSA-2025:9880"},{"ecosystem":"AlmaLinux:9","fixed":["5.14.0-570.24.1.el9_6"],"introduced":["0"],"last_affected":[],"package":"kernel-64k-debug-core","purl":"pkg:rpm/almalinux/kernel-64k-debug-core","source":"ALSA-2025:9880"},{"ecosystem":"AlmaLinux:9","fixed":["5.14.0-570.24.1.el9_6"],"introduced":["0"],"last_affected":[],"package":"kernel-64k-debug-devel","purl":"pkg:rpm/almalinux/kernel-64k-debug-devel","source":"ALSA-2025:9880"},{"ecosystem":"AlmaLinux:9","fixed":["5.14.0-570.24.1.el9_6"],"introduced":["0"],"last_affected":[],"package":"kernel-64k-debug-devel-matched","purl":"pkg:rpm/almalinux/kernel-64k-debug-devel-matched","source":"ALSA-2025:9880"},{"ecosystem":"AlmaLinux:9","fixed":["5.14.0-570.24.1.el9_6"],"introduced":["0"],"last_affected":[],"package":"kernel-64k-debug-modules","purl":"pkg:rpm/almalinux/kernel-64k-debug-modules","source":"ALSA-2025:9880"},{"ecosystem":"AlmaLinux:9","fixed":["5.14.0-570.24.1.el9_6"],"introduced":["0"],"last_affected":[],"package":"kernel-64k-debug-modules-core","purl":"pkg:rpm/almalinux/kernel-64k-debug-modules-core","source":"ALSA-2025:9880"},{"ecosystem":"AlmaLinux:9","fixed":["5.14.0-570.24.1.el9_6"],"introduced":["0"],"last_affected":[],"package":"kernel-64k-debug-modules-extra","purl":"pkg:rpm/almalinux/kernel-64k-debug-modules-extra","source":"ALSA-2025:9880"},{"ecosystem":"AlmaLinux:9","fixed":["5.14.0-570.24.1.el9_6"],"introduced":["0"],"last_affected":[],"package":"kernel-64k-devel","purl":"pkg:rpm/almalinux/kernel-64k-devel","source":"ALSA-2025:9880"},{"ecosystem":"AlmaLinux:9","fixed":["5.14.0-570.24.1.el9_6"],"introduced":["0"],"last_affected":[],"package":"kernel-64k-devel-matched","purl":"pkg:rpm/almalinux/kernel-64k-devel-matched","source":"ALSA-2025:9880"},{"ecosystem":"AlmaLinux:9","fixed":["5.14.0-570.24.1.el9_6"],"introduced":["0"],"last_affected":[],"package":"kernel-64k-modules","purl":"pkg:rpm/almalinux/kernel-64k-modules","source":"ALSA-2025:9880"},{"ecosystem":"AlmaLinux:9","fixed":["5.14.0-570.24.1.el9_6"],"introduced":["0"],"last_affected":[],"package":"kernel-64k-modules-core","purl":"pkg:rpm/almalinux/kernel-64k-modules-core","source":"ALSA-2025:9880"},{"ecosystem":"AlmaLinux:9","fixed":["5.14.0-570.24.1.el9_6"],"introduced":["0"],"last_affected":[],"package":"kernel-64k-modules-extra","purl":"pkg:rpm/almalinux/kernel-64k-modules-extra","source":"ALSA-2025:9880"},{"ecosystem":"AlmaLinux:9","fixed":["5.14.0-570.24.1.el9_6"],"introduced":["0"],"last_affected":[],"package":"kernel-abi-stablelists","purl":"pkg:rpm/almalinux/kernel-abi-stablelists","source":"ALSA-2025:9880"},{"ecosystem":"AlmaLinux:9","fixed":["5.14.0-570.24.1.el9_6"],"introduced":["0"],"last_affected":[],"package":"kernel-core","purl":"pkg:rpm/almalinux/kernel-core","source":"ALSA-2025:9880"},{"ecosystem":"AlmaLinux:9","fixed":["5.14.0-570.24.1.el9_6"],"introduced":["0"],"last_affected":[],"package":"kernel-cross-headers","purl":"pkg:rpm/almalinux/kernel-cross-headers","source":"ALSA-2025:9880"},{"ecosystem":"AlmaLinux:9","fixed":["5.14.0-570.24.1.el9_6"],"introduced":["0"],"last_affected":[],"package":"kernel-debug","purl":"pkg:rpm/almalinux/kernel-debug","source":"ALSA-2025:9880"},{"ecosystem":"AlmaLinux:9","fixed":["5.14.0-570.24.1.el9_6"],"introduced":["0"],"last_affected":[],"package":"kernel-debug-core","purl":"pkg:rpm/almalinux/kernel-debug-core","source":"ALSA-2025:9880"},{"ecosystem":"AlmaLinux:9","fixed":["5.14.0-570.24.1.el9_6"],"introduced":["0"],"last_affected":[],"package":"kernel-debug-devel","purl":"pkg:rpm/almalinux/kernel-debug-devel","source":"ALSA-2025:9880"},{"ecosystem":"AlmaLinux:9","fixed":["5.14.0-570.24.1.el9_6"],"introduced":["0"],"last_affected":[],"package":"kernel-debug-devel-matched","purl":"pkg:rpm/almalinux/kernel-debug-devel-matched","source":"ALSA-2025:9880"},{"ecosystem":"AlmaLinux:9","fixed":["5.14.0-570.24.1.el9_6"],"introduced":["0"],"last_affected":[],"package":"kernel-debug-modules","purl":"pkg:rpm/almalinux/kernel-debug-modules","source":"ALSA-2025:9880"},{"ecosystem":"AlmaLinux:9","fixed":["5.14.0-570.24.1.el9_6"],"introduced":["0"],"last_affected":[],"package":"kernel-debug-modules-core","purl":"pkg:rpm/almalinux/kernel-debug-modules-core","source":"ALSA-2025:9880"},{"ecosystem":"AlmaLinux:9","fixed":["5.14.0-570.24.1.el9_6"],"introduced":["0"],"last_affected":[],"package":"kernel-debug-modules-extra","purl":"pkg:rpm/almalinux/kernel-debug-modules-extra","source":"ALSA-2025:9880"},{"ecosystem":"AlmaLinux:9","fixed":["5.14.0-570.24.1.el9_6"],"introduced":["0"],"last_affected":[],"package":"kernel-debug-uki-virt","purl":"pkg:rpm/almalinux/kernel-debug-uki-virt","source":"ALSA-2025:9880"},{"ecosystem":"AlmaLinux:9","fixed":["5.14.0-570.24.1.el9_6"],"introduced":["0"],"last_affected":[],"package":"kernel-devel","purl":"pkg:rpm/almalinux/kernel-devel","source":"ALSA-2025:9880"},{"ecosystem":"AlmaLinux:9","fixed":["5.14.0-570.24.1.el9_6"],"introduced":["0"],"last_affected":[],"package":"kernel-devel-matched","purl":"pkg:rpm/almalinux/kernel-devel-matched","source":"ALSA-2025:9880"},{"ecosystem":"AlmaLinux:9","fixed":["5.14.0-570.24.1.el9_6"],"introduced":["0"],"last_affected":[],"package":"kernel-doc","purl":"pkg:rpm/almalinux/kernel-doc","source":"ALSA-2025:9880"},{"ecosystem":"AlmaLinux:9","fixed":["5.14.0-570.24.1.el9_6"],"introduced":["0"],"last_affected":[],"package":"kernel-headers","purl":"pkg:rpm/almalinux/kernel-headers","source":"ALSA-2025:9880"},{"ecosystem":"AlmaLinux:9","fixed":["5.14.0-570.24.1.el9_6"],"introduced":["0"],"last_affected":[],"package":"kernel-modules","purl":"pkg:rpm/almalinux/kernel-modules","source":"ALSA-2025:9880"},{"ecosystem":"AlmaLinux:9","fixed":["5.14.0-570.24.1.el9_6"],"introduced":["0"],"last_affected":[],"package":"kernel-modules-core","purl":"pkg:rpm/almalinux/kernel-modules-core","source":"ALSA-2025:9880"},{"ecosystem":"AlmaLinux:9","fixed":["5.14.0-570.24.1.el9_6"],"introduced":["0"],"last_affected":[],"package":"kernel-modules-extra","purl":"pkg:rpm/almalinux/kernel-modules-extra","source":"ALSA-2025:9880"},{"ecosystem":"AlmaLinux:9","fixed":["5.14.0-570.24.1.el9_6"],"introduced":["0"],"last_affected":[],"package":"kernel-rt","purl":"pkg:rpm/almalinux/kernel-rt","source":"ALSA-2025:9880"},{"ecosystem":"AlmaLinux:9","fixed":["5.14.0-570.24.1.el9_6"],"introduced":["0"],"last_affected":[],"package":"kernel-rt-64k","purl":"pkg:rpm/almalinux/kernel-rt-64k","source":"ALSA-2025:9880"},{"ecosystem":"AlmaLinux:9","fixed":["5.14.0-570.24.1.el9_6"],"introduced":["0"],"last_affected":[],"package":"kernel-rt-64k-core","purl":"pkg:rpm/almalinux/kernel-rt-64k-core","source":"ALSA-2025:9880"},{"ecosystem":"AlmaLinux:9","fixed":["5.14.0-570.24.1.el9_6"],"introduced":["0"],"last_affected":[],"package":"kernel-rt-64k-debug","purl":"pkg:rpm/almalinux/kernel-rt-64k-debug","source":"ALSA-2025:9880"},{"ecosystem":"AlmaLinux:9","fixed":["5.14.0-570.24.1.el9_6"],"introduced":["0"],"last_affected":[],"package":"kernel-rt-64k-debug-core","purl":"pkg:rpm/almalinux/kernel-rt-64k-debug-core","source":"ALSA-2025:9880"},{"ecosystem":"AlmaLinux:9","fixed":["5.14.0-570.24.1.el9_6"],"introduced":["0"],"last_affected":[],"package":"kernel-rt-64k-debug-devel","purl":"pkg:rpm/almalinux/kernel-rt-64k-debug-devel","source":"ALSA-2025:9880"},{"ecosystem":"AlmaLinux:9","fixed":["5.14.0-570.24.1.el9_6"],"introduced":["0"],"last_affected":[],"package":"kernel-rt-64k-debug-modules","purl":"pkg:rpm/almalinux/kernel-rt-64k-debug-modules","source":"ALSA-2025:9880"}],"prev":{"headline":"mm/swapfile: add cond_resched() in get_swap_pages()","id":"CVE-2023-52932"},"products":["Linux"],"published":"2025-03-27","related":[{"cvss_score":8.8,"headline":"Linux Kernel Out-of-Bounds Write","id":"CVE-2026-53266","kev_date_added":"2026-09-18","published":"2026-06-25"},{"cvss_score":8.8,"headline":"Linux Kernel Improper Input Validation","id":"CVE-2013-6282","kev_date_added":"2022-09-15","published":"2013-11-19"},{"cvss_score":8.4,"headline":"Linux Kernel Heap-Based Buffer Overflow","id":"CVE-2022-0185","kev_date_added":"2024-08-21","published":"2022-02-11"},{"cvss_score":8.4,"headline":"Linux Kernel Privilege Escalation","id":"CVE-2013-2094","kev_date_added":"2022-09-15","published":"2013-05-14"},{"cvss_score":7.8,"headline":"Linux Kernel Unspecified","id":"CVE-2026-53362","kev_date_added":"2026-08-27","published":"2026-07-04"},{"cvss_score":7.8,"headline":"Linux Kernel Missing Initialization of a Variable","id":"CVE-2026-46300","kev_date_added":"2026-10-28","published":"2026-05-23"},{"cvss_score":7.8,"headline":"Linux Kernel Race Condition","id":"CVE-2025-39964","kev_date_added":"2026-09-18","published":"2025-10-13"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2026-05-23","vendors":["Linux"]},"summary":"Integer overflow in Squashfs xattr handling allows attackers to bypass sanity checks, potentially causing denial of service.","url":"https://insights.sbomify.com/CVE-2023-52933/"}