{"id":"CVE-2026-99549","aliases":["CVE-2026-99549"],"related":[],"kind":"vulnerability","state":"published","title":"smb: client: do not pass a NULL buf to is_oplock_break()","summary":"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].","summarySource":"cvelist","descriptions":[{"lang":"en","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].","source":"cvelist"}],"published":"2026-11-19T14:45:13.123Z","modified":"2026-11-23T08:17:57.047Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"c42a6abe3012832a68a371dabe17c2ced97e62ad","fixed":"64bc1cb17a7d278bdfce49c6a2780a43b25f3457","status":"affected"},{"type":"git","introduced":"c42a6abe3012832a68a371dabe17c2ced97e62ad","fixed":"6f879d12f5f6414b3bab55cbafebedaca1a87cc4","status":"affected"},{"type":"git","introduced":"c42a6abe3012832a68a371dabe17c2ced97e62ad","fixed":"a60245d3e5f308eaf2d3e5a97cefc76450c7c6f1","status":"affected"},{"type":"git","introduced":"c42a6abe3012832a68a371dabe17c2ced97e62ad","fixed":"ab884f7c08b586aada5f6b2387313c0ceef6507d","status":"affected"},{"type":"git","introduced":"c42a6abe3012832a68a371dabe17c2ced97e62ad","fixed":"6c1ccd31b3a995a1a73e10e7bc8b6d96cf382241","status":"affected"},{"type":"git","introduced":"c42a6abe3012832a68a371dabe17c2ced97e62ad","fixed":"ee793cc8dcd58ed9afa0a69a84d66df4f8eacd88","status":"affected"},{"type":"git","introduced":"c42a6abe3012832a68a371dabe17c2ced97e62ad","fixed":"4bf4fb7f323402df1c57982365c8ac2498b89d10","status":"affected"},{"type":"git","introduced":"c42a6abe3012832a68a371dabe17c2ced97e62ad","fixed":"2225ab306575e424b3dad2ee1be2521c89249d15","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.11","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.11","status":"unaffected"},{"type":"semver","introduced":"5.10.275","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.226","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.117","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.61","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.2","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/64bc1cb17a7d278bdfce49c6a2780a43b25f3457","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6f879d12f5f6414b3bab55cbafebedaca1a87cc4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a60245d3e5f308eaf2d3e5a97cefc76450c7c6f1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ab884f7c08b586aada5f6b2387313c0ceef6507d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6c1ccd31b3a995a1a73e10e7bc8b6d96cf382241","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ee793cc8dcd58ed9afa0a69a84d66df4f8eacd88","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4bf4fb7f323402df1c57982365c8ac2498b89d10","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2225ab306575e424b3dad2ee1be2521c89249d15","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99549","url":"https://www.cve.org/CVERecord?id=CVE-2026-99549","licence":"CVE Terms of Use","modified":"2026-11-23T08:04:14.102Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99549","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99549","licence":"Public domain","modified":"2026-11-23T08:17:57.047Z"}],"updatedAt":"2026-11-25T22:59:52.111Z","epss":{"score":0.00541,"percentile":0.4692,"date":"2026-12-01T12:00:22.000Z"}}