CVE-2024-57838
s390/entry: Mark IRQ entries to fix stack depot warnings
Mitigation
- Upgrade Linux to 45c9f2b856a075a34873d00788d2e8a250c1effd or later.
Who should check
- Anyone running Linux >= e940066089490efde86abc519593be84362f4e53, < 5bb7a2c3afcf8732dc65ea49c09147b07da1d993; >= e940066089490efde86abc519593be84362f4e53, < 1af22528fee8072b7adc007b8ca49cc4ea62689e; >= e940066089490efde86abc519593be84362f4e53, < 473ffae3030188f1c6b80e1b3631a26b4adf7b32; >= e940066089490efde86abc519593be84362f4e53, < 45c9f2b856a075a34873d00788d2e8a250c1effd
- Anyone running Linux 5.17
Vulnerability facts
- Affected
- Linux >= e940066089490efde86abc519593be84362f4e53, < 5bb7a2c3afcf8732dc65ea49c09147b07da1d993; >= e940066089490efde86abc519593be84362f4e53, < 1af22528fee8072b7adc007b8ca49cc4ea62689e; >= e940066089490efde86abc519593be84362f4e53, < 473ffae3030188f1c6b80e1b3631a26b4adf7b32; >= e940066089490efde86abc519593be84362f4e53, < 45c9f2b856a075a34873d00788d2e8a250c1effd; Linux 5.17
- Fixed in
- Linux 5bb7a2c3afcf8732dc65ea49c09147b07da1d993, Linux 1af22528fee8072b7adc007b8ca49cc4ea62689e, Linux 473ffae3030188f1c6b80e1b3631a26b4adf7b32, Linux 45c9f2b856a075a34873d00788d2e8a250c1effd
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.1 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.31% chance of exploitation in 30 days (percentile 16, 2026-11-26)
- CWE
- CWE-668
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: s390/entry: Mark IRQ entries to fix stack depot warnings The stack depot filters out everything outside of the top interrupt context as an uninteresting or irrelevant part of the stack traces. This helps with stack trace de-duplication, avoiding an explosion of saved stack traces that share the same IRQ context code path but originate from different randomly interrupted points, eventually exhausting the stack depot. Filtering uses in_irqentry_text() to identify functions within the .irqentry.text and .softirqentry.text sections, which then become the last stack trace entries being saved. While __do_softirq() is placed into the .softirqentry.text section by common code, populating .irqentry.text is architecture-specific. Currently, the .irqentry.text section on s390 is empty, which prevents stack depot filtering and de-duplication and could result in warnings like: Stack depot reached limit capacity WARNING: CPU: 0 PID: 286113 at lib/stackdepot.c:252 depot_alloc_stack+0x39a/0x3c8 with PREEMPT and KASAN enabled. Fix this by moving the IO/EXT interrupt handlers from .kprobes.text into the .irqentry.text section and updating the kprobes blacklist to include the .irqentry.text section. This is done only for asynchronous interrupts and explicitly not for program checks, which are synchronous and where the context beyond the program check is important to preserve. Despite machine checks being somewhat in between, they are extremely rare, and preserving context when possible is also of value. SVCs and Restart Interrupts are not relevant, one being always at the boundary to user space and the other being a one-time thing. IRQ entries filtering is also optionally used in ftrace function graph, where the same logic applies.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= e940066089490efde86abc519593be84362f4e53, < 5bb7a2c3afcf8732dc65ea49c09147b07da1d993; >= e940066089490efde86abc519593be84362f4e53, < 1af22528fee8072b7adc007b8ca49cc4ea62689e; >= e940066089490efde86abc519593be84362f4e53, < 473ffae3030188f1c6b80e1b3631a26b4adf7b32; >= e940066089490efde86abc519593be84362f4e53, < 45c9f2b856a075a34873d00788d2e8a250c1effd | — | cvelist |
| Linux | 5.17 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-57838. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-57838.md Affected: Linux >= e940066089490efde86abc519593be84362f4e53, < 5bb7a2c3afcf8732dc65ea49c09147b07da1d993; >= e940066089490efde86abc519593be84362f4e53, < 1af22528fee8072b7adc007b8ca49cc4ea62689e; >= e940066089490efde86abc519593be84362f4e53, < 473ffae3030188f1c6b80e1b3631a26b4adf7b32; >= e940066089490efde86abc5… Fixed in: Linux 5bb7a2c3afcf8732dc65ea49c09147b07da1d993, Linux 1af22528fee8072b7adc007b8ca49cc4ea62689e, Linux 473ffae3030188f1c6b80e1b3631a26b4adf7b32, Linux 45c9f2b856a075a34873d00788d2e8a250c1effd 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.
References
Patches
FAQ
Is CVE-2024-57838 being exploited?
There is no confirmed exploitation: CVE-2024-57838 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-57838?
High: CVSS 7.1 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-57838?
Linux >= e940066089490efde86abc519593be84362f4e53, < 5bb7a2c3afcf8732dc65ea49c09147b07da1d993; >= e940066089490efde86abc519593be84362f4e53, < 1af22528fee8072b7adc007b8ca49cc4ea62689e; >= e940066089490efde86abc519593be84362f4e53, < 473ffae3030188f1c6b80e1b3631a26b4adf7b32; >= e940066089490efde86abc519593be84362f4e53, < 45c9f2b856a075a34873d00788d2e8a250c1effd; Linux 5.17.
Is there a fix for CVE-2024-57838?
Yes. Fixed in Linux 5bb7a2c3afcf8732dc65ea49c09147b07da1d993, Linux 1af22528fee8072b7adc007b8ca49cc4ea62689e, Linux 473ffae3030188f1c6b80e1b3631a26b4adf7b32, Linux 45c9f2b856a075a34873d00788d2e8a250c1effd. Upgrade Linux to 45c9f2b856a075a34873d00788d2e8a250c1effd or later.
How do I check if I'm affected by CVE-2024-57838?
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.