{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-99304 in the wild and no public exploit code.","exposure":"","fix":"Upgrade to a fixed version.","what":"CVE-2026-99304 is a critical vulnerability in Linux, published on 16 Nov 2026."},"fix_prompt":"Check this codebase for CVE-2026-99304 and fix it if it is affected.\n\nWhat it is: CVE-2026-99304 is a critical vulnerability in Linux, published on 16 Nov 2026. \nExploitation: There is no known exploitation of CVE-2026-99304 in the wild and no public exploit code.\n\nAffected product: Linux. 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-2026-99304/ (Markdown: https://insights.sbomify.com/CVE-2026-99304/index.md)","id":"CVE-2026-99304","markdown":"https://insights.sbomify.com/CVE-2026-99304/index.md","name":"CVE-2026-99304","record":{"aliases":["AZL-114260","BELL-CVE-2026-99304","DEBIAN-CVE-2026-99304","GHSA-gwm4-f7gj-p7vj","UBUNTU-CVE-2026-99304"],"analysis":null,"analysis_generated_by":null,"assigner":"Linux","component":null,"cpe":[],"cvss":{"score":9.8,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[],"description":"In the Linux kernel, the following vulnerability has been resolved:\n\nceph: fix integer overflow in the snap trace bounds check\n\nceph_update_snap_trace() bounds the two encoded snapid arrays that follow a\nstruct ceph_mds_snap_realm with sizeof(u64) * (num_snaps +\nnum_prior_parent_snaps).  Both counts come straight off the wire as __le32,\nso the addition is evaluated in unsigned int and wraps before sizeof(u64)\npromotes it to size_t: an MDS sending num_snaps = 1 and\nnum_prior_parent_snaps = 0xffffffff makes the sum zero and the check\ndegenerates to ceph_decode_need(\u0026p, e, 0, bad), which always passes.\ndup_array() then reads num_snaps * 8 bytes past the end of the message\nfront, which ceph_msg_new2() allocates at exactly front_len bytes.  An\nunsolicited CEPH_MSG_CLIENT_SNAP reaches this from a malicious or\ncompromised MDS with no client-side action, as do the snaptraces carried in\nan MDS reply and in a cap import.\n\nCompute the length with size_add()/size_mul() so it saturates at SIZE_MAX\ninstead of wrapping, in the style fs/ceph/mdsmap.c already uses for\nnum_export_targets.\n\n  BUG: KASAN: slab-out-of-bounds in dup_array (include/linux/unaligned.h:28 fs/ceph/snap.c:500)\n  Read of size 8 at addr ffff8880102a16c8 by task kworker/1:2/129\n  Workqueue: ceph-msgr ceph_con_workfn\n  Call Trace:\n   dump_stack_lvl (lib/dump_stack.c:94 lib/dump_stack.c:120)\n   print_report (mm/kasan/report.c:378 mm/kasan/report.c:482)\n   kasan_report (mm/kasan/report.c:595)\n   dup_array (include/linux/unaligned.h:28 fs/ceph/snap.c:500)\n   ceph_update_snap_trace (fs/ceph/snap.c:836)\n   ceph_handle_snap (fs/ceph/snap.c:1155)\n   mds_dispatch (fs/ceph/mds_client.c:7234)\n   ceph_con_process_message (net/ceph/messenger.c:1424)\n   ceph_con_v1_try_read (net/ceph/messenger_v1.c:1430)\n   ceph_con_workfn (net/ceph/messenger.c:1576)\n   process_one_work (kernel/workqueue.c:3396)\n   worker_thread (kernel/workqueue.c:3479 kernel/workqueue.c:3560)\n   kthread (kernel/kthread.c:436)\n   ret_from_fork (arch/x86/kernel/process.c:158)\n   ret_from_fork_asm (arch/x86/entry/entry_64.S:245)\n  ...\n  The buggy address is located 0 bytes to the right of\n   allocated 72-byte region [ffff8880102a1680, ffff8880102a16c8)","ecosystems":[],"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":"ceph: fix integer overflow in the snap trace bounds check","id":"CVE-2026-99304","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":null,"year":"2026"},"main_cpe":null,"main_fixed":[],"main_package":null,"n_packages":0,"n_references":8,"n_vendor_status":5,"next":{"headline":"fbdev: udlfb: don't rebuild the mode list while the framebuffer is in use","id":"CVE-2026-99305"},"nickname":null,"packages":[],"prev":{"headline":"speakup: Fix NULL pointer dereference on VT switch + selection","id":"CVE-2026-99303"},"products":["Linux"],"published":"2026-11-16","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","text_fixes":[],"updated":"2026-11-23","vendor_status":[{"n_packages":46,"name":"Red Hat","packages":[{"detail":"Affected","name":"bpftool","purl":"pkg:rpm/redhat/bpftool?distro=rhel-8","sources":["redhat-vex"],"status":"affected"},{"detail":"Affected","name":"kernel","purl":"pkg:rpm/redhat/kernel?distro=rhel-8","sources":["redhat-vex"],"status":"affected"},{"detail":"Affected","name":"kernel-abi-stablelists","purl":"pkg:rpm/redhat/kernel-abi-stablelists?distro=rhel-8","sources":["redhat-vex"],"status":"affected"},{"detail":"Affected","name":"kernel-abi-whitelists","purl":"pkg:rpm/redhat/kernel-abi-whitelists?distro=rhel-8","sources":["redhat-vex"],"status":"affected"},{"detail":"Affected","name":"kernel-core","purl":"pkg:rpm/redhat/kernel-core?distro=rhel-8","sources":["redhat-vex"],"status":"affected"},{"detail":"Affected","name":"kernel-cross-headers","purl":"pkg:rpm/redhat/kernel-cross-headers?distro=rhel-8","sources":["redhat-vex"],"status":"affected"},{"detail":"Affected","name":"kernel-debug","purl":"pkg:rpm/redhat/kernel-debug?distro=rhel-8","sources":["redhat-vex"],"status":"affected"},{"detail":"Affected","name":"kernel-debug-core","purl":"pkg:rpm/redhat/kernel-debug-core?distro=rhel-8","sources":["redhat-vex"],"status":"affected"}],"release":"8","scope":"distro","status":"affected","statuses":{"affected":46},"vendor":"redhat"},{"n_packages":107,"name":"Red Hat","packages":[{"detail":"Affected","name":"bpftool","purl":"pkg:rpm/redhat/bpftool?distro=rhel-9","sources":["redhat-vex"],"status":"affected"},{"detail":"Affected","name":"kernel","purl":"pkg:rpm/redhat/kernel?distro=rhel-9","sources":["redhat-vex"],"status":"affected"},{"detail":"Affected","name":"kernel-64k","purl":"pkg:rpm/redhat/kernel-64k?distro=rhel-9","sources":["redhat-vex"],"status":"affected"},{"detail":"Affected","name":"kernel-64k-core","purl":"pkg:rpm/redhat/kernel-64k-core?distro=rhel-9","sources":["redhat-vex"],"status":"affected"},{"detail":"Affected","name":"kernel-64k-debug","purl":"pkg:rpm/redhat/kernel-64k-debug?distro=rhel-9","sources":["redhat-vex"],"status":"affected"},{"detail":"Affected","name":"kernel-64k-debug-core","purl":"pkg:rpm/redhat/kernel-64k-debug-core?distro=rhel-9","sources":["redhat-vex"],"status":"affected"},{"detail":"Affected","name":"kernel-64k-debug-devel","purl":"pkg:rpm/redhat/kernel-64k-debug-devel?distro=rhel-9","sources":["redhat-vex"],"status":"affected"},{"detail":"Affected","name":"kernel-64k-debug-devel-matched","purl":"pkg:rpm/redhat/kernel-64k-debug-devel-matched?distro=rhel-9","sources":["redhat-vex"],"status":"affected"}],"release":"9","scope":"distro","status":"affected","statuses":{"affected":107},"vendor":"redhat"},{"n_packages":1,"name":"Red Hat","packages":[{"detail":"Affected","name":"kernel","name_kind":"source","purl":"pkg:rpm/redhat/kernel?distro=rhel-10","sources":["redhat-vex"],"status":"affected"}],"release":"10","scope":"distro","status":"affected","statuses":{"affected":1},"vendor":"redhat"},{"n_packages":13,"name":"Red Hat","packages":[{"name":"kernel","purl":"pkg:rpm/redhat/kernel?distro=rhel-6","sources":["redhat-vex"],"status":"not_affected"},{"name":"kernel-abi-whitelists","purl":"pkg:rpm/redhat/kernel-abi-whitelists?distro=rhel-6","sources":["redhat-vex"],"status":"not_affected"},{"name":"kernel-bootwrapper","purl":"pkg:rpm/redhat/kernel-bootwrapper?distro=rhel-6","sources":["redhat-vex"],"status":"not_affected"},{"name":"kernel-debug","purl":"pkg:rpm/redhat/kernel-debug?distro=rhel-6","sources":["redhat-vex"],"status":"not_affected"},{"name":"kernel-debug-devel","purl":"pkg:rpm/redhat/kernel-debug-devel?distro=rhel-6","sources":["redhat-vex"],"status":"not_affected"},{"name":"kernel-devel","purl":"pkg:rpm/redhat/kernel-devel?distro=rhel-6","sources":["redhat-vex"],"status":"not_affected"},{"name":"kernel-doc","purl":"pkg:rpm/redhat/kernel-doc?distro=rhel-6","sources":["redhat-vex"],"status":"not_affected"},{"name":"kernel-firmware","purl":"pkg:rpm/redhat/kernel-firmware?distro=rhel-6","sources":["redhat-vex"],"status":"not_affected"}],"release":"els/6","scope":"distro","status":"not_affected","statuses":{"not_affected":13},"vendor":"redhat"},{"n_packages":26,"name":"Red Hat","packages":[{"detail":"Affected","name":"bpftool","purl":"pkg:rpm/redhat/bpftool?distro=rhel-7","sources":["redhat-vex"],"status":"affected"},{"detail":"Affected","name":"kernel","purl":"pkg:rpm/redhat/kernel?distro=rhel-7","sources":["redhat-vex"],"status":"affected"},{"detail":"Affected","name":"kernel-abi-whitelists","purl":"pkg:rpm/redhat/kernel-abi-whitelists?distro=rhel-7","sources":["redhat-vex"],"status":"affected"},{"detail":"Affected","name":"kernel-bootwrapper","purl":"pkg:rpm/redhat/kernel-bootwrapper?distro=rhel-7","sources":["redhat-vex"],"status":"affected"},{"detail":"Affected","name":"kernel-debug","purl":"pkg:rpm/redhat/kernel-debug?distro=rhel-7","sources":["redhat-vex"],"status":"affected"},{"detail":"Affected","name":"kernel-debug-devel","purl":"pkg:rpm/redhat/kernel-debug-devel?distro=rhel-7","sources":["redhat-vex"],"status":"affected"},{"detail":"Affected","name":"kernel-devel","purl":"pkg:rpm/redhat/kernel-devel?distro=rhel-7","sources":["redhat-vex"],"status":"affected"},{"detail":"Affected","name":"kernel-doc","purl":"pkg:rpm/redhat/kernel-doc?distro=rhel-7","sources":["redhat-vex"],"status":"affected"}],"release":"els/7","scope":"distro","status":"affected","statuses":{"affected":26},"vendor":"redhat"}],"vendors":["Linux"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-99304/"}