CVE-2026-43185
Last modified
CVE-2026-43185 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix signededness bug in smb_direct_prepare_negotiation() smb_direct_prepare_negotiation() casts an unsigned __u32 value from sp->max_recv_size and req->preferred_send_size to a signed int before computing min_t(int, ...). A maliciously provided preferred_send_size of 0x80000000 will return as smaller than max_recv_size, and then be used to set the maximum allowed alowed receive size for the next message. By sending a second message with a large value (>1420 bytes) the attacker can then achieve a heap buffer overflow. This fix replaces min_t(int, ...) with min_t(u32). EPSS estimates a 0.62% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix signededness bug in smb_direct_prepare_negotiation() smb_direct_prepare_negotiation() casts an unsigned __u32 value from sp->max_recv_size and req->preferred_send_size to a signed int before computing min_t(int, ...). A maliciously provided preferred_send_size of 0x80000000 will return as smaller than max_recv_size, and then be used to set the maximum allowed alowed receive size for the next message. By sending a second message with a large value (>1420 bytes) the attacker can then achieve a heap buffer overflow. This fix replaces min_t(int, ...) with min_t(u32)
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 5.15, < 6.18.16 | — |
| Linux | Linux Kernel | >= 6.19, < 6.19.6 | — |
| Linux | Linux Kernel | 7.0 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-43185?
How severe is CVE-2026-43185?
How do I fix CVE-2026-43185?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-4318A vulnerability was determined in UTT HiPER 810G up to 1.7.7…8.8
- CVE-2026-43180In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-43181In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-43182In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-43183In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-43184In the Linux kernel, the following vulnerability has been re…7.5
- CVE-2026-43186In the Linux kernel, the following vulnerability has been re…9.8
- CVE-2026-43187In the Linux kernel, the following vulnerability has been re…8.8
- CVE-2026-43188In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-43189In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-4319A vulnerability was identified in code-projects Simple Food …9.8
- CVE-2026-43190In the Linux kernel, the following vulnerability has been re…8.2
Are you affected by CVE-2026-43185?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
