CVE-2023-53006: cifs: Fix oops due to uncleared server->smbd_conn in reconnect

Published Mar 27, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

cifs: Fix oops due to uncleared server->smbdconn in reconnect

In smbddestroy(), clear the server->smbdconn pointer after freeing the smbdconnection struct that it points to so that reconnection doesn't get confused.

Affected Software

11 affected components
Linux Linux kernel
Linux Linux kernel>=4.16<4.19.272
Linux Linux kernel>=4.20<5.4.231
Linux Linux kernel>=5.5<5.10.166
Linux Linux kernel>=5.11<5.15.91
Linux Linux kernel>=5.16<6.1.9
Linux Linux kernel=6.2-rc1
Linux Linux kernel=6.2-rc2
Linux Linux kernel=6.2-rc3
Linux Linux kernel=6.2-rc4
Linux Linux kernel=6.2-rc5

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Patch smbd_destroy() to free the smbd_connection and then set server->smbd_conn to NULL so that reconnect does not reuse an uncleared pointer (fixes the oops due to uncleared server->smbd_conn in reconnect).

    Linux kernel CIFS In smbd_destroy(), clear server->smbd_conn after freeing the smbd_connection it points to = server->smbd_conn = NULL

Event History

Mar 27, 2025
CVE Published
via MITRE·04:43 PM
Data Sourced
via MITRE·04:43 PM
DescriptionSeverity
Data Sourced
via NVD·05:15 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2023-53006?

CVE-2023-53006 is categorized as a medium severity vulnerability.

2

How do I fix CVE-2023-53006?

To resolve CVE-2023-53006, update to the latest version of the Linux kernel where the vulnerability has been addressed.

3

What does CVE-2023-53006 affect?

CVE-2023-53006 affects the Linux kernel, specifically related to the CIFS subsystem.

4

What are the implications of CVE-2023-53006?

The implications of CVE-2023-53006 include potential system instability due to improper handling of server connections.

5

Who is affected by CVE-2023-53006?

All users and systems running vulnerable versions of the Linux kernel using CIFS are affected by CVE-2023-53006.

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