{"id":"CVE-2026-99549","published":"2026-11-19T14:45:13Z","modified":"2026-11-19T14:45:13Z","title":"smb: client: do not pass a NULL buf to is_oplock_break()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: do not pass a NULL buf to is_oplock_break()\n\nreceive_encrypted_read() sets *num_mids = 1 and never writes the\ncaller's bufs[]. Offload returns -1 with *num_mids = 0, so the\ndemultiplex thread skips the frame. The inline decrypt path\nreturns 0 even when smb2_find_mid() fails.\n\ncifs_demultiplex_thread() then treats mids[i] == NULL as an\noplock break and calls is_oplock_break(bufs[i], server) with\nbufs[i] still NULL. smb2_is_valid_oplock_break() reads\nhdr.Command at offset 12 and oopses.\n\nA large encrypted READ whose MessageId does not match is enough\nto panic cifsd.\n\n    Oops: general protection fault, probably for non-canonical address\n    0xdffffc0000000001: 0000 [#1] SMP KASAN PTI\n    KASAN: null-ptr-deref in range\n    [0x0000000000000008-0x000000000000000f]\n    CPU: 0 PID: 100 Comm: cifsd\n    RIP: smb2_is_valid_oplock_break+0xc8/0x2270 [cifs]\n    cifs_demultiplex_thread\n    Kernel panic - not syncing: Fatal exception\n\nReturn -1 when inline decrypt finds no mid, and skip\nis_oplock_break() plus the unknown-frame dump when bufs[i]\nis NULL. receive_encrypted_standard() already assigns\nbufs[*num_mids].","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00157,"percentile":0.04961,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/6c1ccd31b3a995a1a73e10e7bc8b6d96cf382241","tags":[]},{"url":"https://git.kernel.org/stable/c/ee793cc8dcd58ed9afa0a69a84d66df4f8eacd88","tags":[]},{"url":"https://git.kernel.org/stable/c/4bf4fb7f323402df1c57982365c8ac2498b89d10","tags":[]},{"url":"https://git.kernel.org/stable/c/2225ab306575e424b3dad2ee1be2521c89249d15","tags":[]}],"priority":{"score":1.0,"factors":[{"name":"EPSS percentile","points":0.99}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= c42a6abe3012832a68a371dabe17c2ced97e62ad, < 6c1ccd31b3a995a1a73e10e7bc8b6d96cf382241",">= c42a6abe3012832a68a371dabe17c2ced97e62ad, < ee793cc8dcd58ed9afa0a69a84d66df4f8eacd88",">= c42a6abe3012832a68a371dabe17c2ced97e62ad, < 4bf4fb7f323402df1c57982365c8ac2498b89d10",">= c42a6abe3012832a68a371dabe17c2ced97e62ad, < 2225ab306575e424b3dad2ee1be2521c89249d15"]},{"vendor":"Linux","product":"Linux","versions":["4.11"]}],"euvd":{"id":"EUVD-2026-130273","exploited":false,"provenance":"source"}}