# CVE-2024-49927: x86/ioapic: Handle allocation failures gracefully

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.30% (percentile 15, 2026-11-26)
- **Published:** 2024-10-21T18:01:51.110Z
- **Modified:** 2026-06-17T08:00:45.030Z

## Who should check

- Anyone running Linux \>= 49c7e60022912d10da88ba67e8eb2927f1143f6a, \< e479cb835feeb2abff97f25766e23b96a6eabe28; \>= 49c7e60022912d10da88ba67e8eb2927f1143f6a, \< ec862cd843faa6f0e84a7a07362f2786446bf697; \>= 49c7e60022912d10da88ba67e8eb2927f1143f6a, \< 077e1b7cd521163ded545987bbbd389519aeed71; \>= 49c7e60022912d10da88ba67e8eb2927f1143f6a, \< 649a5c2ffae797ce792023a70e84c7fe4b6fb8e0; \>= 49c7e60022912d10da88ba67e8eb2927f1143f6a, \< f17efbeb2922327ea01a9efa8829fea9a30e547d; \>= 49c7e60022912d10da88ba67e8eb2927f1143f6a, \< 830802a0fea8fb39d3dc9fb7d6b5581e1343eb1f
- Anyone running Linux 4.2

## Description

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

x86/ioapic: Handle allocation failures gracefully

Breno observed panics when using failslab under certain conditions during
runtime:

   can not alloc irq\_pin\_list (-1,0,20)
   Kernel panic - not syncing: IO-APIC: failed to add irq-pin. Can not proceed

   panic+0x4e9/0x590
   mp\_irqdomain\_alloc+0x9ab/0xa80
   irq\_domain\_alloc\_irqs\_locked+0x25d/0x8d0
   \_\_irq\_domain\_alloc\_irqs+0x80/0x110
   mp\_map\_pin\_to\_irq+0x645/0x890
   acpi\_register\_gsi\_ioapic+0xe6/0x150
   hpet\_open+0x313/0x480

That's a pointless panic which is a leftover of the historic IO/APIC code
which panic'ed during early boot when the interrupt allocation failed.

The only place which might justify panic is the PIT/HPET timer\_check() code
which tries to figure out whether the timer interrupt is delivered through
the IO/APIC. But that code does not require to handle interrupt allocation
failures. If the interrupt cannot be allocated then timer delivery fails
and it either panics due to that or falls back to legacy mode.

Cure this by removing the panic wrapper around \_\_add\_pin\_to\_irq\_node() and
making mp\_irqdomain\_alloc() aware of the failure condition and handle it as
any other failure in this function gracefully.

## Affected and fixed versions

- Linux: \>= 49c7e60022912d10da88ba67e8eb2927f1143f6a, \< e479cb835feeb2abff97f25766e23b96a6eabe28; \>= 49c7e60022912d10da88ba67e8eb2927f1143f6a, \< ec862cd843faa6f0e84a7a07362f2786446bf697; \>= 49c7e60022912d10da88ba67e8eb2927f1143f6a, \< 077e1b7cd521163ded545987bbbd389519aeed71; \>= 49c7e60022912d10da88ba67e8eb2927f1143f6a, \< 649a5c2ffae797ce792023a70e84c7fe4b6fb8e0; \>= 49c7e60022912d10da88ba67e8eb2927f1143f6a, \< f17efbeb2922327ea01a9efa8829fea9a30e547d; \>= 49c7e60022912d10da88ba67e8eb2927f1143f6a, \< 830802a0fea8fb39d3dc9fb7d6b5581e1343eb1f (cvelist)
- Linux: 4.2 (cvelist)

## Mitigation

- Upgrade Linux to 830802a0fea8fb39d3dc9fb7d6b5581e1343eb1f or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-49927. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-49927.md
Affected: Linux >= 49c7e60022912d10da88ba67e8eb2927f1143f6a, < e479cb835feeb2abff97f25766e23b96a6eabe28; >= 49c7e60022912d10da88ba67e8eb2927f1143f6a, < ec862cd843faa6f0e84a7a07362f2786446bf697; >= 49c7e60022912d10da88ba67e8eb2927f1143f6a, < 077e1b7cd521163ded545987bbbd389519aeed71; >= 49c7e60022912d10da88ba6…
Fixed in: Linux 077e1b7cd521163ded545987bbbd389519aeed71, Linux 649a5c2ffae797ce792023a70e84c7fe4b6fb8e0, Linux 830802a0fea8fb39d3dc9fb7d6b5581e1343eb1f

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-49927 being exploited?

There is no confirmed exploitation: CVE-2024-49927 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-49927?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-49927?

Linux \>= 49c7e60022912d10da88ba67e8eb2927f1143f6a, \< e479cb835feeb2abff97f25766e23b96a6eabe28; \>= 49c7e60022912d10da88ba67e8eb2927f1143f6a, \< ec862cd843faa6f0e84a7a07362f2786446bf697; \>= 49c7e60022912d10da88ba67e8eb2927f1143f6a, \< 077e1b7cd521163ded545987bbbd389519aeed71; \>= 49c7e60022912d10da88ba67e8eb2927f1143f6a, \< 649a5c2ffae797ce792023a70e84c7fe4b6fb8e0; \>= 49c7e60022912d10da88ba67e8eb2927f1143f6a, \< f17efbeb2922327ea01a9efa8829fea9a30e547d; \>= 49c7e60022912d10da88ba67e8eb2927f1143f6a, \< 830802a0fea8fb39d3dc9fb7d6b5581e1343eb1f; Linux 4.2.

### Is there a fix for CVE-2024-49927?

Yes. Fixed in Linux 077e1b7cd521163ded545987bbbd389519aeed71, Linux 649a5c2ffae797ce792023a70e84c7fe4b6fb8e0, Linux 830802a0fea8fb39d3dc9fb7d6b5581e1343eb1f. Upgrade Linux to 830802a0fea8fb39d3dc9fb7d6b5581e1343eb1f or later.

### How do I check if I'm affected by CVE-2024-49927?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/e479cb835feeb2abff97f25766e23b96a6eabe28>
- patch: <https://git.kernel.org/stable/c/ec862cd843faa6f0e84a7a07362f2786446bf697>
- patch: <https://git.kernel.org/stable/c/077e1b7cd521163ded545987bbbd389519aeed71>
- patch: <https://git.kernel.org/stable/c/649a5c2ffae797ce792023a70e84c7fe4b6fb8e0>
- patch: <https://git.kernel.org/stable/c/f17efbeb2922327ea01a9efa8829fea9a30e547d>
- patch: <https://git.kernel.org/stable/c/830802a0fea8fb39d3dc9fb7d6b5581e1343eb1f>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-49927>

HTML: <https://flawdb.com/CVE-2024-49927> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-49927>
