{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2026-99549", "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "state": "PUBLISHED", "assignerShortName": "Linux", "dateReserved": "2026-09-25T10:25:14.421Z", "datePublished": "2026-11-19T14:45:13.123Z", "dateUpdated": "2026-11-23T08:04:14.102Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "shortName": "Linux", "dateUpdated": "2026-11-23T08:04:14.102Z" }, "descriptions": [ { "lang": "en", "value": "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]." } ], "metrics": [ { "cvssV3_1": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", "baseScore": 7.5, "baseSeverity": "HIGH" }, "scenarios": [ { "lang": "en", "value": "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.\nAC: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.\nPR: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.\nUI: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.\nS: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.\nC: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.\nI: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.\nA: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." } ] } ], "affected": [ { "product": "Linux", "vendor": "Linux", "defaultStatus": "unaffected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "fs/smb/client/connect.c", "fs/smb/client/smb2ops.c" ], "versions": [ { "version": "c42a6abe3012832a68a371dabe17c2ced97e62ad", "lessThan": "64bc1cb17a7d278bdfce49c6a2780a43b25f3457", "status": "affected", "versionType": "git" }, { "version": "c42a6abe3012832a68a371dabe17c2ced97e62ad", "lessThan": "6f879d12f5f6414b3bab55cbafebedaca1a87cc4", "status": "affected", "versionType": "git" }, { "version": "c42a6abe3012832a68a371dabe17c2ced97e62ad", "lessThan": "a60245d3e5f308eaf2d3e5a97cefc76450c7c6f1", "status": "affected", "versionType": "git" }, { "version": "c42a6abe3012832a68a371dabe17c2ced97e62ad", "lessThan": "ab884f7c08b586aada5f6b2387313c0ceef6507d", "status": "affected", "versionType": "git" }, { "version": "c42a6abe3012832a68a371dabe17c2ced97e62ad", "lessThan": "6c1ccd31b3a995a1a73e10e7bc8b6d96cf382241", "status": "affected", "versionType": "git" }, { "version": "c42a6abe3012832a68a371dabe17c2ced97e62ad", "lessThan": "ee793cc8dcd58ed9afa0a69a84d66df4f8eacd88", "status": "affected", "versionType": "git" }, { "version": "c42a6abe3012832a68a371dabe17c2ced97e62ad", "lessThan": "4bf4fb7f323402df1c57982365c8ac2498b89d10", "status": "affected", "versionType": "git" }, { "version": "c42a6abe3012832a68a371dabe17c2ced97e62ad", "lessThan": "2225ab306575e424b3dad2ee1be2521c89249d15", "status": "affected", "versionType": "git" } ] }, { "product": "Linux", "vendor": "Linux", "defaultStatus": "affected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "fs/smb/client/connect.c", "fs/smb/client/smb2ops.c" ], "versions": [ { "version": "4.11", "status": "affected" }, { "version": "0", "lessThan": "4.11", "status": "unaffected", "versionType": "semver" }, { "version": "5.10.275", "lessThanOrEqual": "5.10.*", "status": "unaffected", "versionType": "semver" }, { "version": "5.15.226", "lessThanOrEqual": "5.15.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.1.193", "lessThanOrEqual": "6.1.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.6.163", "lessThanOrEqual": "6.6.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.12.117", "lessThanOrEqual": "6.12.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.18.61", "lessThanOrEqual": "6.18.*", "status": "unaffected", "versionType": "semver" }, { "version": "7.3.2", "lessThanOrEqual": "7.3.*", "status": "unaffected", "versionType": "semver" }, { "version": "7.4-rc1", "lessThanOrEqual": "*", "status": "unaffected", "versionType": "original_commit_for_fix" } ] } ], "cpeApplicability": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.11", "versionEndExcluding": "5.10.275" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.11", "versionEndExcluding": "5.15.226" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.11", "versionEndExcluding": "6.1.193" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.11", "versionEndExcluding": "6.6.163" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.11", "versionEndExcluding": "6.12.117" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.11", "versionEndExcluding": "6.18.61" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.11", "versionEndExcluding": "7.3.2" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.11", "versionEndExcluding": "7.4-rc1" } ] } ] } ], "references": [ { "url": "https://git.kernel.org/stable/c/64bc1cb17a7d278bdfce49c6a2780a43b25f3457" }, { "url": "https://git.kernel.org/stable/c/6f879d12f5f6414b3bab55cbafebedaca1a87cc4" }, { "url": "https://git.kernel.org/stable/c/a60245d3e5f308eaf2d3e5a97cefc76450c7c6f1" }, { "url": "https://git.kernel.org/stable/c/ab884f7c08b586aada5f6b2387313c0ceef6507d" }, { "url": "https://git.kernel.org/stable/c/6c1ccd31b3a995a1a73e10e7bc8b6d96cf382241" }, { "url": "https://git.kernel.org/stable/c/ee793cc8dcd58ed9afa0a69a84d66df4f8eacd88" }, { "url": "https://git.kernel.org/stable/c/4bf4fb7f323402df1c57982365c8ac2498b89d10" }, { "url": "https://git.kernel.org/stable/c/2225ab306575e424b3dad2ee1be2521c89249d15" } ], "title": "smb: client: do not pass a NULL buf to is_oplock_break()", "x_generator": { "engine": "bippy-1.2.0" } } } }