Two CVSS 9.0 KSMBD Remote Code Execution Flaws Reported Before Kernel Fixes

· Original article ↗

Summary

Two publicly reported KSMBD remote code execution flaws are rated CVSS 9.0. One requires no authentication; the other requires SMB Direct and RDMA. Neither had a named mainline kernel fix at the time of reporting.

Key points

  • ZDI-CAN-33774 is an unauthenticated race condition that can be triggered by SMB packets sent over TCP port 445.
  • ZDI-CAN-33549 is an integer underflow in KSMBD's SMB Direct path that can lead to a memory-copy buffer overrun.
  • Exploiting ZDI-CAN-33549 requires an RDMA-capable interface, a writable KSMBD share, and a client negotiating SMB Direct.
  • As reported, neither flaw had a named fix in the mainline kernel or linux-next.
  • Phoronix reported that a maintainer submitted a fix for ZDI-CAN-33549 for the next kernel development cycle; the article says this was not confirmed elsewhere.
  • The article says fixes reaching mainline typically take weeks to reach stable branches and distribution kernels.
  • The commands `systemctl status ksmbd` and `lsmod | grep ksmbd` can be used to check whether the KSMBD module is active.

Article Details

Vulnerability Types
  • Remote code execution
  • Integer underflow
  • Race condition
  • Out-of-bounds read
  • Out-of-bounds write
Severity
CVSS 9.0
Exploitation Status
reported
Exploit Availability
unknown
Patch Status
unavailable

People

Vendors

Products

Tools

Related Articles