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-31708

published high CVSS 3.1 · 8.1

smb: client: fix OOB read in smb2_ioctl_query_info QUERY_INFO path

Published
01 May 2026, 13:56:05 UTC
Updated
19 Oct 2026, 19:06:06 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxf5778c398713692a16150ae96e5c8270bab8399f to < e66bdc0704977ecee667a81d38255b579c2353d0 · f5778c398713692a16150ae96e5c8270bab8399f to < 9e203dbb5402897c43130fb171a2617008a91f45 · f5778c398713692a16150ae96e5c8270bab8399f to < 1dd757379997b71a328a4b591ffaf481acd0ead1 · f5778c398713692a16150ae96e5c8270bab8399f to < a34d456934fe42e4da5d2cc07787bf418bee99c6 · f5778c398713692a16150ae96e5c8270bab8399f to < ac2f14e4705d020f04e806efa0d49ab8dc2b145f · f5778c398713692a16150ae96e5c8270bab8399f to < 078fae8f50adebb903ccf2252b44391324571e78 · f5778c398713692a16150ae96e5c8270bab8399f to < 85fd46ee26a11841c670449508025965f61ce131 · f5778c398713692a16150ae96e5c8270bab8399f to < a58c5af19ff0d6f44f6e9fe31e33a2c92223f77e · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.1 (affected) · 0 to < 5.1 (unaffected · semver) · 5.10.259 through 5.10.* (unaffected · semver) · 5.15.210 through 5.15.* (unaffected · semver) · 6.1.175 through 6.1.* (unaffected · semver) · 6.6.136 through 6.6.* (unaffected · semver) · 6.12.84 through 6.12.* (unaffected · semver) · 6.18.25 through 6.18.* (unaffected · semver) · 7.0.2 through 7.0.* (unaffected · semver) · 7.1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Siemens — SIMATIC S7-1500 TM MFP - GNU/Linux subsystem0 and later · Other versions: unknown Affected Not stated siemens-SADP
Amazon Linux AL2 Release evaluation Not Affected; No Fix Planned Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2026-124 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.15-2026-110 Fixed Not stated Amazon Linux assessment
Debian bookworm linux Advisory build 6.1.176-1 DLA-4665-1
Oracle Linux 10 kernel-uekaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Show 101 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2023 Release evaluationALAS2023-2026-1693 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-1816 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-1882 Fixed Not stated Amazon Linux assessment
Debian bullseye linux Advisory build 5.10.259-1 DLA-4664-1
Debian bullseye linux-6.1 Advisory build 6.1.176-1~deb11u1 DLA-4671-1
Oracle Linux 10 kernel-uekx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-coreaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-corex86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debugaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debugx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-coreaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-corex86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-develaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-develx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-modulesaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-modulesx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-modules-coreaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-modules-corex86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-modules-deprecatedaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-modules-deprecatedx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-modules-desktopaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-modules-desktopx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-modules-extraaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-modules-extrax86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-modules-usbaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-modules-usbx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-modules-wirelessaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-modules-wirelessx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-develaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-develx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-docaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-docx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-modulesaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-modulesx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-modules-coreaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-modules-corex86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-modules-deprecatedaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-modules-deprecatedx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-modules-desktopaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-modules-desktopx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-modules-extraaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-modules-extrax86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-modules-usbaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-modules-usbx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-modules-wirelessaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-modules-wirelessx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-toolsaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-toolsx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek64kaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek64k-coreaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek64k-develaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek64k-modulesaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek64k-modules-coreaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek64k-modules-deprecatedaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek64k-modules-desktopaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek64k-modules-extraaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek64k-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek64k-modules-usbaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek64k-modules-wirelessaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 9 kernel-uekaarch64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uekx86_64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-coreaarch64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-corex86_64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debugaarch64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debugx86_64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debug-coreaarch64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debug-corex86_64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debug-develaarch64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debug-develx86_64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debug-modulesaarch64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debug-modulesx86_64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debug-modules-coreaarch64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debug-modules-corex86_64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debug-modules-deprecatedaarch64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debug-modules-deprecatedx86_64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debug-modules-desktopaarch64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debug-modules-desktopx86_64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debug-modules-extraaarch64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debug-modules-extrax86_64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debug-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debug-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debug-modules-usbaarch64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debug-modules-usbx86_64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debug-modules-wirelessaarch64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debug-modules-wirelessx86_64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-develaarch64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-develx86_64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-docaarch64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-docx86_64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-modulesaarch64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-modulesx86_64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-modules-coreaarch64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-modules-corex86_64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-modules-deprecatedaarch64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-modules-deprecatedx86_64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-modules-desktopaarch64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-modules-desktopx86_64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: smb: client: fix OOB read in smb2_ioctl_query_info QUERY_INFO path smb2_ioctl_query_info() has two response-copy branches: PASSTHRU_FSCTL and the default QUERY_INFO path. The QUERY_INFO branch clamps qi.input_buffer_length to the server-reported OutputBufferLength and then copies qi.input_buffer_length bytes from qi_rsp->Buffer to userspace, but it never verifies that the flexible-array payload actually fits within rsp_iov[1].iov_len. A malicious server can return OutputBufferLength larger than the actual QUERY_INFO response, causing copy_to_user() to walk past the response buffer and expose adjacent kernel heap to userspace. Guard the QUERY_INFO copy with a bounds check on the actual Buffer payload. Use struct_size(qi_rsp, Buffer, qi.input_buffer_length) rather than an open-coded addition so the guard cannot overflow on 32-bit builds.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

