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

LoongArch: BPF: Fix off-by-one error in build_prologue()

CVSS 3.1 7.8 HIGHCheck source for fixed versionsKEV status unknown

Historical advisory recorded 23 Oct 2026 15:48:27 UTC. Read the latest advisory.

cve-program · CVE-2025-37893

Published

In the Linux kernel, the following vulnerability has been resolved: LoongArch: BPF: Fix off-by-one error in build_prologue() Vincent reported that running BPF progs with tailcalls on LoongArch causes kernel hard lockup. Debugging the issues shows that the JITed image missing a jirl instruction at the end of the epilogue. There are two passes in JIT compiling, the first pass set the flags and the second pass generates JIT code based on those flags. With BPF progs mixing bpf2bpf and tailcalls, build_prologue() generates N insns in the first pass and then generates N+1 insns in the second pass. This makes epilogue_offset off by one and we will jump to some unexpected insn and cause lockup. Fix this by inserting a nop insn.

Read the publisher's advisory

Affected versions, risk and source history

cve-program · CVE-2025-37893

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/loongarch/net/bpf_jit.c",
                        "arch/loongarch/net/bpf_jit.h"
                    ],
                    "versions": [
                        {
                            "version": "5dc615520c4dfb358245680f1904bad61116648e",
                            "lessThan": "b3ffad2f02db4aace6799fe0049508b8925eae45",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5dc615520c4dfb358245680f1904bad61116648e",
                            "lessThan": "205a2182c51ffebaef54d643e3745e720cded08b",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5dc615520c4dfb358245680f1904bad61116648e",
                            "lessThan": "c74d95a5679741ef428974ab788f5b0758dc78ae",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5dc615520c4dfb358245680f1904bad61116648e",
                            "lessThan": "48b904de2408af5f936f0e03f48dfcddeab58aa0",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5dc615520c4dfb358245680f1904bad61116648e",
                            "lessThan": "7e2586991e36663c9bc48c828b83eab180ad30a9",
                            "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/loongarch/net/bpf_jit.c",
                        "arch/loongarch/net/bpf_jit.h"
                    ],
                    "versions": [
                        {
                            "version": "6.1",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.1",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.87",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.23",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.13.11",
                            "lessThanOrEqual": "6.13.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.14.2",
                            "lessThanOrEqual": "6.14.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.15",
                            "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 23 Nov 00:59 UTC · 274 of 275 readable · 270 fully read · documentation 469/469 current