CVE-2023-52749
published 2024-05-21CVE-2023-52749: In the Linux kernel, the following vulnerability has been resolved: spi: Fix null dereference on suspend A race condition exists where a synchronous (noqueue)…
PriorityP416medium4.7CVSS 3.1
AVLACHPRLUINSUCNINAH
EPSS
0.18%
7.9th percentile
In the Linux kernel, the following vulnerability has been resolved:
spi: Fix null dereference on suspend
A race condition exists where a synchronous (noqueue) transfer can be
active during a system suspend. This can cause a null pointer
dereference exception to occur when the system resumes.
Example order of events leading to the exception:
1. spi_sync() calls __spi_transfer_message_noqueue() which sets
ctlr->cur_msg
2. Spi transfer begins via spi_transfer_one_message()
3. System is suspended interrupting the transfer context
4. System is resumed
6. spi_controller_resume() calls spi_start_queue() which resets cur_msg
to NULL
7. Spi transfer context resumes and spi_finalize_current_message() is
called which dereferences cur_msg (which is now NULL)
Wait for synchronous transfers to complete before suspending by
acquiring the bus mutex and setting/checking a suspend flag.
Affected
13 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 6.1.66-1 (bookworm) | linux 6.1.66-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= ae7d2346dc89ae89a6e0aabe6037591a11e593c0 < 4ec4508db97502a12daee88c74782e8d35ced068 | 4ec4508db97502a12daee88c74782e8d35ced068 |
| linux | linux | >= ae7d2346dc89ae89a6e0aabe6037591a11e593c0 < 96474ea47dc67b0704392d59192b233c8197db0e | 96474ea47dc67b0704392d59192b233c8197db0e |
| linux | linux | >= ae7d2346dc89ae89a6e0aabe6037591a11e593c0 < bef4a48f4ef798c4feddf045d49e53c8a97d5e37 | bef4a48f4ef798c4feddf045d49e53c8a97d5e37 |
| linux | linux_kernel | < 6.1.66 | 6.1.66 |
| linux | linux_kernel | >= 0 < 6.1.66-1 | 6.1.66-1 |
| linux | linux_kernel | >= 0 < 6.6.8-1 | 6.6.8-1 |
| linux | linux_kernel | >= 0 < 6.6.8-1 | 6.6.8-1 |
| linux | linux_kernel | >= 6.2 < 6.6.3 | 6.6.3 |
| msrc | cbl2_kernel_5.15.186.1-1_on_cbl_mariner_2.0 | — | — |
| msrc | cbl2_kernel_5.15.200.1-1_on_cbl_mariner_2.0 | — | — |
| msrc | cbl2_kernel_5.15.202.1-1_on_cbl_mariner_2.0 | — | — |
CVSS provenance
nvdv3.14.7MEDIUMCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
osv4.7MEDIUM
vendor_debian4.7MEDIUM
vendor_msrc4.7MEDIUM
vendor_redhat4.7MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
kernel: spi: Fix null dereference on suspend
vendor_redhat·2024-05-21·CVSS 4.7
CVE-2023-52749 [MEDIUM] CWE-476 kernel: spi: Fix null dereference on suspend
kernel: spi: Fix null dereference on suspend
In the Linux kernel, the following vulnerability has been resolved:
spi: Fix null dereference on suspend
A race condition exists where a synchronous (noqueue) transfer can be
active during a system suspend. This can cause a null pointer
dereference exception to occur when the system resumes.
Example order of events leading to the exception:
1. spi_sync() calls __spi_transfer_message_noqueue() which sets
ctlr->cur_msg
2. Spi transfer begins via spi_transfer_one_message()
3. System is suspended interrupting the transfer context
4. System is resumed
6. spi_controller_resume() calls spi_start_queue() which resets cur_msg
to NULL
7. Spi transfer context resumes and spi_finalize_current_message() is
called which dereferences cur_msg (which is now NUL
Microsoft
spi: Fix null dereference on suspend
vendor_msrc·2024-05-14·CVSS 4.7
CVE-2023-52749 [MEDIUM] CWE-362 spi: Fix null dereference on suspend
spi: Fix null dereference on suspend
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
Linux: Linux
Customer Action Required: Yes
Debian
CVE-2023-52749: linux - In the Linux kernel, the following vulnerability has been resolved: spi: Fix nu...
vendor_debian·2023·CVSS 4.7
CVE-2023-52749 [MEDIUM] CVE-2023-52749: linux - In the Linux kernel, the following vulnerability has been resolved: spi: Fix nu...
In the Linux kernel, the following vulnerability has been resolved: spi: Fix null dereference on suspend A race condition exists where a synchronous (noqueue) transfer can be active during a system suspend. This can cause a null pointer dereference exception to occur when the system resumes. Example order of events leading to the exception: 1. spi_sync() calls __spi_transfer_message_noqueue() which sets ctlr->cur_msg 2. Spi transfer begins via spi_transfer_one_message() 3. System is suspended interrupting the transfer context 4. System is resumed 6. spi_controller_resume() calls spi_start_queue() which resets cur_msg to NULL 7. Spi transfer context resumes and spi_finalize_current_message() is called which dereferences cur_msg (which is now NULL) Wait for synchronous transfers to complete
GHSA
GHSA-qm6m-jh59-wxwp: In the Linux kernel, the following vulnerability has been resolved:
spi: Fix null dereference on suspend
A race condition exists where a synchronous
ghsa_unreviewed·2024-05-21
CVE-2023-52749 [MEDIUM] CWE-362 GHSA-qm6m-jh59-wxwp: In the Linux kernel, the following vulnerability has been resolved:
spi: Fix null dereference on suspend
A race condition exists where a synchronous
In the Linux kernel, the following vulnerability has been resolved:
spi: Fix null dereference on suspend
A race condition exists where a synchronous (noqueue) transfer can be
active during a system suspend. This can cause a null pointer
dereference exception to occur when the system resumes.
Example order of events leading to the exception:
1. spi_sync() calls __spi_transfer_message_noqueue() which sets
ctlr->cur_msg
2. Spi transfer begins via spi_transfer_one_message()
3. System is suspended interrupting the transfer context
4. System is resumed
6. spi_controller_resume() calls spi_start_queue() which resets cur_msg
to NULL
7. Spi transfer context resumes and spi_finalize_current_message() is
called which dereferences cur_msg (which is now NULL)
Wait for synchronous transfers to compl
OSV
CVE-2023-52749: In the Linux kernel, the following vulnerability has been resolved: spi: Fix null dereference on suspend A race condition exists where a synchronous (
osv·2024-05-21·CVSS 4.7
CVE-2023-52749 [MEDIUM] CVE-2023-52749: In the Linux kernel, the following vulnerability has been resolved: spi: Fix null dereference on suspend A race condition exists where a synchronous (
In the Linux kernel, the following vulnerability has been resolved: spi: Fix null dereference on suspend A race condition exists where a synchronous (noqueue) transfer can be active during a system suspend. This can cause a null pointer dereference exception to occur when the system resumes. Example order of events leading to the exception: 1. spi_sync() calls __spi_transfer_message_noqueue() which sets ctlr->cur_msg 2. Spi transfer begins via spi_transfer_one_message() 3. System is suspended interrupting the transfer context 4. System is resumed 6. spi_controller_resume() calls spi_start_queue() which resets cur_msg to NULL 7. Spi transfer context resumes and spi_finalize_current_message() is called which dereferences cur_msg (which is now NULL) Wait for synchronous transfers to complete
No detection rules found.
No public exploits indexed.
https://git.kernel.org/stable/c/4ec4508db97502a12daee88c74782e8d35ced068https://git.kernel.org/stable/c/96474ea47dc67b0704392d59192b233c8197db0ehttps://git.kernel.org/stable/c/bef4a48f4ef798c4feddf045d49e53c8a97d5e37https://git.kernel.org/stable/c/4ec4508db97502a12daee88c74782e8d35ced068https://git.kernel.org/stable/c/96474ea47dc67b0704392d59192b233c8197db0ehttps://git.kernel.org/stable/c/bef4a48f4ef798c4feddf045d49e53c8a97d5e37
2024-05-21
Published