Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-99549

published high CVSS 3.1 · 7.5

smb: client: do not pass a NULL buf to is_oplock_break()

Published
19 Nov 2026, 14:45:13 UTC
Updated
23 Nov 2026, 08:04:14 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxc42a6abe3012832a68a371dabe17c2ced97e62ad to < 64bc1cb17a7d278bdfce49c6a2780a43b25f3457 · c42a6abe3012832a68a371dabe17c2ced97e62ad to < 6f879d12f5f6414b3bab55cbafebedaca1a87cc4 · c42a6abe3012832a68a371dabe17c2ced97e62ad to < a60245d3e5f308eaf2d3e5a97cefc76450c7c6f1 · c42a6abe3012832a68a371dabe17c2ced97e62ad to < ab884f7c08b586aada5f6b2387313c0ceef6507d · c42a6abe3012832a68a371dabe17c2ced97e62ad to < 6c1ccd31b3a995a1a73e10e7bc8b6d96cf382241 · c42a6abe3012832a68a371dabe17c2ced97e62ad to < ee793cc8dcd58ed9afa0a69a84d66df4f8eacd88 · c42a6abe3012832a68a371dabe17c2ced97e62ad to < 4bf4fb7f323402df1c57982365c8ac2498b89d10 · c42a6abe3012832a68a371dabe17c2ced97e62ad to < 2225ab306575e424b3dad2ee1be2521c89249d15 · Other versions: unaffected Affected Not stated Linux
Linux — Linux4.11 (affected) · 0 to < 4.11 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.61 through 6.18.* (unaffected · semver) · 7.3.2 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Pending Fix Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Pending Fix Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-3538 Fixed Not stated Amazon Linux assessment
Debian bookworm linux-6.12 Advisory build 6.12.117-1~deb12u1 DLA-4927-1
Amazon Linux AL2023 kernel6.18aarch64 Listed in advisory Not stated ALAS2023-2026-3538
Amazon Linux AL2023 kernel6.18src Listed in advisory Not stated ALAS2023-2026-3538
Show 1 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2023 kernel6.18x86_64 Listed in advisory Not stated ALAS2023-2026-3538

Description

In the Linux kernel, the following vulnerability has been resolved: smb: client: do not pass a NULL buf to is_oplock_break() receive_encrypted_read() sets *num_mids = 1 and never writes the caller's bufs[]. Offload returns -1 with *num_mids = 0, so the demultiplex thread skips the frame. The inline decrypt path returns 0 even when smb2_find_mid() fails. cifs_demultiplex_thread() then treats mids[i] == NULL as an oplock break and calls is_oplock_break(bufs[i], server) with bufs[i] still NULL. smb2_is_valid_oplock_break() reads hdr.Command at offset 12 and oopses. A large encrypted READ whose MessageId does not match is enough to panic cifsd. Oops: general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] CPU: 0 PID: 100 Comm: cifsd RIP: smb2_is_valid_oplock_break+0xc8/0x2270 [cifs] cifs_demultiplex_thread Kernel panic - not syncing: Fatal exception Return -1 when inline decrypt finds no mid, and skip is_oplock_break() plus the unknown-frame dump when bufs[i] is NULL. receive_encrypted_standard() already assigns bufs[*num_mids].

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

2

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.5 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Scenarios
en: AV:N - The triggering bytes are the SMB server's transform PDU. cifs_demultiplex_thread reads it with cifs_read_from_socket, smb3_is_transform_hdr matches ProtocolId SMB2_TRANSFORM_PROTO_NUM, and smb3_receive_transform calls receive_encrypted_read when pdu_size exceeds CIFSMaxBufSize+MAX_HEADER_SIZE. The decrypted smb2_hdr.MessageId misses pending_mid_q. SMB is routable TCP. AC:L - The server picks the cipher in negotiate so SMB2_sess_establish_session derives smb3decryptionkey, then sends one transform frame whose SessionId equals ses->Suid, whose OriginalMessageSize takes the inline path (min_offload is 0 unless esize= is set), and whose MessageId/Command pair smb2_find_mid misses. decrypt_raw_data returns 0, and the pre-fix function returns 0 with num_mids still 1. PR:N - cifs_demultiplex_thread applies no capability check to the peer. smb2_get_enc_key only matches tr_hdr->SessionId to ses->Suid of the session the client opened; the server does not authenticate to the client. UI:N - The frame is unsolicited. Once the session exists, cifs_demultiplex_thread reads the transform PDU and reaches smb2_is_valid_oplock_break with no VFS read or ioctl on that path. smb3_receive_transform selects receive_encrypted_read because pdu_size exceeds CIFSMaxBufSize+MAX_HEADER_SIZE. S:U - The NULL-pointer oops is in cifsd (cifs_demultiplex_thread) in the same kernel that holds the SMB session. It stays inside that kernel security boundary. C:N - smb2_is_valid_oplock_break loads rsp->hdr.Command at offset 12 through the NULL bufs[i] pointer and faults. The decrypted buffer is not copied to userspace. I:N - smb2_is_valid_oplock_break faults while loading rsp->hdr.Command through bufs[i], which receive_encrypted_read left NULL. That pointer is a zeroed stack slot rather than a value taken from the transform payload, so the oops supplies no write or control-flow primitive. A:H - The load in smb2_is_valid_oplock_break is a NULL-pointer general protection fault in the cifsd kthread. The fix commit's trace ends in a kernel panic (Fatal exception) from cifs_demultiplex_thread.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux c42a6abe3012832a68a371dabe17c2ced97e62ad to < 64bc1cb17a7d278bdfce49c6a2780a43b25f3457 (affected · git)c42a6abe3012832a68a371dabe17c2ced97e62ad to < 6f879d12f5f6414b3bab55cbafebedaca1a87cc4 (affected · git)c42a6abe3012832a68a371dabe17c2ced97e62ad to < a60245d3e5f308eaf2d3e5a97cefc76450c7c6f1 (affected · git)c42a6abe3012832a68a371dabe17c2ced97e62ad to < ab884f7c08b586aada5f6b2387313c0ceef6507d (affected · git)c42a6abe3012832a68a371dabe17c2ced97e62ad to < 6c1ccd31b3a995a1a73e10e7bc8b6d96cf382241 (affected · git)c42a6abe3012832a68a371dabe17c2ced97e62ad to < ee793cc8dcd58ed9afa0a69a84d66df4f8eacd88 (affected · git)c42a6abe3012832a68a371dabe17c2ced97e62ad to < 4bf4fb7f323402df1c57982365c8ac2498b89d10 (affected · git)c42a6abe3012832a68a371dabe17c2ced97e62ad to < 2225ab306575e424b3dad2ee1be2521c89249d15 (affected · git)Default: unaffected Linux · cna
Linux Linux 4.11 (affected)0 to < 4.11 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.61 through 6.18.* (unaffected · semver)7.3.2 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

8

Provider assertions

1

Linux · cna

smb: client: do not pass a NULL buf to is_oplock_break()

Provenance

Schema
5.2
Searchable
yes
Content hash
b6dc6f2c1e4377f97e9dab9ce2f8478ccff52813634384b9732674dd0cfafeb7
Ingested
23 Nov 2026, 14:35:29 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected