Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2025-71129

LoongArch: BPF: Sign extend kfunc call arguments

Description

In the Linux kernel, the following vulnerability has been resolved: LoongArch: BPF: Sign extend kfunc call arguments The kfunc calls are native calls so they should follow LoongArch calling conventions. Sign extend its arguments properly to avoid kernel panic. This is done by adding a new emit_abi_ext() helper. The emit_abi_ext() helper performs extension in place meaning a value already store in the target register (Note: this is different from the existing sign_extend() helper and thus we can't reuse it).

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 5dc615520c4dfb358245680f1904bad61116648e to < fd43edf357a3a1f5ed1c4bf450b60001c9091c39affected
  • 5dc615520c4dfb358245680f1904bad61116648e to < 0d666db731e95890e0eda7ea61bc925fd2be90c6affected
  • 5dc615520c4dfb358245680f1904bad61116648e to < 321993a874f571a94b5a596f1132f798c663b56eaffected
  • 5dc615520c4dfb358245680f1904bad61116648e to < 3f5a238f24d7b75f9efe324d3539ad388f58536eaffected

Linux Linux

Default version status: affected

  • 6.1affected
  • 0 to < 6.1unaffected
  • 6.6.120 to ≤ 6.6.*unaffected
  • 6.12.64 to ≤ 6.12.*unaffected
  • 6.18.4 to ≤ 6.18.*unaffected
  • 6.19 to ≤ *unaffected

References