# CVE-2026-99274: smb: client: fix fiemap wild read on empty truncated response

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.23% (percentile 8, 2026-11-26)
- **Published:** 2026-11-07T14:08:45.924Z
- **Modified:** 2026-11-25T19:17:42.017Z

## Who should check

- Anyone running Linux \>= 2f3ebaba13cebd8badfb9aed31c0cf3cc82eb4f4, \< d4daf95579a2fc481340bf4b5d048512311587a6; \>= 2f3ebaba13cebd8badfb9aed31c0cf3cc82eb4f4, \< 70dcd9d353cc180bbac8dd18f6f98e49f5861151; \>= 2f3ebaba13cebd8badfb9aed31c0cf3cc82eb4f4, \< 893ac2d1866ed9d0594f94a223af2f5265c4c5ef; \>= 2f3ebaba13cebd8badfb9aed31c0cf3cc82eb4f4, \< 79928a7c0f8b6ec3197c58877f83054660b6d93d; \>= 2f3ebaba13cebd8badfb9aed31c0cf3cc82eb4f4, \< 8e0d425b808c367f5033eb72aa4528ae18473627; \>= 2f3ebaba13cebd8badfb9aed31c0cf3cc82eb4f4, \< 4a426ca5be7e3dedbe76575b967db04fbf01136f; \>= 2f3ebaba13cebd8badfb9aed31c0cf3cc82eb4f4, \< 31f6dbb29fe17fa9595c7e8b19fd92915b03a4ca; \>= 2f3ebaba13cebd8badfb9aed31c0cf3cc82eb4f4, \< f5baa17a0f316c235d61623ac8e8fb32c2b3c0cc
- Anyone running Linux 5.2

## Description

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.

## Affected and fixed versions

- Linux: \>= 2f3ebaba13cebd8badfb9aed31c0cf3cc82eb4f4, \< d4daf95579a2fc481340bf4b5d048512311587a6; \>= 2f3ebaba13cebd8badfb9aed31c0cf3cc82eb4f4, \< 70dcd9d353cc180bbac8dd18f6f98e49f5861151; \>= 2f3ebaba13cebd8badfb9aed31c0cf3cc82eb4f4, \< 893ac2d1866ed9d0594f94a223af2f5265c4c5ef; \>= 2f3ebaba13cebd8badfb9aed31c0cf3cc82eb4f4, \< 79928a7c0f8b6ec3197c58877f83054660b6d93d; \>= 2f3ebaba13cebd8badfb9aed31c0cf3cc82eb4f4, \< 8e0d425b808c367f5033eb72aa4528ae18473627; \>= 2f3ebaba13cebd8badfb9aed31c0cf3cc82eb4f4, \< 4a426ca5be7e3dedbe76575b967db04fbf01136f; \>= 2f3ebaba13cebd8badfb9aed31c0cf3cc82eb4f4, \< 31f6dbb29fe17fa9595c7e8b19fd92915b03a4ca; \>= 2f3ebaba13cebd8badfb9aed31c0cf3cc82eb4f4, \< f5baa17a0f316c235d61623ac8e8fb32c2b3c0cc (cvelist)
- Linux: 5.2 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-99274. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99274.md
Affected: Linux >= 2f3ebaba13cebd8badfb9aed31c0cf3cc82eb4f4, < d4daf95579a2fc481340bf4b5d048512311587a6; >= 2f3ebaba13cebd8badfb9aed31c0cf3cc82eb4f4, < 70dcd9d353cc180bbac8dd18f6f98e49f5861151; >= 2f3ebaba13cebd8badfb9aed31c0cf3cc82eb4f4, < 893ac2d1866ed9d0594f94a223af2f5265c4c5ef; >= 2f3ebaba13cebd8badfb9ae…
Fixed in: Linux 70dcd9d353cc180bbac8dd18f6f98e49f5861151, Linux 893ac2d1866ed9d0594f94a223af2f5265c4c5ef, Linux 79928a7c0f8b6ec3197c58877f83054660b6d93d, Linux 8e0d425b808c367f5033eb72aa4528ae18473627, Linux 4a426ca5be7e3dedbe76575b967db04fbf01136f, Linux 31f6dbb29fe17fa9595c7e8b19fd92915b03a4ca

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-99274 being exploited?

There is no confirmed exploitation: CVE-2026-99274 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.23% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-99274?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-99274?

Linux \>= 2f3ebaba13cebd8badfb9aed31c0cf3cc82eb4f4, \< d4daf95579a2fc481340bf4b5d048512311587a6; \>= 2f3ebaba13cebd8badfb9aed31c0cf3cc82eb4f4, \< 70dcd9d353cc180bbac8dd18f6f98e49f5861151; \>= 2f3ebaba13cebd8badfb9aed31c0cf3cc82eb4f4, \< 893ac2d1866ed9d0594f94a223af2f5265c4c5ef; \>= 2f3ebaba13cebd8badfb9aed31c0cf3cc82eb4f4, \< 79928a7c0f8b6ec3197c58877f83054660b6d93d; \>= 2f3ebaba13cebd8badfb9aed31c0cf3cc82eb4f4, \< 8e0d425b808c367f5033eb72aa4528ae18473627; \>= 2f3ebaba13cebd8badfb9aed31c0cf3cc82eb4f4, \< 4a426ca5be7e3dedbe76575b967db04fbf01136f; \>= 2f3ebaba13cebd8badfb9aed31c0cf3cc82eb4f4, \< 31f6dbb29fe17fa9595c7e8b19fd92915b03a4ca; \>= 2f3ebaba13cebd8badfb9aed31c0cf3cc82eb4f4, \< f5baa17a0f316c235d61623ac8e8fb32c2b3c0cc; Linux 5.2.

### Is there a fix for CVE-2026-99274?

Yes. Fixed in Linux 70dcd9d353cc180bbac8dd18f6f98e49f5861151, Linux 893ac2d1866ed9d0594f94a223af2f5265c4c5ef, Linux 79928a7c0f8b6ec3197c58877f83054660b6d93d, Linux 8e0d425b808c367f5033eb72aa4528ae18473627, Linux 4a426ca5be7e3dedbe76575b967db04fbf01136f, Linux 31f6dbb29fe17fa9595c7e8b19fd92915b03a4ca. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-99274?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/d4daf95579a2fc481340bf4b5d048512311587a6>
- other: <https://git.kernel.org/stable/c/70dcd9d353cc180bbac8dd18f6f98e49f5861151>
- other: <https://git.kernel.org/stable/c/893ac2d1866ed9d0594f94a223af2f5265c4c5ef>
- other: <https://git.kernel.org/stable/c/79928a7c0f8b6ec3197c58877f83054660b6d93d>
- other: <https://git.kernel.org/stable/c/8e0d425b808c367f5033eb72aa4528ae18473627>
- other: <https://git.kernel.org/stable/c/4a426ca5be7e3dedbe76575b967db04fbf01136f>
- other: <https://git.kernel.org/stable/c/31f6dbb29fe17fa9595c7e8b19fd92915b03a4ca>
- other: <https://git.kernel.org/stable/c/f5baa17a0f316c235d61623ac8e8fb32c2b3c0cc>
- other: <https://github.com/suruurism/cve-writeups-and-pocs/blob/main/CVE-2026-99274/CVE-2026-99274.md>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-99274>

HTML: <https://flawdb.com/CVE-2026-99274> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-99274>
