CVE-2023-52811: scsi: ibmvfc: Remove BUG_ON in the case of an empty event pool

Published May 21, 2024
·
Updated

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

scsi: ibmvfc: Remove BUGON in the case of an empty event pool

In practice the driver should never send more commands than are allocated to a queue's event pool. In the unlikely event that this happens, the code asserts a BUGON, and in the case that the kernel is not configured to crash on panic returns a junk event pointer from the empty event list causing things to spiral from there. This BUGON is a historical artifact of the ibmvfc driver first being upstreamed, and it is well known now that the use of BUGON is bad practice except in the most unrecoverable scenario. There is nothing about this scenario that prevents the driver from recovering and carrying on.

Remove the BUGON in question from ibmvfcgetevent() and return a NULL pointer in the case of an empty event pool. Update all call sites to ibmvfcgetevent() to check for a NULL pointer and perfrom the appropriate failure or recovery action.

Other sources

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

scsi: ibmvfc: Remove BUGON in the case of an empty event pool

The Linux kernel CVE team has assigned CVE-2023-52811 to this issue.

Upstream advisory: https://lore.kernel.org/linux-cve-announce/2024052102-CVE-2023-52811-2a5f@gregkh/T

Red Hat

Affected Software

13 affected componentsFixes available
redhat/kernel<5.15.140
5.15.140
redhat/kernel<6.1.64
6.1.64
redhat/kernel<6.5.13
6.5.13
redhat/kernel<6.6.3
6.6.3
redhat/kernel<6.7
6.7
Linux Linux kernel<5.15.140
Linux Linux kernel>=5.16<6.1.64
Linux Linux kernel>=6.2<6.5.13
Linux Linux kernel>=6.6<6.6.3
IBM Security Verify Governance<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Software Stack<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Virtual Appliance<=ISVG 10.0.2
IBM Security Verify Governance Identity Manager Container<=ISVG 10.0.2

Event History

May 21, 2024
CVE Published
via MITRE·03:31 PM
Data Sourced
via MITRE·03:31 PM
Description
May 22, 2024
Data Sourced
via Red Hat·08:39 PM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

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-52811?

CVE-2023-52811 is classified as a potential issue in the Linux kernel that could lead to unexpected behavior under specific conditions.

2

How do I fix CVE-2023-52811?

To mitigate CVE-2023-52811, ensure your Linux kernel package is updated to versions 5.15.140, 6.1.64, 6.5.13, 6.6.3, or 6.7.

3

What versions of the Linux kernel are affected by CVE-2023-52811?

CVE-2023-52811 affects Linux kernel versions below 5.15.140, 6.1.64, 6.5.13, 6.6.3, and 6.7.

4

Can CVE-2023-52811 lead to system crashes?

While CVE-2023-52811 may not directly cause system crashes, it could lead to instability if the event pool exceeds its allocation.

5

Is there a specific command to check the kernel version at risk for CVE-2023-52811?

You can check the kernel version at risk for CVE-2023-52811 by running the command 'uname -r' in your terminal.

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