Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

riscv: stacktrace: Disable KASAN checks for non-current tasks

CVSS 3.1 7.1 HIGHCheck source for fixed versionsKEV status unknown

cve-program · CVE-2025-40358

Published

In the Linux kernel, the following vulnerability has been resolved: riscv: stacktrace: Disable KASAN checks for non-current tasks Unwinding the stack of a task other than current, KASAN would report "BUG: KASAN: out-of-bounds in walk_stackframe+0x41c/0x460" There is a same issue on x86 and has been resolved by the commit 84936118bdf3 ("x86/unwind: Disable KASAN checks for non-current tasks") The solution could be applied to RISC-V too. This patch also can solve the issue: https://seclists.org/oss-sec/2025/q4/23 [[email protected]: clean up checkpatch issues]

Read the publisher's advisory

Affected versions, risk and source history

cve-program · CVE-2025-40358

Published

Linux

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "arch/riscv/kernel/stacktrace.c"
                    ],
                    "versions": [
                        {
                            "version": "5d8544e2d0075a5f3c9a2cf27152354d54360da1",
                            "lessThan": "ef4d626ac59a56f8ec5cc09c1fef26f2923eec6f",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5d8544e2d0075a5f3c9a2cf27152354d54360da1",
                            "lessThan": "f34ba22989da61186f30a40b6a82e0b3337b96fc",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5d8544e2d0075a5f3c9a2cf27152354d54360da1",
                            "lessThan": "27379fcc15a10d3e3780fe79ba3fc7ed1ccd78e2",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5d8544e2d0075a5f3c9a2cf27152354d54360da1",
                            "lessThan": "2c8d2b53866fb229b438296526ef0fa5a990e5e5",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5d8544e2d0075a5f3c9a2cf27152354d54360da1",
                            "lessThan": "060ea84a484e852b52b938f234bf9b5503a6c910",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                }

Linux

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "arch/riscv/kernel/stacktrace.c"
                    ],
                    "versions": [
                        {
                            "version": "4.15",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "4.15",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.167",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.117",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.58",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.17.8",
                            "lessThanOrEqual": "6.17.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }

Original source record · Cite this exact observation · Complete original publisher JSON

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 22 Nov 23:56 UTC · 274 of 275 readable · 270 fully read · documentation 469/469 current