CVEvulnerability

CVE-2023-52993

5.5 MEDIUM Published 2025-03-27 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2025-03-27
Last modified
2026-06-17
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-476

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.

Affected configurations

• linux linux kernel (>= 2.6.18 < 4.14.305) • linux linux kernel (>= 4.15 < 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

Related

Weakness · CWE (1)

  • CWE-476 NULL Pointer Dereference weakness

References