{"id":"CVE-2023-52993","aliases":["CVE-2023-52993"],"related":[],"kind":"vulnerability","state":"published","title":"x86/i8259: Mark legacy PIC interrupts with IRQ_LEVEL","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nx86/i8259: Mark legacy PIC interrupts with IRQ_LEVEL\n\nBaoquan reported that after triggering a crash the subsequent crash-kernel\nfails to boot about half of the time. It triggers a NULL pointer\ndereference in the periodic tick code.\n\nThis happens because the legacy timer interrupt (IRQ0) is resent in\nsoftware which happens in soft interrupt (tasklet) context. In this context\nget_irq_regs() returns NULL which leads to the NULL pointer dereference.\n\nThe reason for the resend is a spurious APIC interrupt on the IRQ0 vector\nwhich is captured and leads to a resend when the legacy timer interrupt is\nenabled. This is wrong because the legacy PIC interrupts are level\ntriggered and therefore should never be resent in software, but nothing\never sets the IRQ_LEVEL flag on those interrupts, so the core code does not\nknow about their trigger type.\n\nEnsure that IRQ_LEVEL is set when the legacy PCI interrupts are set up.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nx86/i8259: Mark legacy PIC interrupts with IRQ_LEVEL\n\nBaoquan reported that after triggering a crash the subsequent crash-kernel\nfails to boot about half of the time. It triggers a NULL pointer\ndereference in the periodic tick code.\n\nThis happens because the legacy timer interrupt (IRQ0) is resent in\nsoftware which happens in soft interrupt (tasklet) context. In this context\nget_irq_regs() returns NULL which leads to the NULL pointer dereference.\n\nThe reason for the resend is a spurious APIC interrupt on the IRQ0 vector\nwhich is captured and leads to a resend when the legacy timer interrupt is\nenabled. This is wrong because the legacy PIC interrupts are level\ntriggered and therefore should never be resent in software, but nothing\never sets the IRQ_LEVEL flag on those interrupts, so the core code does not\nknow about their trigger type.\n\nEnsure that IRQ_LEVEL is set when the legacy PCI interrupts are set up.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: x86/i8259: Marcar interrupciones PIC heredadas con IRQ_LEVEL. Baoquan informó que, tras desencadenar un fallo, el kernel posterior al fallo no arranca aproximadamente la mitad de las veces. Esto desencadena una desreferencia de puntero NULL en el código de tick periódico. Esto sucede porque la interrupción del temporizador heredada (IRQ0) se reenvía por software, lo que ocurre en el contexto de una interrupción suave (tasklet). En este contexto, get_irq_regs() devuelve NULL, lo que provoca la desreferencia de puntero NULL. El motivo del reenvío es una interrupción APIC espuria en el vector IRQ0, que se captura y provoca un reenvío cuando se habilita la interrupción del temporizador heredada. Esto es incorrecto porque las interrupciones PIC heredadas se activan por nivel y, por lo tanto, nunca deberían reenviarse por software; sin embargo, nada activa el indicador IRQ_LEVEL en esas interrupciones, por lo que el código principal desconoce su tipo de activación. Asegúrese de que IRQ_LEVEL esté activado al configurar las interrupciones PCI heredadas.","source":"nvd"}],"published":"2025-03-27T16:43:28.263Z","modified":"2026-06-17T06:44:04.497Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"a4633adcdbc15ac51afcd0e1395de58cee27cf92","fixed":"744fe9be9665227335539b7a77ece8d9ff62b6c0","status":"affected"},{"type":"git","introduced":"a4633adcdbc15ac51afcd0e1395de58cee27cf92","fixed":"496975d1a2937f4baadf3d985991b13fc4fc4f27","status":"affected"},{"type":"git","introduced":"a4633adcdbc15ac51afcd0e1395de58cee27cf92","fixed":"8770cd9d7c14aa99c255a0d08186f0be953e1638","status":"affected"},{"type":"git","introduced":"a4633adcdbc15ac51afcd0e1395de58cee27cf92","fixed":"e284c273dbb4c1ed68d4204bff94d0b10e4a90f5","status":"affected"},{"type":"git","introduced":"a4633adcdbc15ac51afcd0e1395de58cee27cf92","fixed":"0b08201158f177aab469e356b4d6af24fdd118df","status":"affected"},{"type":"git","introduced":"a4633adcdbc15ac51afcd0e1395de58cee27cf92","fixed":"137f1b47da5f58805da42c1b7811e28c1e353f39","status":"affected"},{"type":"git","introduced":"a4633adcdbc15ac51afcd0e1395de58cee27cf92","fixed":"5fa55950729d0762a787451dc52862c3f850f859","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.18","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.18","status":"unaffected"},{"type":"semver","introduced":"4.14.305","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.272","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.231","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.166","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.91","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.9","lastAffected":"6.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"2.6.18","fixed":"4.14.305"},{"status":"affected","introduced":"4.15","fixed":"4.19.272"},{"status":"affected","introduced":"4.20","fixed":"5.4.231"},{"status":"affected","introduced":"5.5","fixed":"5.10.166"},{"status":"affected","introduced":"5.11","fixed":"5.15.91"},{"status":"affected","introduced":"5.16","fixed":"6.1.9"},{"status":"affected","version":"6.2"},{"status":"affected","version":"6.2"},{"status":"affected","version":"6.2"},{"status":"affected","version":"6.2"},{"status":"affected","version":"6.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/744fe9be9665227335539b7a77ece8d9ff62b6c0","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/496975d1a2937f4baadf3d985991b13fc4fc4f27","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8770cd9d7c14aa99c255a0d08186f0be953e1638","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e284c273dbb4c1ed68d4204bff94d0b10e4a90f5","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0b08201158f177aab469e356b4d6af24fdd118df","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/137f1b47da5f58805da42c1b7811e28c1e353f39","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5fa55950729d0762a787451dc52862c3f850f859","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-10-01T20:08:16.903Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-52993","url":"https://www.cve.org/CVERecord?id=CVE-2023-52993","licence":"CVE Terms of Use","modified":"2026-05-11T19:36:32.785Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-52993","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52993","licence":"Public domain","modified":"2026-06-17T06:44:04.497Z"}],"updatedAt":"2026-11-25T22:58:34.592Z","epss":{"score":0.00269,"percentile":0.20462,"date":"2026-12-01T12:00:22.000Z"}}