{"id":"CVE-2026-99549","aliases":[],"title":"smb: client: do not pass a NULL buf to is_oplock_break()","originalDescription":"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].","severity":{"cvss":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","label":"high"},"exploitation":{"kev":null,"epss":{"score":0.00541,"percentile":0.47},"exploitDb":null},"affected":[{"ecosystem":"Linux","name":"Kernel","range":">=4.11.0, <6.12.117","fixed":"6.12.117"},{"ecosystem":"Linux","name":"Kernel","range":">=6.13.0, <6.18.61","fixed":"6.18.61"},{"ecosystem":"Linux","name":"Kernel","range":">=6.19.0, <7.3.2","fixed":"7.3.2"},{"ecosystem":"vendor","name":"Linux","range":">=c42a6abe3012832a68a371dabe17c2ced97e62ad, <2225ab306575e424b3dad2ee1be2521c89249d15","fixed":"2225ab306575e424b3dad2ee1be2521c89249d15"},{"ecosystem":"vendor","name":"Linux","range":">=c42a6abe3012832a68a371dabe17c2ced97e62ad, <4bf4fb7f323402df1c57982365c8ac2498b89d10","fixed":"4bf4fb7f323402df1c57982365c8ac2498b89d10"},{"ecosystem":"vendor","name":"Linux","range":">=c42a6abe3012832a68a371dabe17c2ced97e62ad, <64bc1cb17a7d278bdfce49c6a2780a43b25f3457","fixed":"64bc1cb17a7d278bdfce49c6a2780a43b25f3457"},{"ecosystem":"vendor","name":"Linux","range":">=c42a6abe3012832a68a371dabe17c2ced97e62ad, <6c1ccd31b3a995a1a73e10e7bc8b6d96cf382241","fixed":"6c1ccd31b3a995a1a73e10e7bc8b6d96cf382241"},{"ecosystem":"vendor","name":"Linux","range":">=c42a6abe3012832a68a371dabe17c2ced97e62ad, <6f879d12f5f6414b3bab55cbafebedaca1a87cc4","fixed":"6f879d12f5f6414b3bab55cbafebedaca1a87cc4"},{"ecosystem":"vendor","name":"Linux","range":">=c42a6abe3012832a68a371dabe17c2ced97e62ad, <a60245d3e5f308eaf2d3e5a97cefc76450c7c6f1","fixed":"a60245d3e5f308eaf2d3e5a97cefc76450c7c6f1"},{"ecosystem":"vendor","name":"Linux","range":">=c42a6abe3012832a68a371dabe17c2ced97e62ad, <ab884f7c08b586aada5f6b2387313c0ceef6507d","fixed":"ab884f7c08b586aada5f6b2387313c0ceef6507d"},{"ecosystem":"vendor","name":"Linux","range":">=c42a6abe3012832a68a371dabe17c2ced97e62ad, <ee793cc8dcd58ed9afa0a69a84d66df4f8eacd88","fixed":"ee793cc8dcd58ed9afa0a69a84d66df4f8eacd88"}],"references":[{"url":"https://git.kernel.org/stable/c/6c1ccd31b3a995a1a73e10e7bc8b6d96cf382241","type":"other"},{"url":"https://git.kernel.org/stable/c/ee793cc8dcd58ed9afa0a69a84d66df4f8eacd88","type":"other"},{"url":"https://git.kernel.org/stable/c/4bf4fb7f323402df1c57982365c8ac2498b89d10","type":"other"},{"url":"https://git.kernel.org/stable/c/2225ab306575e424b3dad2ee1be2521c89249d15","type":"other"},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","type":"package"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99549.json","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99549","type":"advisory"},{"url":"https://git.kernel.org/stable/c/64bc1cb17a7d278bdfce49c6a2780a43b25f3457","type":"other"},{"url":"https://git.kernel.org/stable/c/6f879d12f5f6414b3bab55cbafebedaca1a87cc4","type":"other"},{"url":"https://git.kernel.org/stable/c/a60245d3e5f308eaf2d3e5a97cefc76450c7c6f1","type":"other"},{"url":"https://git.kernel.org/stable/c/ab884f7c08b586aada5f6b2387313c0ceef6507d","type":"other"}],"sources":[{"name":"nvd","at":"2026-11-23T08:46:27.371Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99549","license":"NVD terms of use","firstSeenAt":"2026-11-19T15:43:48.259Z"},{"name":"osv","at":"2026-11-22T13:31:46.649Z","url":"https://osv.dev/vulnerability/CVE-2026-99549","license":"CC-BY 4.0","firstSeenAt":"2026-11-19T17:23:42.565Z"},{"name":"cvelistV5","at":"2026-11-23T21:30:55.849Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-99549","license":"CVE Terms of Use","firstSeenAt":"2026-11-19T15:00:34.474Z"}],"firstSeenAt":"2026-11-19T15:00:34.474Z","publishedAt":"2026-11-19T14:45:13.123Z","modifiedAt":"2026-11-23T08:17:57.047Z"}