{"id":"CVE-2026-99292","kind":"vulnerability","aliases":["CVE-2026-99292"],"related":[],"title":"Linux kernel SMB client: chmod on CIFS mounts overflows a heap buffer","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: fix slab-out-of-bounds write in id_mode_to_cifs_acl()\n\nIn id_mode_to_cifs_acl(), while the chown branch reserves\nsizeof(struct smb_ntsd) + 2 * sizeof(struct smb_sid) (plus\nsizeof(struct smb_acl) and the worst-case ACE space after\ncommit 0ee150794c75 (\"smb: client: fix heap overflow in DACL owner/group\nrewrite\")), the chmod branch only adds 2 * sizeof(struct smb_ace) or\n5 * sizeof(struct smb_ace) to secdesclen (or 1 * sizeof(struct smb_ace)\non posix).\n\nHowever, the chmod branch also invokes build_sec_desc() ->\ncopy_sec_desc(), which unconditionally writes the Owner SID at\npnntsd + sidsoffset and the Group SID at\npnntsd + sidsoffset + sizeof(struct smb_sid) (2 * 68 = 136 bytes total),\nand set_chmod_dacl() always writes a struct smb_acl header (8 bytes)\neven when the source descriptor has dacloffset == 0. When a security\ndescriptor has compact or overlapping Owner/Group SIDs (or\ndacloffset == 0), calling chmod() under-allocates pnntsd and writes past\nthe end of the slab buffer.\n\nReserve sizeof(struct smb_acl) + 2 * sizeof(struct smb_sid) (plus\nsizeof(struct smb_ntsd) on the posix path) in the chmod branch of\nid_mode_to_cifs_acl().","summary":"The Linux kernel's SMB/CIFS client can write past the end of a slab-allocated buffer when chmod() is called on a file with a compact or overlapping owner/group security descriptor. A flaw of this kind can let an attacker corrupt kernel memory, and the sources do not say whether it leads to code execution.","severity":"unknown","cvss":null,"epss":0.00226,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["cifs","linux-kernel","runtime","smb-client"],"not_affected_if":["no-cifs-mounts"],"how_to_check":null,"fix":null,"status":"open","published_at":"2026-11-16T10:17:01+00:00","first_seen_at":"2026-11-16T10:39:26+00:00","triaged_at":"2026-11-16T10:40:10+00:00","updated_at":"2026-11-16T18:53:18+00:00","category":"runtime","confidence":0.5,"triage":{"at":"2026-11-16T10:40:10Z","model":"claude-haiku-5-5","output":{"fix":"- unknown","reach":"unknown","title":"Linux kernel SMB client: chmod on CIFS mounts overflows a heap buffer","impact":"high","summary":"The Linux kernel's SMB/CIFS client can write past the end of a slab-allocated buffer when chmod() is called on a file with a compact or overlapping owner/group security descriptor. A flaw of this kind can let an attacker corrupt kernel memory, and the sources do not say whether it leads to code execution.","audience":"businesses","category":"runtime","nicknames":[],"who_cares":["linux-kernel","cifs","smb-client"],"confidence":0.5,"fix_status":"unknown","needs_auth":"unknown","worst_case":"kernel memory corruption; code execution possible but unconfirmed","analyst_note":"Check the kernel.org stable commits for the fixed versions and whether an attacker on the share or server can trigger chmod() remotely.","how_to_check":"- unknown","plain_action":"","product_name":"","needs_analyst":true,"not_affected_if":["no-cifs-mounts"],"who_is_affected":"Systems running a Linux kernel that mounts SMB/CIFS shares with the cifs client and calls chmod() on them are the ones this patch addresses. The sources do not list affected kernel versions or say how an attacker reaches the code path. Systems that do not mount SMB/CIFS shares are unlikely to be affected.","user_interaction":"unknown","product_ecosystem":"","needs_special_setup":"unknown","severity_if_unknown":"unknown"},"cost_usd":0.000766,"input_tokens":5024,"output_tokens":528,"severity_before":"unknown"},"analyst_status":null,"analyst_note":null,"search":"'-2026':14A,17A '-99292':15A,18A '0':235C,248C '0ee150794c75':142C '1':171C '136':212C '2':123C,157C,210C,269C '5':163C '68':211C '8':226C 'ace':138C,161C,167C,175C 'acl':107C,113C,132C,224C,268C,292C 'add':156C 'alloc':42B,253C 'also':182C 'alway':219C 'attack':67B 'bound':100C 'branch':117C,154C,181C,286C 'buffer':12A,43B,263C 'build':184C 'byte':213C,227C 'call':47B,249C 'case':137C 'chmod':5A,45B,153C,180C,217C,250C,285C 'chown':116C 'cif':7A,19B,106C,112C,291C 'client':4A,26B,32B,94C,144C 'code':81B 'commit':141C 'compact':53B,241C 'copi':187C 'corrupt':68B 'cve':13A,16A 'dacl':149C,218C 'dacloffset':234C,247C 'desc':186C,189C 'descriptor':58B,232C,239C 'end':37B,259C 'even':228C 'execut':82B 'file':50B 'fix':95C,145C 'flaw':60B 'follow':88C 'group':201C 'header':225C 'heap':11A,146C 'howev':178C 'id':103C,109C,288C 'invok':183C 'kernel':2A,22B,29B,69B,86C 'kind':63B 'lead':79B 'let':65B 'linux':1A,21B,28B,85C 'linux-kernel':20B 'memori':70B 'mode':104C,110C,289C 'mount':8A 'ntsd':122C,278C 'overflow':9A,147C 'overlap':55B,243C 'owner':194C 'owner/group':56B,150C,244C 'past':35B,257C 'path':282C 'plus':128C,274C 'pnntsd':197C,204C,254C 'posix':177C,281C 'reserv':118C,264C 'resolv':92C 'rewrit':151C 'runtim':23B 'say':76B 'sec':185C,188C 'secdesclen':169C 'secur':57B,238C 'set':216C 'sid':127C,195C,202C,209C,245C,273C 'sidsoffset':198C,205C 'sizeof':119C,124C,129C,158C,164C,172C,206C,265C,270C,275C 'slab':41B,97C,262C 'slab-alloc':40B 'slab-out-of-bound':96C 'smb':3A,25B,93C,121C,126C,131C,143C,160C,166C,174C,208C,223C,267C,272C,277C 'smb-client':24B 'smb/cifs':31B 'sourc':73B,231C 'space':139C 'struct':120C,125C,130C,159C,165C,173C,207C,222C,266C,271C,276C 'total':214C 'uncondit':191C 'under-alloc':251C 'vulner':89C 'whether':77B 'worst':136C 'worst-cas':135C 'write':34B,101C,192C,220C,256C","nicknames":[],"mitigations":[],"who_affected":"Systems running a Linux kernel that mounts SMB/CIFS shares with the cifs client and calls chmod() on them are the ones this patch addresses. The sources do not list affected kernel versions or say how an attacker reaches the code path. Systems that do not mount SMB/CIFS shares are unlikely to be affected.","tier":"C","verified":{},"analyst_revisit_at":null,"fix_status":"unknown","audience":"businesses","plain_action":null,"pkeys":[],"ptokens":[],"labels":["cifs","linuxkernel","runtime","smbclient","unknown"],"campaign_type":null,"search_a":"'-2026':14A,17A '-99292':15A,18A 'buffer':12A 'chmod':5A 'cif':7A 'client':4A 'cve':13A,16A 'heap':11A 'kernel':2A 'linux':1A 'mount':8A 'overflow':9A 'smb':3A","search_b":"'alloc':42B 'attack':67B 'buffer':43B 'call':47B 'chmod':45B 'cif':19B 'client':26B,32B 'code':81B 'compact':53B 'corrupt':68B 'descriptor':58B 'end':37B 'execut':82B 'file':50B 'flaw':60B 'kernel':22B,29B,69B 'kind':63B 'lead':79B 'let':65B 'linux':21B,28B 'linux-kernel':20B 'memori':70B 'overlap':55B 'owner/group':56B 'past':35B 'runtim':23B 'say':76B 'secur':57B 'slab':41B 'slab-alloc':40B 'smb':25B 'smb-client':24B 'smb/cifs':31B 'sourc':73B 'whether':77B 'write':34B","search_c":"'0':235C,248C '0ee150794c75':142C '1':171C '136':212C '2':123C,157C,210C,269C '5':163C '68':211C '8':226C 'ace':138C,161C,167C,175C 'acl':107C,113C,132C,224C,268C,292C 'add':156C 'alloc':253C 'also':182C 'alway':219C 'bound':100C 'branch':117C,154C,181C,286C 'buffer':263C 'build':184C 'byte':213C,227C 'call':249C 'case':137C 'chmod':153C,180C,217C,250C,285C 'chown':116C 'cif':106C,112C,291C 'client':94C,144C 'commit':141C 'compact':241C 'copi':187C 'dacl':149C,218C 'dacloffset':234C,247C 'desc':186C,189C 'descriptor':232C,239C 'end':259C 'even':228C 'fix':95C,145C 'follow':88C 'group':201C 'header':225C 'heap':146C 'howev':178C 'id':103C,109C,288C 'invok':183C 'kernel':86C 'linux':85C 'mode':104C,110C,289C 'ntsd':122C,278C 'overflow':147C 'overlap':243C 'owner':194C 'owner/group':150C,244C 'past':257C 'path':282C 'plus':128C,274C 'pnntsd':197C,204C,254C 'posix':177C,281C 'reserv':118C,264C 'resolv':92C 'rewrit':151C 'sec':185C,188C 'secdesclen':169C 'secur':238C 'set':216C 'sid':127C,195C,202C,209C,245C,273C 'sidsoffset':198C,205C 'sizeof':119C,124C,129C,158C,164C,172C,206C,265C,270C,275C 'slab':97C,262C 'slab-out-of-bound':96C 'smb':93C,121C,126C,131C,143C,160C,166C,174C,208C,223C,267C,272C,277C 'sourc':231C 'space':139C 'struct':120C,125C,130C,159C,165C,173C,207C,222C,266C,271C,276C 'total':214C 'uncondit':191C 'under-alloc':251C 'vulner':89C 'worst':136C 'worst-cas':135C 'write':101C,192C,220C,256C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-11-16T10:17:01+00:00","kev":null,"cvss_vector":null,"cvss_by":null,"poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-99292","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99292","severity":null,"published_at":"2026-11-16T10:17:01+00:00","modified_at":"2026-11-16T10:17:01+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-99292","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-99292","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.00226,"url":"https://api.first.org/data/v1/epss?cve=CVE-2026-99292"}],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}