Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
CVE Vulnerability Details :
CVE-2024-57838
PUBLISHED
More InfoOfficial Page
Assigner-Linux
Assigner Org ID-416baaa9-dc9f-4396-8d5f-8c081fb06d67
View Known Exploited Vulnerability (KEV) details
Published At-11 Jan, 2025 | 14:08
Updated At-05 Jan, 2026 | 10:56
Rejected At-
▼CVE Numbering Authority (CNA)
s390/entry: Mark IRQ entries to fix stack depot warnings

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 Products
Vendor
Linux Kernel Organization, IncLinux
Product
Linux
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Program Files
  • arch/s390/kernel/entry.S
  • arch/s390/kernel/kprobes.c
Default Status
unaffected
Versions
Affected
  • From e940066089490efde86abc519593be84362f4e53 before 5bb7a2c3afcf8732dc65ea49c09147b07da1d993 (git)
  • From e940066089490efde86abc519593be84362f4e53 before 1af22528fee8072b7adc007b8ca49cc4ea62689e (git)
  • From e940066089490efde86abc519593be84362f4e53 before 473ffae3030188f1c6b80e1b3631a26b4adf7b32 (git)
  • From e940066089490efde86abc519593be84362f4e53 before 45c9f2b856a075a34873d00788d2e8a250c1effd (git)
Vendor
Linux Kernel Organization, IncLinux
Product
Linux
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Program Files
  • arch/s390/kernel/entry.S
  • arch/s390/kernel/kprobes.c
Default Status
affected
Versions
Affected
  • 5.17
Unaffected
  • From 0 before 5.17 (semver)
  • From 6.1.120 through 6.1.* (semver)
  • From 6.6.64 through 6.6.* (semver)
  • From 6.12.4 through 6.12.* (semver)
  • From 6.13 through * (original_commit_for_fix)
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://git.kernel.org/stable/c/5bb7a2c3afcf8732dc65ea49c09147b07da1d993
N/A
https://git.kernel.org/stable/c/1af22528fee8072b7adc007b8ca49cc4ea62689e
N/A
https://git.kernel.org/stable/c/473ffae3030188f1c6b80e1b3631a26b4adf7b32
N/A
https://git.kernel.org/stable/c/45c9f2b856a075a34873d00788d2e8a250c1effd
N/A
Hyperlink: https://git.kernel.org/stable/c/5bb7a2c3afcf8732dc65ea49c09147b07da1d993
Resource: N/A
Hyperlink: https://git.kernel.org/stable/c/1af22528fee8072b7adc007b8ca49cc4ea62689e
Resource: N/A
Hyperlink: https://git.kernel.org/stable/c/473ffae3030188f1c6b80e1b3631a26b4adf7b32
Resource: N/A
Hyperlink: https://git.kernel.org/stable/c/45c9f2b856a075a34873d00788d2e8a250c1effd
Resource: N/A
▼Authorized Data Publishers (ADP)
CVE Program Container
Affected Products
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html
N/A
Hyperlink: https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html
Resource: N/A
Details not found