CVE-2023-52567

Source
https://cve.org/CVERecord?id=CVE-2023-52567
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-52567.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-52567
Downstream
Related
Published
2024-03-02T21:59:38.815Z
Modified
2026-03-13T07:48:05.083556Z
Summary
serial: 8250_port: Check IRQ data before use
Details

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

serial: 8250_port: Check IRQ data before use

In case the leaf driver wants to use IRQ polling (irq = 0) and IIR register shows that an interrupt happened in the 8250 hardware the IRQ data can be NULL. In such a case we need to skip the wake event as we came to this path from the timer interrupt and quite likely system is already awake.

Without this fix we have got an Oops:

serial8250: ttyS0 at I/O 0x3f8 (irq = 0, base_baud = 115200) is a 16550A
...
BUG: kernel NULL pointer dereference, address: 0000000000000010
RIP: 0010:serial8250_handle_irq+0x7c/0x240
Call Trace:
 ? serial8250_handle_irq+0x7c/0x240
 ? __pfx_serial8250_timeout+0x10/0x10
Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52567.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
edfe57aedff4ecf3606533aabf8ecf7676c3c5d9
Fixed
ee5732caaffba3a37e753fdb89b4958db9a61847
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0bd49a043c7984c93c2a0af41222fb71c3986a4e
Fixed
c334650150c29234b0923476f51573ae1b2f252a
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
572d48361aa0a6e6f16c1470e5407de183493d0c
Fixed
bf3c728e3692cc6d998874f0f27d433117348742
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
d5d628fea5f6181809a9d61b04de6ade53277684
Fixed
e14afa4450cb7e4cf93e993a765801203d41d014
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
424cf29296354d7b9c6c038aaa7bb71782100851
Fixed
2b837f13a818f96304736453ac53b66a70aaa4f2
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
727e92fe13e81c6088a88d83e466b2b1b553c4e3
Fixed
e14f68a48fd445a083ac0750fafcb064df5f18f7
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0ba9e3a13c6adfa99e32b2576d20820ab10ad48a
Fixed
3345cc5f02f1fb4c4dcb114706f2210d879ab933
Fixed
cce7fc8b29961b64fadb1ce398dc5ff32a79643b
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
d7c6aa39eb041e2a6a53106104200d11e2acc87f
Last affected
f5fd2fd999b364801e9790c6f69f3fe3f40ed60f

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-52567.json"