{"id":"CVE-2026-99296","kind":"vulnerability","aliases":["CVE-2026-99296"],"related":[],"title":"Linux kernel: short Ceph monitor reply lets rbd read stale memory and crash","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nlibceph: bound mon_command ack decode to front len\n\nhandle_command_ack() bounds the decode with msg->front_alloc_len, the size\nof the reply buffer, instead of msg->front.iov_len, the number of bytes the\nmonitor sent.  mon_alloc_msg() routes every CEPH_MSG_MON_COMMAND_ACK to\nget_generic_reply(), which returns the preallocated ->reply of whichever\ngeneric request carries the same tid, so the buffer keeps its fixed size\nhowever short the reply is.  An ack with hdr.front_len below sizeof(struct\nceph_mon_request_header) + sizeof(u32), including 0, still passes\nceph_decode_need(), and ceph_decode_32() returns four bytes that were never\nreceived: uninitialized slab memory, stale bytes of an earlier message, or\nbytes the peer planted by sending a reply that lands in the same buffer and\nis then rejected.  The read stays within the allocation, so KASAN does not\nflag it.\n\nreq->result reaches userspace through ceph_monc_do_statfs(),\nceph_monc_get_version() and ceph_monc_blocklist_add(); rbd hands it back\nfrom write() on /sys/bus/rbd/add_single_major, and rbd_get_client() passes\nit to ERR_PTR() unchecked, which faults:\n\n  rbd: failed to get latest osdmap: -186318427\n  BUG: unable to handle page fault for address: fffffbfffe9ca034\n  Oops: Oops: 0000 [#1] SMP KASAN NOPTI\n  RIP: 0010:do_rbd_add (drivers/block/rbd.c:7105)\n  Call Trace:\n   ...\n   kernfs_fop_write_iter (fs/kernfs/file.c:345)\n   vfs_write (fs/read_write.c:595 fs/read_write.c:687)\n   ksys_write (fs/read_write.c:739)\n   do_syscall_64 (arch/x86/entry/syscall_64.c:61 arch/x86/entry/syscall_64.c:84)\n   entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:121)\n  Kernel panic - not syncing: Fatal exception\n\nUse msg->front.iov_len, matching handle_subscribe_ack(),\nhandle_statfs_reply(), handle_get_version_reply() and handle_auth_reply().\nA well-formed ack has front.iov_len >= 22 and is unaffected; a short one\ntakes the existing bad: path.  This applies commit d3c32939fa0e (\"libceph:\nbound get_version reply decode to front len\") to the last decode-side\nuse of front_alloc_len in this file.","summary":"A short Ceph monitor command reply is decoded past the bytes actually received, so the kernel reads uninitialized or attacker-chosen memory. Writing to the rbd add sysfs file can then pass that bad value to ERR_PTR() and fault the kernel.","severity":"unknown","cvss":null,"epss":0.00209,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["ceph","kubernetes","linux-kernel","rbd","runtime"],"not_affected_if":["no-ceph","no-rbd"],"how_to_check":null,"fix":null,"status":"open","published_at":"2026-11-16T10:17:02+00:00","first_seen_at":"2026-11-16T10:39:26+00:00","triaged_at":"2026-11-16T10:40:06+00:00","updated_at":"2026-11-16T18:53:18+00:00","category":"runtime","confidence":0.5,"triage":{"at":"2026-11-16T10:40:06Z","model":"claude-haiku-5-5","output":{"fix":"unknown","reach":"network","title":"Linux kernel: short Ceph monitor reply lets rbd read stale memory and crash","impact":"medium","summary":"A short Ceph monitor command reply is decoded past the bytes actually received, so the kernel reads uninitialized or attacker-chosen memory. Writing to the rbd add sysfs file can then pass that bad value to ERR_PTR() and fault the kernel.","audience":"businesses","category":"runtime","nicknames":[],"who_cares":["linux-kernel","ceph","rbd","kubernetes"],"confidence":0.5,"fix_status":"available","needs_auth":"yes","worst_case":"kernel panic on a Ceph client; stale memory readable by the local user","analyst_note":"Check the upstream kernel stable commit that fixes this libceph bounds check and which kernel versions carry it; sources give no version ranges.","how_to_check":"unknown","plain_action":"","product_name":"","needs_analyst":true,"not_affected_if":["no-ceph","no-rbd"],"who_is_affected":"Systems running the Linux kernel with the Ceph client (libceph) and the rbd block driver loaded, such as Ceph or RBD storage clients. The flaw is in the handling of replies from the Ceph monitor, so hosts that do not use Ceph or rbd are not reached. Whether the fix is already in a given kernel build is not stated in the sources.","user_interaction":"no","product_ecosystem":"","needs_special_setup":"yes","severity_if_unknown":"medium"},"cost_usd":0.0008,"input_tokens":5384,"output_tokens":523,"severity_before":"unknown"},"analyst_status":null,"analyst_note":null,"search":"'-186318427':273C '-2026':15A,18A '-99296':16A,19A '/sys/bus/rbd/add_single_major':254C '0':172C '0000':285C '0010':291C '1':286C '121':328C '22':362C '32':181C '345':304C '595':308C '61':319C '64':317C,324C '687':310C '7105':296C '739':314C '84':321C 'ack':84C,91C,127C,158C,342C,358C 'actual':38B 'add':54B,246C,294C 'address':281C 'alloc':98C,119C,222C,396C 'appli':375C 'arch/x86/entry/entry_64.s':327C 'arch/x86/entry/syscall_64.c':318C,320C 'attack':47B 'attacker-chosen':46B 'auth':352C 'back':250C 'bad':61B,372C 'blocklist':245C 'bound':81C,92C,379C 'buffer':105C,147C,212C 'bug':274C 'byte':37B,114C,184C,193C,199C 'call':297C 'carri':141C 'ceph':4A,20B,29B,123C,165C,175C,179C,234C,238C,243C 'chosen':48B 'client':258C 'command':31B,83C,90C,126C 'commit':376C 'crash':13A 'cve':14A,17A 'd3c32939fa0e':377C 'decod':34B,85C,94C,176C,180C,383C,391C 'decode-sid':390C 'drivers/block/rbd.c':295C 'earlier':196C 'entri':322C 'err':64B,262C 'everi':122C 'except':334C 'exist':371C 'fail':268C 'fatal':333C 'fault':67B,266C,279C 'fffffbfffe9ca034':282C 'file':56B,400C 'fix':150C 'flag':227C 'follow':75C 'fop':300C 'form':357C 'four':183C 'front':87C,97C,385C,395C 'front.iov':109C,337C,360C 'fs/kernfs/file.c':303C 'fs/read_write.c':307C,309C,313C 'generic':130C,139C 'get':129C,240C,257C,270C,347C,380C 'hand':248C 'handl':89C,277C,340C,343C,346C,351C 'hdr.front':160C 'header':168C 'howev':152C 'hwframe':326C 'includ':171C 'instead':106C 'iter':302C 'kasan':224C,288C 'keep':148C 'kernel':2A,24B,42B,69B,73C,329C 'kernf':299C 'ksys':311C 'kubernet':21B 'land':208C 'last':389C 'latest':271C 'len':88C,99C,110C,161C,338C,361C,386C,397C 'let':7A 'libceph':80C,378C 'linux':1A,23B,72C 'linux-kernel':22B 'match':339C 'memori':11A,49B,191C 'messag':197C 'mon':82C,118C,125C,166C 'monc':235C,239C,244C 'monitor':5A,30B,116C 'msg':96C,108C,120C,124C,336C 'need':177C 'never':187C 'nopti':289C 'number':112C 'one':368C 'oop':283C,284C 'osdmap':272C 'page':278C 'panic':330C 'pass':59B,174C,259C 'past':35B 'path':373C 'peer':201C 'plant':202C 'prealloc':135C 'ptr':65B,263C 'rbd':8A,25B,53B,247C,256C,267C,293C 'reach':231C 'read':9A,43B,218C 'receiv':39B,188C 'reject':216C 'repli':6A,32B,104C,131C,136C,155C,206C,345C,349C,353C,382C 'req':229C 'request':140C,167C 'resolv':79C 'result':230C 'return':133C,182C 'rip':290C 'rout':121C 'runtim':26B 'send':204C 'sent':117C 'short':3A,28B,153C,367C 'side':392C 'size':101C,151C 'sizeof':163C,169C 'slab':190C 'smp':287C 'stale':10A,192C 'statf':237C,344C 'stay':219C 'still':173C 'struct':164C 'subscrib':341C 'sync':332C 'syscal':316C,323C 'sysf':55B 'take':369C 'tid':144C 'trace':298C 'u32':170C 'unabl':275C 'unaffect':365C 'uncheck':264C 'uniniti':44B,189C 'use':335C,393C 'userspac':232C 'valu':62B 'version':241C,348C,381C 'vfs':305C 'vulner':76C 'well':356C 'well-form':355C 'whichev':138C 'within':220C 'write':50B,252C,301C,306C,312C","nicknames":[],"mitigations":[],"who_affected":"Systems running the Linux kernel with the Ceph client (libceph) and the rbd block driver loaded, such as Ceph or RBD storage clients. The flaw is in the handling of replies from the Ceph monitor, so hosts that do not use Ceph or rbd are not reached. Whether the fix is already in a given kernel build is not stated in the sources.","tier":"C","verified":{},"analyst_revisit_at":null,"fix_status":"unknown","audience":"businesses","plain_action":null,"pkeys":[],"ptokens":[],"labels":["ceph","kubernetes","linuxkernel","rbd","runtime","unknown"],"campaign_type":null,"search_a":"'-2026':15A,18A '-99296':16A,19A 'ceph':4A 'crash':13A 'cve':14A,17A 'kernel':2A 'let':7A 'linux':1A 'memori':11A 'monitor':5A 'rbd':8A 'read':9A 'repli':6A 'short':3A 'stale':10A","search_b":"'actual':38B 'add':54B 'attack':47B 'attacker-chosen':46B 'bad':61B 'byte':37B 'ceph':20B,29B 'chosen':48B 'command':31B 'decod':34B 'err':64B 'fault':67B 'file':56B 'kernel':24B,42B,69B 'kubernet':21B 'linux':23B 'linux-kernel':22B 'memori':49B 'monitor':30B 'pass':59B 'past':35B 'ptr':65B 'rbd':25B,53B 'read':43B 'receiv':39B 'repli':32B 'runtim':26B 'short':28B 'sysf':55B 'uniniti':44B 'valu':62B 'write':50B","search_c":"'-186318427':273C '/sys/bus/rbd/add_single_major':254C '0':172C '0000':285C '0010':291C '1':286C '121':328C '22':362C '32':181C '345':304C '595':308C '61':319C '64':317C,324C '687':310C '7105':296C '739':314C '84':321C 'ack':84C,91C,127C,158C,342C,358C 'add':246C,294C 'address':281C 'alloc':98C,119C,222C,396C 'appli':375C 'arch/x86/entry/entry_64.s':327C 'arch/x86/entry/syscall_64.c':318C,320C 'auth':352C 'back':250C 'bad':372C 'blocklist':245C 'bound':81C,92C,379C 'buffer':105C,147C,212C 'bug':274C 'byte':114C,184C,193C,199C 'call':297C 'carri':141C 'ceph':123C,165C,175C,179C,234C,238C,243C 'client':258C 'command':83C,90C,126C 'commit':376C 'd3c32939fa0e':377C 'decod':85C,94C,176C,180C,383C,391C 'decode-sid':390C 'drivers/block/rbd.c':295C 'earlier':196C 'entri':322C 'err':262C 'everi':122C 'except':334C 'exist':371C 'fail':268C 'fatal':333C 'fault':266C,279C 'fffffbfffe9ca034':282C 'file':400C 'fix':150C 'flag':227C 'follow':75C 'fop':300C 'form':357C 'four':183C 'front':87C,97C,385C,395C 'front.iov':109C,337C,360C 'fs/kernfs/file.c':303C 'fs/read_write.c':307C,309C,313C 'generic':130C,139C 'get':129C,240C,257C,270C,347C,380C 'hand':248C 'handl':89C,277C,340C,343C,346C,351C 'hdr.front':160C 'header':168C 'howev':152C 'hwframe':326C 'includ':171C 'instead':106C 'iter':302C 'kasan':224C,288C 'keep':148C 'kernel':73C,329C 'kernf':299C 'ksys':311C 'land':208C 'last':389C 'latest':271C 'len':88C,99C,110C,161C,338C,361C,386C,397C 'libceph':80C,378C 'linux':72C 'match':339C 'memori':191C 'messag':197C 'mon':82C,118C,125C,166C 'monc':235C,239C,244C 'monitor':116C 'msg':96C,108C,120C,124C,336C 'need':177C 'never':187C 'nopti':289C 'number':112C 'one':368C 'oop':283C,284C 'osdmap':272C 'page':278C 'panic':330C 'pass':174C,259C 'path':373C 'peer':201C 'plant':202C 'prealloc':135C 'ptr':263C 'rbd':247C,256C,267C,293C 'reach':231C 'read':218C 'receiv':188C 'reject':216C 'repli':104C,131C,136C,155C,206C,345C,349C,353C,382C 'req':229C 'request':140C,167C 'resolv':79C 'result':230C 'return':133C,182C 'rip':290C 'rout':121C 'send':204C 'sent':117C 'short':153C,367C 'side':392C 'size':101C,151C 'sizeof':163C,169C 'slab':190C 'smp':287C 'stale':192C 'statf':237C,344C 'stay':219C 'still':173C 'struct':164C 'subscrib':341C 'sync':332C 'syscal':316C,323C 'take':369C 'tid':144C 'trace':298C 'u32':170C 'unabl':275C 'unaffect':365C 'uncheck':264C 'uniniti':189C 'use':335C,393C 'userspac':232C 'version':241C,348C,381C 'vfs':305C 'vulner':76C 'well':356C 'well-form':355C 'whichev':138C 'within':220C 'write':252C,301C,306C,312C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-11-16T10:17:02+00:00","kev":null,"cvss_vector":null,"cvss_by":null,"poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-99296","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99296","severity":null,"published_at":"2026-11-16T10:17:02+00:00","modified_at":"2026-11-16T10:17:02+00:00","first_seen_at":"2026-11-16T10:39:26+00:00","fetched_at":"2026-11-16T10:39:26+00:00","note":null},{"source":"epss","external_id":"CVE-2026-99296","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-99296","severity":null,"published_at":null,"modified_at":null,"first_seen_at":"2026-11-16T18:53:18+00:00","fetched_at":"2026-11-16T18:53:18+00:00","note":null}],"documents":[],"disclosures":[],"exploit_sources":[{"type":"epss","score":0.00209,"url":"https://api.first.org/data/v1/epss?cve=CVE-2026-99296"}],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}