67

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
8.1 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
Scenarios
en: AV:N - The attacker-controlled data is an SMB2 QUERY_INFO response sent by a remote SMB server to the kernel SMB client over the network. The vulnerable copy is reached after the client issues the ioctl-triggered compound open/query/close request. AC:L - There is no race or fragile timing requirement; a malicious server controls the malformed response fields and can reliably make the advertised copy length exceed the actual response payload. CIFS/SMB client support is common and the affected SMB2+ path is not a rare configuration. PR:N - The malicious SMB server needs no privileges on the vulnerable client. The affected PASSTHRU_QUERY_INFO branch has no CAP_SYS_ADMIN check, unlike the FSCTL and SET_INFO branches. UI:R - A victim or local process must have mounted/accessed the SMB share and issued the CIFS_QUERY_INFO ioctl. The malicious server cannot reach this ioctl path entirely unsolicited. S:U - The impact is within the vulnerable kernel/client system security scope. This is not a VM escape, IOMMU bypass, or cross-authority boundary violation. C:H - The bug is an out-of-bounds kernel read copied to userspace from beyond the received SMB response buffer. The overread can expose adjacent kernel heap data and is not strictly bounded to only a few harmless bytes. I:N - The vulnerable operation is a read from kernel memory followed by copy_to_user. It does not provide a kernel write primitive or direct data modification. A:H - The same attacker-controlled length can drive copy_to_user far beyond the valid response buffer. That can trigger kernel faults or hardened usercopy failures, so a kernel crash is a defensible impact.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux f5778c398713692a16150ae96e5c8270bab8399f to < e66bdc0704977ecee667a81d38255b579c2353d0 (affected · git)f5778c398713692a16150ae96e5c8270bab8399f to < 9e203dbb5402897c43130fb171a2617008a91f45 (affected · git)f5778c398713692a16150ae96e5c8270bab8399f to < 1dd757379997b71a328a4b591ffaf481acd0ead1 (affected · git)f5778c398713692a16150ae96e5c8270bab8399f to < a34d456934fe42e4da5d2cc07787bf418bee99c6 (affected · git)f5778c398713692a16150ae96e5c8270bab8399f to < ac2f14e4705d020f04e806efa0d49ab8dc2b145f (affected · git)f5778c398713692a16150ae96e5c8270bab8399f to < 078fae8f50adebb903ccf2252b44391324571e78 (affected · git)f5778c398713692a16150ae96e5c8270bab8399f to < 85fd46ee26a11841c670449508025965f61ce131 (affected · git)f5778c398713692a16150ae96e5c8270bab8399f to < a58c5af19ff0d6f44f6e9fe31e33a2c92223f77e (affected · git)Default: unaffected Linux · cna
Linux Linux 5.1 (affected)0 to < 5.1 (unaffected · semver)5.10.259 through 5.10.* (unaffected · semver)5.15.210 through 5.15.* (unaffected · semver)6.1.175 through 6.1.* (unaffected · semver)6.6.136 through 6.6.* (unaffected · semver)6.12.84 through 6.12.* (unaffected · semver)6.18.25 through 6.18.* (unaffected · semver)7.0.2 through 7.0.* (unaffected · semver)7.1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna
Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem 0 and later (affected · custom)Default: unknown siemens-SADP · adp

Weaknesses

1
  • CWE-125 CWE-125 Out-of-bounds Read (CISA-ADP · adp)

References

9

Provider assertions

3

Linux · cna

smb: client: fix OOB read in smb2_ioctl_query_info QUERY_INFO path

siemens-SADP · adp

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
87105b81d4a5f081ebc2690b2afb4e58fc3a25ad7217c545eb65e2689762cbb2
Ingested
19 Oct 2026, 19:18:18 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