CVE-2025-71102
publishedscs: fix a wrong parameter in __scs_magic
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux5bbaf9d1fcb9be696ee9a61636ab6803556c70f2 to < 1727e8bd69103a68963a5613a0ddb6d8d37df5d3 · 5bbaf9d1fcb9be696ee9a61636ab6803556c70f2 to < cfdf6250b63b953b1d8e60814c8ca96c6f9d1c8c · 5bbaf9d1fcb9be696ee9a61636ab6803556c70f2 to < 57ba40b001be27786d0570dd292289df748b306b · 5bbaf9d1fcb9be696ee9a61636ab6803556c70f2 to < 062774439d442882b44f5eab8c256ad3423ef284 · 5bbaf9d1fcb9be696ee9a61636ab6803556c70f2 to < 9ef28943471a16e4f9646bc3e8e2de148e7d8d7b · 5bbaf9d1fcb9be696ee9a61636ab6803556c70f2 to < a19fb3611e4c06624fc0f83ef19f4fb8d57d4751 · 5bbaf9d1fcb9be696ee9a61636ab6803556c70f2 to < 08bd4c46d5e63b78e77f2605283874bbe868ab19 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.8 (affected) · 0 to < 5.8 (unaffected · semver) · 5.10.248 through 5.10.* (unaffected · semver) · 5.15.198 through 5.15.* (unaffected · semver) · 6.1.160 through 6.1.* (unaffected · semver) · 6.6.120 through 6.6.* (unaffected · semver) · 6.12.64 through 6.12.* (unaffected · semver) · 6.18.3 through 6.18.* (unaffected · semver) · 6.19 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Debian | bookworm | linux | Advisory build | 6.1.162-1 | DSA-6127-1 |
| Ubuntu | focal | linux-aws-5.15 | Advisory build | 5.15.0-1103.110~20.04.1 | USN-8096-3 |
| Debian | bullseye | linux | Advisory build | 5.10.249-1 | DLA-4475-1 |
| Debian | bullseye | linux-6.1 | Advisory build | 6.1.162-1~deb11u1 | DLA-4476-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Debian | trixie | linux | Advisory build | 6.12.69-1 | DSA-6126-1 |
| Ubuntu | focal | linux-aws-5.15-cloud-tools-5.15.0-1103 | Advisory build | 5.15.0-1103.110~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-aws-5.15-headers-5.15.0-1103 | Advisory build | 5.15.0-1103.110~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-aws-5.15-tools-5.15.0-1103 | Advisory build | 5.15.0-1103.110~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-azure-5.15 | Advisory build | 5.15.0-1110.119~20.04.1 | USN-8243-1 |
| Ubuntu | focal | linux-azure-5.15-cloud-tools-5.15.0-1110 | Advisory build | 5.15.0-1110.119~20.04.1 | USN-8243-1 |
| Ubuntu | focal | linux-azure-5.15-headers-5.15.0-1110 | Advisory build | 5.15.0-1110.119~20.04.1 | USN-8243-1 |
| Ubuntu | focal | linux-azure-5.15-tools-5.15.0-1110 | Advisory build | 5.15.0-1110.119~20.04.1 | USN-8243-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1055-nvidia-tegra | Advisory build | 5.15.0-1055.55~20.04.1 | USN-8096-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1055-nvidia-tegra-rt | Advisory build | 5.15.0-1055.55~20.04.1 | USN-8096-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1097-ibm | Advisory build | 5.15.0-1097.100~20.04.1 | USN-8096-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1098-intel-iotg | Advisory build | 5.15.0-1098.104~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1100-oracle | Advisory build | 5.15.0-1100.106~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1103-aws | Advisory build | 5.15.0-1103.110~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1103-gcp | Advisory build | 5.15.0-1103.112~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1110-azure | Advisory build | 5.15.0-1110.119~20.04.1 | USN-8243-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-173-generic | Advisory build | 5.15.0-173.183~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-buildinfo-5.15.0-173-generic-64k | Advisory build | 5.15.0-173.183~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-buildinfo-5.15.0-173-generic-lpae | Advisory build | 5.15.0-173.183~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-buildinfo-5.15.0-173-lowlatency | Advisory build | 5.15.0-173.183~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-buildinfo-5.15.0-173-lowlatency-64k | Advisory build | 5.15.0-173.183~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-1098-intel-iotg | Advisory build | 5.15.0-1098.104~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-1103-aws | Advisory build | 5.15.0-1103.110~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-1110-azure | Advisory build | 5.15.0-1110.119~20.04.1 | USN-8243-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-173-generic | Advisory build | 5.15.0-173.183~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-173-lowlatency | Advisory build | 5.15.0-173.183~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-gcp-5.15 | Advisory build | 5.15.0-1103.112~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-gcp-5.15-headers-5.15.0-1103 | Advisory build | 5.15.0-1103.112~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-gcp-5.15-tools-5.15.0-1103 | Advisory build | 5.15.0-1103.112~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-headers-5.15.0-1055-nvidia-tegra | Advisory build | 5.15.0-1055.55~20.04.1 | USN-8096-1 |
| Ubuntu | focal | linux-headers-5.15.0-1055-nvidia-tegra-rt | Advisory build | 5.15.0-1055.55~20.04.1 | USN-8096-1 |
| Ubuntu | focal | linux-headers-5.15.0-1097-ibm | Advisory build | 5.15.0-1097.100~20.04.1 | USN-8096-1 |
| Ubuntu | focal | linux-headers-5.15.0-1098-intel-iotg | Advisory build | 5.15.0-1098.104~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-headers-5.15.0-1100-oracle | Advisory build | 5.15.0-1100.106~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-headers-5.15.0-1103-aws | Advisory build | 5.15.0-1103.110~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-headers-5.15.0-1103-gcp | Advisory build | 5.15.0-1103.112~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-headers-5.15.0-1110-azure | Advisory build | 5.15.0-1110.119~20.04.1 | USN-8243-1 |
| Ubuntu | focal | linux-headers-5.15.0-173-generic | Advisory build | 5.15.0-173.183~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-headers-5.15.0-173-generic-64k | Advisory build | 5.15.0-173.183~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-headers-5.15.0-173-generic-lpae | Advisory build | 5.15.0-173.183~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-headers-5.15.0-173-lowlatency | Advisory build | 5.15.0-173.183~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-headers-5.15.0-173-lowlatency-64k | Advisory build | 5.15.0-173.183~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-hwe-5.15 | Advisory build | 5.15.0-173.183~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-hwe-5.15-cloud-tools-5.15.0-173 | Advisory build | 5.15.0-173.183~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-hwe-5.15-headers-5.15.0-173 | Advisory build | 5.15.0-173.183~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-hwe-5.15-tools-5.15.0-173 | Advisory build | 5.15.0-173.183~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-ibm-5.15 | Advisory build | 5.15.0-1097.100~20.04.1 | USN-8096-1 |
| Ubuntu | focal | linux-ibm-5.15-headers-5.15.0-1097 | Advisory build | 5.15.0-1097.100~20.04.1 | USN-8096-1 |
| Ubuntu | focal | linux-ibm-5.15-source-5.15.0 | Advisory build | 5.15.0-1097.100~20.04.1 | USN-8096-1 |
| Ubuntu | focal | linux-ibm-5.15-tools-5.15.0-1097 | Advisory build | 5.15.0-1097.100~20.04.1 | USN-8096-1 |
| Ubuntu | focal | linux-image-5.15.0-173-generic | Advisory build | 5.15.0-173.183~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-image-5.15.0-173-generic-lpae | Advisory build | 5.15.0-173.183~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1055-nvidia-tegra | Advisory build | 5.15.0-1055.55~20.04.1 | USN-8096-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1055-nvidia-tegra-rt | Advisory build | 5.15.0-1055.55~20.04.1 | USN-8096-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1097-ibm | Advisory build | 5.15.0-1097.100~20.04.1 | USN-8096-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1098-intel-iotg | Advisory build | 5.15.0-1098.104~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1100-oracle | Advisory build | 5.15.0-1100.106~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1103-aws | Advisory build | 5.15.0-1103.110~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1103-gcp | Advisory build | 5.15.0-1103.112~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1110-azure | Advisory build | 5.15.0-1110.119~20.04.1 | USN-8243-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-173-generic | Advisory build | 5.15.0-173.183~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-173-generic-64k | Advisory build | 5.15.0-173.183~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-173-lowlatency | Advisory build | 5.15.0-173.183~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-173-lowlatency-64k | Advisory build | 5.15.0-173.183~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-intel-iotg-5.15 | Advisory build | 5.15.0-1098.104~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-intel-iotg-5.15-cloud-tools-5.15.0-1098 | Advisory build | 5.15.0-1098.104~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-intel-iotg-5.15-cloud-tools-common | Advisory build | 5.15.0-1098.104~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-intel-iotg-5.15-headers-5.15.0-1098 | Advisory build | 5.15.0-1098.104~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-intel-iotg-5.15-tools-5.15.0-1098 | Advisory build | 5.15.0-1098.104~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-intel-iotg-5.15-tools-common | Advisory build | 5.15.0-1098.104~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-intel-iotg-5.15-tools-host | Advisory build | 5.15.0-1098.104~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-lowlatency-hwe-5.15 | Advisory build | 5.15.0-173.183~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-lowlatency-hwe-5.15-cloud-tools-5.15.0-173 | Advisory build | 5.15.0-173.183~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-lowlatency-hwe-5.15-headers-5.15.0-173 | Advisory build | 5.15.0-173.183~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-lowlatency-hwe-5.15-tools-5.15.0-173 | Advisory build | 5.15.0-173.183~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-modules-5.15.0-1055-nvidia-tegra | Advisory build | 5.15.0-1055.55~20.04.1 | USN-8096-1 |
| Ubuntu | focal | linux-modules-5.15.0-1055-nvidia-tegra-rt | Advisory build | 5.15.0-1055.55~20.04.1 | USN-8096-1 |
| Ubuntu | focal | linux-modules-5.15.0-1097-ibm | Advisory build | 5.15.0-1097.100~20.04.1 | USN-8096-1 |
| Ubuntu | focal | linux-modules-5.15.0-1098-intel-iotg | Advisory build | 5.15.0-1098.104~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-modules-5.15.0-1100-oracle | Advisory build | 5.15.0-1100.106~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-modules-5.15.0-1103-aws | Advisory build | 5.15.0-1103.110~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-modules-5.15.0-1103-gcp | Advisory build | 5.15.0-1103.112~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-modules-5.15.0-1110-azure | Advisory build | 5.15.0-1110.119~20.04.1 | USN-8243-1 |
| Ubuntu | focal | linux-modules-5.15.0-173-generic | Advisory build | 5.15.0-173.183~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-modules-5.15.0-173-generic-64k | Advisory build | 5.15.0-173.183~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-modules-5.15.0-173-generic-lpae | Advisory build | 5.15.0-173.183~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-modules-5.15.0-173-lowlatency | Advisory build | 5.15.0-173.183~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-modules-5.15.0-173-lowlatency-64k | Advisory build | 5.15.0-173.183~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-modules-extra-5.15.0-1055-nvidia-tegra | Advisory build | 5.15.0-1055.55~20.04.1 | USN-8096-1 |
| Ubuntu | focal | linux-modules-extra-5.15.0-1097-ibm | Advisory build | 5.15.0-1097.100~20.04.1 | USN-8096-1 |
| Ubuntu | focal | linux-modules-extra-5.15.0-1098-intel-iotg | Advisory build | 5.15.0-1098.104~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-modules-extra-5.15.0-1100-oracle | Advisory build | 5.15.0-1100.106~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-modules-extra-5.15.0-1103-aws | Advisory build | 5.15.0-1103.110~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-modules-extra-5.15.0-1103-gcp | Advisory build | 5.15.0-1103.112~20.04.1 | USN-8096-3 |
| Ubuntu | focal | linux-modules-extra-5.15.0-1110-azure | Advisory build | 5.15.0-1110.119~20.04.1 | USN-8243-1 |
| Ubuntu | focal | linux-modules-extra-5.15.0-173-generic | Advisory build | 5.15.0-173.183~20.04.1 | USN-8096-3 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 5bbaf9d1fcb9be696ee9a61636ab6803556c70f2 to < 1727e8bd69103a68963a5613a0ddb6d8d37df5d3 (affected · git)5bbaf9d1fcb9be696ee9a61636ab6803556c70f2 to < cfdf6250b63b953b1d8e60814c8ca96c6f9d1c8c (affected · git)5bbaf9d1fcb9be696ee9a61636ab6803556c70f2 to < 57ba40b001be27786d0570dd292289df748b306b (affected · git)5bbaf9d1fcb9be696ee9a61636ab6803556c70f2 to < 062774439d442882b44f5eab8c256ad3423ef284 (affected · git)5bbaf9d1fcb9be696ee9a61636ab6803556c70f2 to < 9ef28943471a16e4f9646bc3e8e2de148e7d8d7b (affected · git)5bbaf9d1fcb9be696ee9a61636ab6803556c70f2 to < a19fb3611e4c06624fc0f83ef19f4fb8d57d4751 (affected · git)5bbaf9d1fcb9be696ee9a61636ab6803556c70f2 to < 08bd4c46d5e63b78e77f2605283874bbe868ab19 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.8 (affected)0 to < 5.8 (unaffected · semver)5.10.248 through 5.10.* (unaffected · semver)5.15.198 through 5.15.* (unaffected · semver)6.1.160 through 6.1.* (unaffected · semver)6.6.120 through 6.6.* (unaffected · semver)6.12.64 through 6.12.* (unaffected · semver)6.18.3 through 6.18.* (unaffected · semver)6.19 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
7- https://git.kernel.org/stable/c/062774439d442882b44f5eab8c256ad3423ef284
- https://git.kernel.org/stable/c/08bd4c46d5e63b78e77f2605283874bbe868ab19
- https://git.kernel.org/stable/c/1727e8bd69103a68963a5613a0ddb6d8d37df5d3
- https://git.kernel.org/stable/c/57ba40b001be27786d0570dd292289df748b306b
- https://git.kernel.org/stable/c/9ef28943471a16e4f9646bc3e8e2de148e7d8d7b
- https://git.kernel.org/stable/c/a19fb3611e4c06624fc0f83ef19f4fb8d57d4751
- https://git.kernel.org/stable/c/cfdf6250b63b953b1d8e60814c8ca96c6f9d1c8c
Provider assertions
1Linux · cna
scs: fix a wrong parameter in __scs_magic
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 63eb41136df607818a50b373fdcf20eaa12f4d802e843fbff6a630171c088e3c
- Ingested
- 23 Sep 2026, 08:58:12 UTC
- Source record
- Official CVE record