cvelo
P3 · MediumCVSS 5.5EPSS 0.1%

CVE-2026-98075

  • CVE-2026-98075

Description

In the Linux kernel, the following vulnerability has been resolved: bpf: reject BPF_PSEUDO_FUNC reference to the main program fixups.c:jit_subprogs() rewrites BPF_PSEUDO_FUNC loads to contain real function addresses. This function is invoked from bpf_jit_subprogs() only when env->subprog_cnt > 1. Meaning that for any program like below: int main(void *ctx) { void *ptr = main; ... bpf_timer_set_callback(..., ptr); ... } The 'ptr' won't be ever converted to contain an address. In combination with e.g. bpf_timer_set_callback() this would lead to a function call at a bogus address. Instead of complicating the implementation, just assume that no useful program needs main to be a sync or async callback and reject BPF_PSEUDO_FUNC loads for the main subprogram.

Text from the NVD record.

Recommendation

  • linux linux kernel

    • If you run a version from 6.19 to before 7.2.7update to 7.2.7 or laterMajor version change: expect breaking changes
    • If you run a version from 6.13 to before 6.18.53update to 6.18.53 or laterMinor version change: check the release notes
    • If you run a version from 6.7 to before 6.12.111update to 6.12.111 or laterMinor version change: check the release notes
    • If you run a version from 6.2 to before 6.6.158update to 6.6.158 or laterMinor version change: check the release notes
    • If you run a version from 5.16 to before 6.1.189update to 6.1.189 or laterMajor version change: expect breaking changes
    • If you run a version from 5.13 to before 5.15.222update to 5.15.222 or laterMinor version change: check the release notes

    Some affected versions have no stated fix.

Taken from the version ranges of the NVD record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • linux linux kernel

    Affected versionsFixed in
    from 6.19 to before 7.2.77.2.7
    from 6.13 to before 6.18.536.18.53
    from 6.7 to before 6.12.1116.12.111
    from 6.2 to before 6.6.1586.6.158
    from 5.16 to before 6.1.1896.1.189
    from 5.13 to before 5.15.2225.15.222
    7.3none stated

Product versions from the NVD record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.