CVE-2023-32248: Linux Kernel ksmbd Tree Connection NULL Pointer Dereference Denial-of-Service Vulnerability

Published Jul 5, 2023
·
Updated

A flaw was found in the Linux kernel's ksmbd, a high-performance in-kernel SMB server. The specific flaw exists within the handling of SMB2TREECONNECT and SMB2QUERYINFO commands. The issue results from the lack of proper validation of a pointer prior to accessing it. An attacker can leverage this vulnerability to create a denial-of-service condition on the system.

Other sources

A NULL pointer dereference issue was found in ksmbd, a high-performance in-kernel SMB server. Quoting ZDI security advisory [1]:

"This vulnerability allows remote attackers to create a denial-of-service condition on affected installations of Linux Kernel. Authentication is not required to exploit this vulnerability, but only systems with ksmbd enabled are vulnerable.

The specific flaw exists within the handling of SMB2TREECONNECT and SMB2QUERYINFO commands. The issue results from the lack of proper validation of a pointer prior to accessing it. An attacker can leverage this vulnerability to create a denial-of-service condition on the system."

[1] https://www.zerodayinitiative.com/advisories/ZDI-CAN-20479/

Red Hat

Affected Software

13 affected componentsFixes available
redhat/kernel<6.4
6.4
Linux Kernel
Linux Linux kernel<=6.3.9
Linux Linux kernel>=5.15<5.15.111
Linux Linux kernel>=5.16<6.1.28
Linux Linux kernel>=6.2<6.2.15
Linux Linux kernel>=6.3<6.3.2
NetApp H300s
NetApp H410c
NetApp H410s
NetApp H500s
NetApp H700s
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-1

Event History

Jul 24, 2023
CVE Published
via MITRE·03:19 PM
Data Sourced
via MITRE·03:19 PM
DescriptionSeverityWeakness
Data Sourced
04:15 PM
Description
Jan 12, 2024
Data Sourced
via Launchpad·12:20 AM
Description
Feb 26, 2025
Advisory Published
via ZDI·03:45 PM
Apr 28, 2025
Data Sourced
via Ubuntu·02:13 PM
RemedyDescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2023-32248?

CVE-2023-32248 has a medium severity rating due to its exploitation potential affecting the Linux kernel's ksmbd.

2

How do I fix CVE-2023-32248?

To mitigate CVE-2023-32248, update your Linux kernel to version 6.4 or later, or to the fixed versions if using the Debian Linux package.

3

Which Linux kernel versions are affected by CVE-2023-32248?

CVE-2023-32248 affects Linux kernel versions from 5.15 up to 6.3.9 but is resolved in version 6.4 and subsequent releases.

4

What components are affected by CVE-2023-32248?

CVE-2023-32248 specifically impacts the ksmbd component in the Linux kernel, which functions as an in-kernel SMB server.

5

Is CVE-2023-32248 remotely exploitable?

Yes, CVE-2023-32248 can be exploited remotely due to improper validation of pointers within SMB commands.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203