{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2025-71129",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-01-13T15:30:19.655Z",
        "datePublished": "2026-01-14T15:07:45.786Z",
        "dateUpdated": "2026-05-11T21:55:32.205Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-05-11T21:55:32.205Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nLoongArch: BPF: Sign extend kfunc call arguments\n\nThe kfunc calls are native calls so they should follow LoongArch calling\nconventions. Sign extend its arguments properly to avoid kernel panic.\nThis is done by adding a new emit_abi_ext() helper. The emit_abi_ext()\nhelper performs extension in place meaning a value already store in the\ntarget register (Note: this is different from the existing sign_extend()\nhelper and thus we can't reuse it)."
                }
            ],
            "affected": [
                {
                    "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": "fd43edf357a3a1f5ed1c4bf450b60001c9091c39",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5dc615520c4dfb358245680f1904bad61116648e",
                            "lessThan": "0d666db731e95890e0eda7ea61bc925fd2be90c6",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5dc615520c4dfb358245680f1904bad61116648e",
                            "lessThan": "321993a874f571a94b5a596f1132f798c663b56e",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5dc615520c4dfb358245680f1904bad61116648e",
                            "lessThan": "3f5a238f24d7b75f9efe324d3539ad388f58536e",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "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.120",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.64",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.4",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.19",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.1",
                                    "versionEndExcluding": "6.6.120"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.1",
                                    "versionEndExcluding": "6.12.64"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.1",
                                    "versionEndExcluding": "6.18.4"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.1",
                                    "versionEndExcluding": "6.19"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/fd43edf357a3a1f5ed1c4bf450b60001c9091c39"
                },
                {
                    "url": "https://git.kernel.org/stable/c/0d666db731e95890e0eda7ea61bc925fd2be90c6"
                },
                {
                    "url": "https://git.kernel.org/stable/c/321993a874f571a94b5a596f1132f798c663b56e"
                },
                {
                    "url": "https://git.kernel.org/stable/c/3f5a238f24d7b75f9efe324d3539ad388f58536e"
                }
            ],
            "title": "LoongArch: BPF: Sign extend kfunc call arguments",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}