5.5

CVE-2025-71102: scs: fix a wrong parameter in __scs_magic

Analyzed
AliasesUBUNTU-CVE-2025-71102DEBIAN-CVE-2025-71102
Published 14-01-2026Last modified 11-05-2026

Vulnerability summary

CVE-2025-71102 is a medium (CVSS 5.5) vulnerability in linux. EPSS estimates a 0.15% chance of exploitation in the next 30 days, higher than 3.9% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.5/10
010
Medium · v3.1 (NVD)
EPSS score
0.15%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 34 · Related 30

Timeline

  1. 14-01-2026
    PublishedVulnerability first disclosed.
  2. 11-05-2026
    Last modifiedVulnerability information updated.

Description

In the Linux kernel, the following vulnerability has been resolved: scs: fix a wrong parameter in __scs_magic __scs_magic() needs a 'void *' variable, but a 'struct task_struct *' is given. 'task_scs(tsk)' is the starting address of the task's shadow call stack, and '__scs_magic(task_scs(tsk))' is the end address of the task's shadow call stack. Here should be '__scs_magic(task_scs(tsk))'. The user-visible effect of this bug is that when CONFIG_DEBUG_STACK_USAGE is enabled, the shadow call stack usage checking function (scs_check_usage) would scan an incorrect memory range. This could lead 1. **Inaccurate stack usage reporting**: The function would calculate wrong usage statistics for the shadow call stack, potentially showing incorrect value in kmsg. 2. **Potential kernel crash**: If the value of __scs_magic(tsk)is greater than that of __scs_magic(task_scs(tsk)), the for loop may access unmapped memory, potentially causing a kernel panic. However, this scenario is unlikely because task_struct is allocated via the slab allocator (which typically returns lower addresses), while the shadow call stack returned by task_scs(tsk) is allocated via vmalloc(which typically returns higher addresses). However, since this is purely a debugging feature (CONFIG_DEBUG_STACK_USAGE), normal production systems should be not unaffected. The bug only impacts developers and testers who are actively debugging stack usage with this configuration enabled.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.15%

Chance of exploitation in the next 30 days

Percentile

4%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.14% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

No weakness data has been published for this record.

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu144 products
  • linux< 5.15.0-173.183 | < 6.8.0-110.110 | < 6.17.0-22.22
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-aws< 5.15.0-1103.110 | < 6.8.0-1052.55 | < 6.17.0-1012.12
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ 5bbaf9d1fcb9be696ee9a61636ab6803556c70f2, < 1727e8bd69103a68963a5613a0ddb6d8d37df5d3 | ≥ 5bbaf9d1fcb9be696ee9a61636ab6803556c70f2, < cfdf6250b63b953b1d8e60814c8ca96c6f9d1c8c | ≥ 5bbaf9d1fcb9be696ee9a61636ab6803556c70f2, < 57ba40b001be27786d0570dd292289df748b306b | ≥ 5bbaf9d1fcb9be696ee9a61636ab6803556c70f2, < 062774439d442882b44f5eab8c256ad3423ef284 | ≥ 5bbaf9d1fcb9be696ee9a61636ab6803556c70f2, < 9ef28943471a16e4f9646bc3e8e2de148e7d8d7b | ≥ 5bbaf9d1fcb9be696ee9a61636ab6803556c70f2, < a19fb3611e4c06624fc0f83ef19f4fb8d57d4751 | ≥ 5bbaf9d1fcb9be696ee9a61636ab6803556c70f2, < 08bd4c46d5e63b78e77f2605283874bbe868ab19 | 5.8
  • linux_kernel≥ 5.8.1, < 5.10.248 | ≥ 5.11, < 5.15.198 | ≥ 5.16, < 6.1.160 | ≥ 6.2, < 6.6.120 | ≥ 6.7, < 6.12.64 | ≥ 6.13, < 6.18.3 | 5.8 | 6.19:rc1 | 6.19:rc2 | 6.19:rc3 | 6.19:rc4 | 6.19:rc5 | 6.19:rc6 | 6.19:rc7 | 6.19:rc8
Debian1 product
  • linux< 6.1.162-1 | < 6.12.69-1 | < 6.18.3-1

3 vendors · 147 products

References

40 links
Show all 40 references