{"id":"CVE-2026-99307","kind":"vulnerability","aliases":["CVE-2026-99307"],"related":[],"title":"Linux kernel CephFS client: malicious metadata server can read past buffer","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nceph: require the dentry lease record to cover struct ceph_mds_reply_lease\n\nparse_reply_info_lease() reads a 32-bit struct_len off the wire and only\nchecks that many bytes are present, without requiring struct_len to cover\nsizeof(struct ceph_mds_reply_lease) (10 bytes).  A malicious MDS can\ndeclare a shorter record and still get the pointer published: the\nfollowing *p += sizeof(**lease) overshoot is undone by *p = lend, so\nnothing downstream rejects the reply.  ceph_fill_trace() ->\nupdate_dentry_lease() then reads 10 bytes through that pointer on any\nlookup on a mounted CephFS, running past the end of the message front.\n\nRequire the record to cover the structure, matching the sibling\nparse_reply_info_dir().  A conforming MDS always encodes the full 10\nbytes.\n\n  BUG: KASAN: slab-out-of-bounds in __update_dentry_lease.constprop.0 (fs/ceph/inode.c:1459)\n  Read of size 4 at addr ffff888026c63d65 by task kworker/0:3/2366\n  Workqueue: ceph-msgr ceph_con_workfn\n  Call Trace:\n   __update_dentry_lease.constprop.0 (fs/ceph/inode.c:1459)\n   ceph_fill_trace (fs/ceph/inode.c:1474 fs/ceph/inode.c:1823)\n   mds_dispatch (fs/ceph/mds_client.c:4229 fs/ceph/mds_client.c:7225)\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 357 bytes inside of\n   allocated 360-byte region [ffff888026c63c00, ffff888026c63d68)","summary":"The Linux kernel's CephFS client accepts a directory lease record from the metadata server that is shorter than the structure it expects. A malicious or compromised Ceph MDS can make the client read past the end of a received message during a lookup, which the KASAN report shows as an out-of-bounds read.","severity":"high","cvss":null,"epss":0.00209,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["ceph","cephfs","kernel-client","linux-kernel","runtime"],"not_affected_if":["no-cephfs-mount","trusted-mds"],"how_to_check":"- Check whether the host mounts CephFS with the kernel client: `findmnt -t ceph` or `mount -t ceph`. No ceph mount means not exposed.\n- Check `uname -r`. The bug is in parse_reply_info_lease() in fs/ceph/mds_client.c. The patch's Fixes tag points to commit 4ac4c23eaa38 (\"ceph: decode alternate_name in lease info\"), so kernels carrying that commit are the ones to look at. Fixed stable versions are not published in the sources read: unknown. Check your distro's kernel changelog for the patch subject.","fix":null,"status":"open","published_at":"2026-11-16T10:17:05+00:00","first_seen_at":"2026-11-16T10:39:27+00:00","triaged_at":"2026-11-16T10:39:56+00:00","updated_at":"2026-11-16T18:53:18+00:00","category":"runtime","confidence":0.6,"triage":{"at":"2026-11-16T10:39:56Z","model":"claude-haiku-5-5","output":{"fix":"unknown","reach":"network","title":"Linux kernel CephFS client: malicious metadata server can read past buffer","impact":"medium","summary":"The Linux kernel's CephFS client accepts a directory lease record from the metadata server that is shorter than the structure it expects. A malicious or compromised Ceph MDS can make the client read past the end of a received message during a lookup, which the KASAN report shows as an out-of-bounds read.","audience":"businesses","category":"runtime","nicknames":[],"who_cares":["linux-kernel","cephfs","ceph","kernel-client"],"confidence":0.6,"fix_status":"unknown","needs_auth":"unknown","worst_case":"Kernel reads past a message buffer; possible crash or information leak","analyst_note":"Find the fixed kernel stable versions for the ceph fs fix in the kernel git commit or NVD entry, and confirm affected version ranges.","how_to_check":"- Check whether the host mounts CephFS, for example with `mount -t ceph` or `findmnt -t ceph`.\n- Check the running kernel version with `uname -r` and compare it against the fixed kernel versions, which the sources do not list: unknown","plain_action":"","product_name":"","needs_analyst":true,"not_affected_if":["no-cephfs-mount","trusted-mds"],"who_is_affected":"Only Linux hosts that mount CephFS through the kernel ceph client are exposed, and the trigger is a malicious or compromised Ceph metadata server sending a crafted reply on lookup. Machines that do not mount CephFS, and those that use only managed Ceph storage without a kernel mount, are not affected. The sources do not say which kernel versions are vulnerable.","user_interaction":"no","product_ecosystem":"","needs_special_setup":"yes","severity_if_unknown":"high"},"cost_usd":0.000837,"input_tokens":5271,"output_tokens":620,"severity_before":"unknown"},"analyst_status":"done","analyst_note":"Find the fixed kernel stable versions for the ceph fs fix in the kernel git commit or NVD entry, and confirm affected version ranges.","search":"'-2026':13A,16A '-99307':14A,17A '0':232C,256C '10':139C,180C,221C '1424':277C '1430':284C '1459':234C,258C '1474':263C '1576':289C '158':308C '1823':265C '245':314C '3/2366':245C '32':112C '3396':294C '3479':298C '3560':300C '357':320C '360':325C '4':238C '4229':269C '436':303C '7225':271C 'accept':33B 'addr':240C 'address':317C 'alloc':324C 'alway':217C 'arch/x86/entry/entry_64.s':313C 'arch/x86/kernel/process.c':307C 'asm':312C 'bit':113C 'bound':81B,229C 'buffer':11A 'bug':223C 'buggi':316C 'byte':124C,140C,181C,222C,321C,326C 'call':253C 'ceph':18B,54B,93C,102C,135C,172C,248C,250C,259C,272C,278C,285C 'ceph-msgr':247C 'cephf':3A,19B,31B,191C 'check':121C 'client':4A,22B,32B,59B 'compromis':53B 'con':251C,273C,279C,286C 'conform':215C 'cover':100C,132C,204C 'cve':12A,15A 'declar':145C 'dentri':96C,176C 'dir':213C 'directori':35B 'dispatch':267C 'downstream':168C 'encod':218C 'end':63B,195C 'expect':49B 'ffff888026c63c00':328C 'ffff888026c63d65':241C 'ffff888026c63d68':329C 'fill':173C,260C 'follow':88C,156C 'fork':306C,311C 'front':199C 'fs/ceph/inode.c':233C,257C,262C,264C 'fs/ceph/mds_client.c':268C,270C 'full':220C 'get':151C 'info':108C,212C 'insid':322C 'kasan':73B,224C 'kernel':2A,21B,25B,29B,86C 'kernel-cli':20B 'kernel/kthread.c':302C 'kernel/workqueue.c':293C,297C,299C 'kthread':301C 'kworker/0':244C 'leas':36B,97C,105C,109C,138C,159C,177C 'len':115C,130C 'lend':165C 'linux':1A,24B,28B,85C 'linux-kernel':23B 'locat':319C 'lookup':70B,187C 'make':57B 'malici':5A,51B,142C 'mani':123C 'match':207C 'mds':55B,103C,136C,143C,216C,266C 'messag':67B,198C,275C 'metadata':6A,40B 'mount':190C 'msgr':249C 'net/ceph/messenger.c':276C,288C 'net/ceph/messenger_v1.c':283C 'noth':167C 'one':291C 'out-of-bound':78B 'overshoot':160C 'p':157C,164C 'pars':106C,210C 'past':10A,61B,193C 'pointer':153C,184C 'present':126C 'process':274C,290C 'publish':154C 'read':9A,60B,82B,110C,179C,235C,282C 'receiv':66B 'record':37B,98C,148C,202C 'region':327C 'reject':169C 'repli':104C,107C,137C,171C,211C 'report':74B 'requir':94C,128C,200C 'resolv':92C 'ret':304C,309C 'run':192C 'runtim':26B 'server':7A,41B 'shorter':44B,147C 'show':75B 'sibl':209C 'size':237C 'sizeof':133C,158C 'slab':226C 'slab-out-of-bound':225C 'still':150C 'struct':101C,114C,129C,134C 'structur':47B,206C 'task':243C 'thread':296C 'trace':174C,254C,261C 'tri':281C 'undon':162C 'updat':175C 'update_dentry_lease.constprop':231C,255C 'v1':280C 'vulner':89C 'wire':118C 'without':127C 'work':292C 'worker':295C 'workfn':252C,287C 'workqueu':246C","nicknames":[],"mitigations":[],"who_affected":"Only Linux hosts that mount CephFS through the kernel ceph client are exposed, and the trigger is a malicious or compromised Ceph metadata server sending a crafted reply on lookup. Machines that do not mount CephFS, and those that use only managed Ceph storage without a kernel mount, are not affected. The sources do not say which kernel versions are vulnerable.","tier":"B","verified":{},"analyst_revisit_at":null,"fix_status":"unknown","audience":"businesses","plain_action":null,"pkeys":[],"ptokens":[],"labels":["ceph","cephfs","high","kernelclient","linuxkernel","runtime"],"campaign_type":null,"search_a":"'-2026':13A,16A '-99307':14A,17A 'buffer':11A 'cephf':3A 'client':4A 'cve':12A,15A 'kernel':2A 'linux':1A 'malici':5A 'metadata':6A 'past':10A 'read':9A 'server':7A","search_b":"'accept':33B 'bound':81B 'ceph':18B,54B 'cephf':19B,31B 'client':22B,32B,59B 'compromis':53B 'directori':35B 'end':63B 'expect':49B 'kasan':73B 'kernel':21B,25B,29B 'kernel-cli':20B 'leas':36B 'linux':24B,28B 'linux-kernel':23B 'lookup':70B 'make':57B 'malici':51B 'mds':55B 'messag':67B 'metadata':40B 'out-of-bound':78B 'past':61B 'read':60B,82B 'receiv':66B 'record':37B 'report':74B 'runtim':26B 'server':41B 'shorter':44B 'show':75B 'structur':47B","search_c":"'0':232C,256C '10':139C,180C,221C '1424':277C '1430':284C '1459':234C,258C '1474':263C '1576':289C '158':308C '1823':265C '245':314C '3/2366':245C '32':112C '3396':294C '3479':298C '3560':300C '357':320C '360':325C '4':238C '4229':269C '436':303C '7225':271C 'addr':240C 'address':317C 'alloc':324C 'alway':217C 'arch/x86/entry/entry_64.s':313C 'arch/x86/kernel/process.c':307C 'asm':312C 'bit':113C 'bound':229C 'bug':223C 'buggi':316C 'byte':124C,140C,181C,222C,321C,326C 'call':253C 'ceph':93C,102C,135C,172C,248C,250C,259C,272C,278C,285C 'ceph-msgr':247C 'cephf':191C 'check':121C 'con':251C,273C,279C,286C 'conform':215C 'cover':100C,132C,204C 'declar':145C 'dentri':96C,176C 'dir':213C 'dispatch':267C 'downstream':168C 'encod':218C 'end':195C 'ffff888026c63c00':328C 'ffff888026c63d65':241C 'ffff888026c63d68':329C 'fill':173C,260C 'follow':88C,156C 'fork':306C,311C 'front':199C 'fs/ceph/inode.c':233C,257C,262C,264C 'fs/ceph/mds_client.c':268C,270C 'full':220C 'get':151C 'info':108C,212C 'insid':322C 'kasan':224C 'kernel':86C 'kernel/kthread.c':302C 'kernel/workqueue.c':293C,297C,299C 'kthread':301C 'kworker/0':244C 'leas':97C,105C,109C,138C,159C,177C 'len':115C,130C 'lend':165C 'linux':85C 'locat':319C 'lookup':187C 'malici':142C 'mani':123C 'match':207C 'mds':103C,136C,143C,216C,266C 'messag':198C,275C 'mount':190C 'msgr':249C 'net/ceph/messenger.c':276C,288C 'net/ceph/messenger_v1.c':283C 'noth':167C 'one':291C 'overshoot':160C 'p':157C,164C 'pars':106C,210C 'past':193C 'pointer':153C,184C 'present':126C 'process':274C,290C 'publish':154C 'read':110C,179C,235C,282C 'record':98C,148C,202C 'region':327C 'reject':169C 'repli':104C,107C,137C,171C,211C 'requir':94C,128C,200C 'resolv':92C 'ret':304C,309C 'run':192C 'shorter':147C 'sibl':209C 'size':237C 'sizeof':133C,158C 'slab':226C 'slab-out-of-bound':225C 'still':150C 'struct':101C,114C,129C,134C 'structur':206C 'task':243C 'thread':296C 'trace':174C,254C,261C 'tri':281C 'undon':162C 'updat':175C 'update_dentry_lease.constprop':231C,255C 'v1':280C 'vulner':89C 'wire':118C 'without':127C 'work':292C 'worker':295C 'workfn':252C,287C 'workqueu':246C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-11-16T10:17:05+00:00","kev":null,"cvss_vector":null,"cvss_by":null,"poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-99307","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99307","severity":null,"published_at":"2026-11-16T10:17:05+00:00","modified_at":"2026-11-16T10:17:05+00:00","first_seen_at":"2026-11-16T10:39:27+00:00","fetched_at":"2026-11-16T10:39:27+00:00","note":null},{"source":"analyst","external_id":"CVE-2026-99307:4095","url":"https://lists.openwall.net/linux-kernel/2026/09/15/257","severity":null,"published_at":"2026-11-16T10:40:43+00:00","modified_at":"2026-11-16T10:40:43+00:00","first_seen_at":"2026-11-16T10:40:43+00:00","fetched_at":"2026-11-16T10:40:43+00:00","note":"Only the patch submission (linux-kernel list, 2026-09-14, Xiang Mei, Cc stable; Fixes 4ac4c23eaa38; adds struct_len < sizeof(**lease) check) found. NVD page returned no text; no merged commit or stable version numbers found, so fix left unknown and nothing marked verified. Revisit when the commit lands in stable.","cites":["https://lists.openwall.net/linux-kernel/2026/09/15/257"]},{"source":"epss","external_id":"CVE-2026-99307","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-99307","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":[{"id":168992,"url":"https://lists.openwall.net/linux-kernel/2026/09/15/257","title":"[PATCH] ceph: require the dentry lease record to cover struct ceph_mds_reply_lease (linux-kernel, 2026-09-14)","kind":"other","source":"analyst","publisher":null,"text":null,"published_at":null,"relation":"describes","confidence":null,"note":null}],"disclosures":[],"exploit_sources":[{"type":"epss","score":0.00209,"url":"https://api.first.org/data/v1/epss?cve=CVE-2026-99307"}],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}