CVE-2026-99274
smb: client: fix fiemap wild read on empty truncated response
In the Linux kernel, the following vulnerability has been resolved: smb: client: fix fiemap wild read on empty truncated response smb3_fiemap() treats -E2BIG from SMB2_ioctl() as a truncated range blob and loops for the next chunk. If the server reports STATUS_BUFFER_OVERFLOW with OutputCount == 0, SMB2_ioctl() returns -E2BIG with out_data == NULL and out_data_len == 0, and the existing length checks accept the empty result. The loop then evaluates next = out_data[num - 1].file_offset + ... with num == 0, reading 16 bytes before NULL. Reject a truncated range blob that contains no range, so the resume offset is never computed from an empty response. Also require the last range in a truncated blob to advance the resume offset without overflowing, and to stay within the requested range; a malicious or broken server could otherwise make no progress or underflow len and loop forever. Free the previous response buffer before retrying. Reproduced on 6.6.87.2 with a malicious SMB2 server that answers FSCTL_QUERY_ALLOCATED_RANGES with STATUS_BUFFER_OVERFLOW and OutputCount == 0; an FS_IOC_FIEMAP ioctl on the mount oopses in cifs_fiemap() with CR2 = fffffffffffffff8. The code path is unchanged on mainline.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.157% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T16:57:41.748Z. Public exploit availability is not used to set this status.
CVSS 4.0 · 7.1 · published by Ubuntu SecurityCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Assessment source · checked 2026-11-19T14:20:28.523Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:57:41.748Z | CISA KEV |
| cvss | verified | 2026-11-19T14:20:28.523Z | Ubuntu Security |
| epss | verified | 2026-11-19T16:05:00.247Z | FIRST EPSS |
| patches | verified | 2026-11-19T14:20:28.523Z | Ubuntu Security |
| affected | verified | 2026-11-19T10:46:27.679Z | CVE Program |
| lifecycle | verified | 2026-11-19T10:46:27.679Z | CVE Program |
Affected versions and configuration
Linux Linux; default status: unaffected: 2f3ebaba13cebd8badfb9aed31c0cf3cc82eb4f4 to < 8e0d425b808c367f5033eb72aa4528ae18473627 [affected; scheme: git]; 2f3ebaba13cebd8badfb9aed31c0cf3cc82eb4f4 to < 4a426ca5be7e3dedbe76575b967db04fbf01136f [affected; scheme: git]; 2f3ebaba13cebd8badfb9aed31c0cf3cc82eb4f4 to < 31f6dbb29fe17fa9595c7e8b19fd92915b03a4ca [affected; scheme: git]; 2f3ebaba13cebd8badfb9aed31c0cf3cc82eb4f4 to < f5baa17a0f316c235d61623ac8e8fb32c2b3c0cc [affected; scheme: git] Linux Linux; default status: affected: 5.2 [affected; scheme: unspecified]; 0 to < 5.2 [unaffected; scheme: semver]; 6.12.117 to ≤ 6.12.* [unaffected; scheme: semver]; 6.18.61 to ≤ 6.18.* [unaffected; scheme: semver]; 7.3.2 to ≤ 7.3.* [unaffected; scheme: semver]; 7.4-rc1 to ≤ * [unaffected; scheme: original_commit_for_fix]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
Ubuntu Security · ubuntu-package · full conditions
[
{
"name": "linux",
"debian": "https://tracker.debian.org/pkg/linux",
"source": "https://ubuntu.com/security/cve?package=linux",
"ubuntu": "https://packages.ubuntu.com/search?suite=all§ion=all&arch=any&searchon=sourcenames&keywords=linux",
"statuses": [
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "4.13.0-16.19",
"release_codename": "bionic"
},
{
"pocket": "security",
"status": "needed",
"component": null,
"description": "",
"release_codename": "focal"
},
{
"pocket": "security",
"status": "needed",
"component": null,
"description": "",
"release_codename": "jammy"
},
{
"pocket": "security",
"status": "needed",
"component": null,
"description": "",
"release_codename": "noble"
},
{
"pocket": "security",
"status": "needed",
"component": null,
"description": "",
"release_codename": "resolute"
},
{
"pocket": "security",
"status": "needed",
"component": null,
"description": "",
"release_codename": "stonking"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "3.11.0-12.19",
"release_codename": "trusty"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "7.4~rc1, 6.8.y, 7.0.y, 7.3.2",
"release_codename": "upstream"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "4.4.0-2.16",
"release_codename": "xenial"
}
]
}
]Archived source JSONCVE Program · cve-json · full conditions
{
"affected": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "2f3ebaba13cebd8badfb9aed31c0cf3cc82eb4f4",
"lessThan": "8e0d425b808c367f5033eb72aa4528ae18473627",
"versionType": "git"
},
{
"status": "affected",
"version": "2f3ebaba13cebd8badfb9aed31c0cf3cc82eb4f4",
"lessThan": "4a426ca5be7e3dedbe76575b967db04fbf01136f",
"versionType": "git"
},
{
"status": "affected",
"version": "2f3ebaba13cebd8badfb9aed31c0cf3cc82eb4f4",
"lessThan": "31f6dbb29fe17fa9595c7e8b19fd92915b03a4ca",
"versionType": "git"
},
{
"status": "affected",
"version": "2f3ebaba13cebd8badfb9aed31c0cf3cc82eb4f4",
"lessThan": "f5baa17a0f316c235d61623ac8e8fb32c2b3c0cc",
"versionType": "git"
}
],
"programFiles": [
"fs/smb/client/smb2ops.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "5.2"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "5.2",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.12.117",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.61",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.3.2",
"versionType": "semver",
"lessThanOrEqual": "7.3.*"
},
{
"status": "unaffected",
"version": "7.4-rc1",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"fs/smb/client/smb2ops.c"
],
"defaultStatus": "affected"
}
],
"additionalContainers": []
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| upstream-release | upstream / upstream | linux | Not a distribution channel | 7.4~rc1 | Official record |
| upstream-note | upstream / upstream | linux | Not a distribution channel | 6.8.y | Official record |
| upstream-note | upstream / upstream | linux | Not a distribution channel | 7.0.y | Official record |
| upstream-release | upstream / upstream | linux | Not a distribution channel | 7.3.2 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- CVE ProgramConsulted: 2026-11-19T10:46:27.679ZArchived source JSON
Source publication: 2026-11-07T14:08:45.924Z
Source modification: 2026-11-10T18:15:27.974ZDocument fingerprint
50efd1566782f51e6466ce4b0f24ac1ecae844dcb650b01f79d97656b0f5cfac - Ubuntu SecurityConsulted: 2026-11-19T14:20:28.523ZArchived source JSON
Source publication: 2026-11-07T14:17:00.000Z
Source modification: 2026-11-18T10:38:49.988ZDocument fingerprint
6ef89dd1a46e1d20be15e80fa25bd2b67ee81b1fe59fd90c053acc290d042216 - FIRST EPSSConsulted: 2026-11-19T16:05:00.247ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
5731933fc6450a013cfb786007b49cd6237aa7bd2f2357ee149b21fdb5127308 - CISA KEVConsulted: 2026-11-19T16:57:41.748ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56
Official status history
- UNKNOWN → PUBLISHED · · evidence