{"id":"CVE-2025-71270","summary":"LoongArch: Enable exception fixup for specific ADE subcode","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nLoongArch: Enable exception fixup for specific ADE subcode\n\nThis patch allows the LoongArch BPF JIT to handle recoverable memory\naccess errors generated by BPF_PROBE_MEM* instructions.\n\nWhen a BPF program performs memory access operations, the instructions\nit executes may trigger ADEM exceptions. The kernel’s built-in BPF\nexception table mechanism (EX_TYPE_BPF) will generate corresponding\nexception fixup entries in the JIT compilation phase; however, the\narchitecture-specific trap handling function needs to proactively call\nthe common fixup routine to achieve exception recovery.\n\ndo_ade(): fix EX_TYPE_BPF memory access exceptions for BPF programs,\nensure safe execution.\n\nRelevant test cases: illegal address access tests in module_attach and\nsubprogs_extable of selftests/bpf.","modified":"2026-03-20T12:46:41.044331Z","published":"2026-03-18T17:40:59.838Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71270.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/73ede654d9daa2ee41bdd17bc62946fc5a0258cb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9bdc1ab5e4ce6f066119018d8f69631a46f9c5a0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b9d9a221bd14ed4b01d113701976fa376762c544"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c2ed4f71e9288f21d5c53ff790270758e60fa5f9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c49a28068363f3dca439aa5fe4d3b1f8159809fe"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71270.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-71270"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"dbcd7f5fafea64dbe588c4ec18bc309fde5d1e1c"},{"fixed":"73ede654d9daa2ee41bdd17bc62946fc5a0258cb"},{"fixed":"c49a28068363f3dca439aa5fe4d3b1f8159809fe"},{"fixed":"c2ed4f71e9288f21d5c53ff790270758e60fa5f9"},{"fixed":"9bdc1ab5e4ce6f066119018d8f69631a46f9c5a0"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-71270.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.124"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.70"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.10"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-71270.json"}}],"schema_version":"1.7.5"}