cbcvebase.
CVE-2025-40099
published 2025-10-30

CVE-2025-40099: In the Linux kernel, the following vulnerability has been resolved: cifs: parse_dfs_referrals: prevent oob on malformed input Malicious SMB server can send…

PriorityP347critical9.4CVSS 3.1
AVNACLPRNUINSUCHILAH
EPSS
0.38%
30.9th percentile
In the Linux kernel, the following vulnerability has been resolved: cifs: parse_dfs_referrals: prevent oob on malformed input Malicious SMB server can send invalid reply to FSCTL_DFS_GET_REFERRALS - reply smaller than sizeof(struct get_dfs_referral_rsp) - reply with number of referrals smaller than NumberOfReferrals in the header Processing of such replies will cause oob. Return -EINVAL error on such replies to prevent oob-s.

Affected

22 ranges
VendorProductVersion rangeFixed in
debianlinux< linux 6.1.158-1 (bookworm)linux 6.1.158-1 (bookworm)
debianlinux-6.1< linux 6.1.158-1 (bookworm)linux 6.1.158-1 (bookworm)
linuxlinux
linuxlinux>= 4ecce920e13ace16a5ba45efe8909946c28fb2ad < cfacc7441f760e4a73cc71b6ff1635261d534657cfacc7441f760e4a73cc71b6ff1635261d534657
linuxlinux>= 4ecce920e13ace16a5ba45efe8909946c28fb2ad < 15c73964da9df994302f579ed14ee5fdbce7a33215c73964da9df994302f579ed14ee5fdbce7a332
linuxlinux>= 4ecce920e13ace16a5ba45efe8909946c28fb2ad < 8bc4a8d39bac23d8b044fd3e2dbfd965f1d9b0588bc4a8d39bac23d8b044fd3e2dbfd965f1d9b058
linuxlinux>= 4ecce920e13ace16a5ba45efe8909946c28fb2ad < bb0f2e66e1ac043a5b238f5bcab4f26f3c317039bb0f2e66e1ac043a5b238f5bcab4f26f3c317039
linuxlinux>= 4ecce920e13ace16a5ba45efe8909946c28fb2ad < 6447b0e355562a1ff748c4a2ffb89aae7e84d2c96447b0e355562a1ff748c4a2ffb89aae7e84d2c9
linuxlinux_kernel>= 0 < 6.1.158-16.1.158-1
linuxlinux_kernel>= 0 < 6.12.57-16.12.57-1
linuxlinux_kernel>= 0 < 6.17.6-16.17.6-1
linuxlinux_kernel>= 0 < 6.8.0-106.1066.8.0-106.106
linuxlinux_kernel>= 0 < 6.17.0-14.146.17.0-14.14
linuxlinux_kernel>= 4.11.0 < 6.1.1586.1.158
linuxlinux_kernel>= 6.13.0 < 6.17.56.17.5
linuxlinux_kernel>= 6.2.0 < 6.6.1146.6.114
linuxlinux_kernel>= 6.7.0 < 6.12.556.12.55
msrcazl3_kernel_6.6.104.2-4_on_azure_linux_3.0
msrcazl3_kernel_6.6.112.1-2_on_azure_linux_3.0
ubuntulinux-aws
ubuntulinux-oracle
ubuntulinux-xilinx

CVSS provenance

nvdv3.19.4CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H
osv3.2LOW
vendor_ubuntu7.8HIGH
vendor_msrc6.3MEDIUM
vendor_redhat5.5LOW
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.