CVE-2026-98075
Full vulnerability record from the local CVENow database.
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.
View original CVE JSON
{
"id": "CVE-2026-98075",
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"published": "2026-09-25T11:17:36.847",
"lastModified": "2026-10-19T10:18:03.130",
"vulnStatus": "Undergoing Analysis",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: reject BPF_PSEUDO_FUNC reference to the main program\n\nfixups.c:jit_subprogs() rewrites BPF_PSEUDO_FUNC loads to contain real\nfunction addresses. This function is invoked from bpf_jit_subprogs()\nonly when env->subprog_cnt > 1. Meaning that for any program like\nbelow:\n\n int main(void *ctx) {\n void *ptr = main;\n ...\n bpf_timer_set_callback(..., ptr);\n ...\n }\n\nThe 'ptr' won't be ever converted to contain an address.\nIn combination with e.g. bpf_timer_set_callback() this would lead to a\nfunction call at a bogus address.\n\nInstead of complicating the implementation, just assume that no useful\nprogram needs main to be a sync or async callback and reject\nBPF_PSEUDO_FUNC loads for the main subprogram."
}
],
"affected": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"affectedData": [
{
"vendor": "Linux",
"product": "Linux",
"defaultStatus": "unaffected",
"programFiles": [
"kernel/bpf/verifier.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"versions": [
{
"version": "69c087ba6225b574afb6e505b72cb75242a3d844",
"lessThan": "c74750dca96f40a1adb9d334f5a3152f44b270c3",
"versionType": "git",
"status": "affected"
},
{
"version": "69c087ba6225b574afb6e505b72cb75242a3d844",
"lessThan": "314c8caa9cb64ad60c5b969fe9a3e2dcdccf156f",
"versionType": "git",
"status": "affected"
},
{
"version": "69c087ba6225b574afb6e505b72cb75242a3d844",
"lessThan": "8cb75f7ada25b1cf25f2f74dec3ba649b9064a09",
"versionType": "git",
"status": "affected"
},
{
"version": "69c087ba6225b574afb6e505b72cb75242a3d844",
"lessThan": "118212417ba0120d99f84154799f8880f07411f4",
"versionType": "git",
"status": "affected"
},
{
"version": "69c087ba6225b574afb6e505b72cb75242a3d844",
"lessThan": "d6c39774ae093c9f7009cc4ae918f18fc1af7ae7",
"versionType": "git",
"status": "affected"
},
{
"version": "69c087ba6225b574afb6e505b72cb75242a3d844",
"lessThan": "92f0bd0e2b632c6565ac2214a4d7d2ed37e5b9f6",
"versionType": "git",
"status": "affected"
},
{
"version": "69c087ba6225b574afb6e505b72cb75242a3d844",
"lessThan": "374b2c5561db80fcdd7cdce44af37a49416f61c7",
"versionType": "git",
"status": "affected"
}
]
},
{
"vendor": "Linux",
"product": "Linux",
"defaultStatus": "affected",
"programFiles": [
"kernel/bpf/verifier.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"versions": [
{
"version": "5.13",
"status": "affected"
},
{
"version": "0",
"lessThan": "5.13",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "5.15.222",
"lessThanOrEqual": "5.15.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.1.189",
"lessThanOrEqual": "6.1.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.6.158",
"lessThanOrEqual": "6.6.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.12.111",
"lessThanOrEqual": "6.12.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.18.53",
"lessThanOrEqual": "6.18.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "7.2.7",
"lessThanOrEqual": "7.2.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "7.3",
"lessThanOrEqual": "*",
"versionType": "original_commit_for_fix",
"status": "unaffected"
}
]
}
]
}
],
"metrics": {},
"references": [
{
"url": "https://git.kernel.org/stable/c/118212417ba0120d99f84154799f8880f07411f4",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/314c8caa9cb64ad60c5b969fe9a3e2dcdccf156f",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/374b2c5561db80fcdd7cdce44af37a49416f61c7",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/8cb75f7ada25b1cf25f2f74dec3ba649b9064a09",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/92f0bd0e2b632c6565ac2214a4d7d2ed37e5b9f6",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/c74750dca96f40a1adb9d334f5a3152f44b270c3",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/d6c39774ae093c9f7009cc4ae918f18fc1af7ae7",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
]
}