CVE-2023-52993
x86/i8259: Mark legacy PIC interrupts with IRQ_LEVEL
Check your servers for CVE-2023-52993
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-52993 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
x86/i8259: Mark legacy PIC interrupts with IRQ_LEVEL
Baoquan reported that after triggering a crash the subsequent crash-kernel fails to boot about half of the time. It triggers a NULL pointer dereference in the periodic tick code.
This happens because the legacy timer interrupt (IRQ0) is resent in software which happens in soft interrupt (tasklet) context. In this context get_irq_regs() returns NULL which leads to the NULL pointer dereference.
The reason for the resend is a spurious APIC interrupt on the IRQ0 vector which is captured and leads to a resend when the legacy timer interrupt is enabled. This is wrong because the legacy PIC interrupts are level triggered and therefore should never be resent in software, but nothing ever sets the IRQ_LEVEL flag on those interrupts, so the core code does not know about their trigger type.
Ensure that IRQ_LEVEL is set when the legacy PCI interrupts are set up.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.27%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 20.4% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 1 Oct 2025):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-476 NULL Pointer Dereference
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from a4633adcdbc15ac51afcd0e1395de58cee27cf92, before 744fe9be9665227335539b7a77ece8d9ff62b6c0 affected from a4633adcdbc15ac51afcd0e1395de58cee27cf92, before 496975d1a2937f4baadf3d985991b13fc4fc4f27 affected from a4633adcdbc15ac51afcd0e1395de58cee27cf92, before 8770cd9d7c14aa99c255a0d08186f0be953e1638 affected from a4633adcdbc15ac51afcd0e1395de58cee27cf92, before e284c273dbb4c1ed68d4204bff94d0b10e4a90f5 affected from a4633adcdbc15ac51afcd0e1395de58cee27cf92, before 0b08201158f177aab469e356b4d6af24fdd118df affected from a4633adcdbc15ac51afcd0e1395de58cee27cf92, before 137f1b47da5f58805da42c1b7811e28c1e353f39 affected from a4633adcdbc15ac51afcd0e1395de58cee27cf92, before 5fa55950729d0762a787451dc52862c3f850f859
Other versions: unaffected
|
| Linux |
affected 2.6.18 unaffected before 2.6.18 unaffected from 4.14.305 up to and including 4.14.* unaffected from 4.19.272 up to and including 4.19.* unaffected from 5.4.231 up to and including 5.4.* unaffected from 5.10.166 up to and including 5.10.* unaffected from 5.15.91 up to and including 5.15.* unaffected from 6.1.9 up to and including 6.1.* unaffected 6.2 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-52993 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-52993
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2023-52993
trivy image --scanners vuln IMAGE | grep CVE-2023-52993
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/744fe9be9665227335539b7a77ece8d9ff62b6c0 git.kernel.org
- https://git.kernel.org/stable/c/496975d1a2937f4baadf3d985991b13fc4fc4f27 git.kernel.org
- https://git.kernel.org/stable/c/8770cd9d7c14aa99c255a0d08186f0be953e1638 git.kernel.org
- https://git.kernel.org/stable/c/e284c273dbb4c1ed68d4204bff94d0b10e4a90f5 git.kernel.org
- https://git.kernel.org/stable/c/0b08201158f177aab469e356b4d6af24fdd118df git.kernel.org
- https://git.kernel.org/stable/c/137f1b47da5f58805da42c1b7811e28c1e353f39 git.kernel.org
- https://git.kernel.org/stable/c/5fa55950729d0762a787451dc52862c3f850f859 git.kernel.org
Source: the record CVE-2023-52993 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse