Skip to content
High 7.8

Linux カーネルの BPF で 32 ビット演算の上位ビットが正しく扱われず情報が漏れるおそれ

CVE-2026-98869 First seen on SecPulse

Summary

Linux カーネルの BPF ベリファイアで、32 ビット演算後のレジスタ上位ビットのゼロ拡張処理に誤りがあり、情報が漏れるおそれがあります。影響を受けるのは Linux カーネルで、修正の有無や版の詳細は確認できていません。最新の情報を確認してください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

Linux カーネルの BPF ベリファイアで、32 ビット演算後のレジスタ上位ビットのゼロ拡張処理に誤りがあり、情報が漏れるおそれがあります。影響を受けるのは Linux カーネルで、修正の有無や版の詳細は確認できていません。最新の情報を確認してください。

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

In the Linux kernel, the following vulnerability has been resolved:

bpf: Infer zext_dst based on static register liveness analysis

As reported in the thread [1], the verifier's 32-bit operations zero
extension logic is broken. This logic is responsible for correct
semantics of 32-bit operations on s390 architecture.

According to BPF semantics, operation w1 += 1 is supposed to zero
extend the upper half of the register r1. On s390 the JIT relies on
the verifier emitting explicit zero extension before such operations.

The verifier attempts to minimize the amount of zero extensions
inserted by tracking whether upper halves of the 64-bit registers are
ever used. Previously such tracking worked as follows:

  • bpf_reg_state->subreg_def field was set by do_check_insn()
    for each operation defining lower but not the upper halves
    of the register.
  • Whenever an operation reading the whole register was verified,
    the verifier checked register's subreg_def and set
    bpf_insn_aux_data->zext_dst flag as true via a call to
    mark_insn_zext() function.
  • After the verification was complete, a special pass
    bpf_opt_subreg_zext_lo32_rnd_hi32() extended 32-bit operations
    with bpf_insn_aux_data->zext_dst set as true by adding
    explicit zero extension.

Note that the logic above relies on bpf_reg_state->subreg_def,
which is a property of a current verifier state.
Before the commit [2] two additional steps happened:

  • The verifier tracked upper and lower register halves' liveness…

Source: NIST National Vulnerability Database NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details