{"id":"CVE-2026-139623","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-11-30T14:19:45.187","lastModified":"2026-12-01T06:17:46.780","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Adjust pc-relative insn copied into its own patch\n\nbpf_do_misc_fixups() inits may_goto count by patching the first insn\nof a subprog with [ST, ST, first insn]. bpf_convert_ctx_accesses()\npatches insn that needs a barrier with [nospec, insn].\nbpf_adj_branches() doesn't adjust insns inside the patch, so when\nthe copy is a call, ld_imm64 of a func or a jump that points backward\nits target is off by the number of insns in front of it:\n\n  static int A(void)  { return 1; }\n  static int A2(void) { return 2; }\n  static int B(void)\n  {\n          int i, ret = A();\n\n          for (i = 0; i < 10 && can_loop; i++)\n                  ...\n          return ret;\n  }\n\nWhen A is placed in front of B and may_goto is timed 'call A' becomes\ncall of A + 2. B returns 2 when A + 2 is the start of A2. Otherwise\nthe prog is rejected with \"verifier bug: No program to jit at insn\".\n\nAdd bpf_adj_moved_insn() and use it for both copies."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["kernel/bpf/fixups.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"011832b97b311bb9e3c27945bc0d1089a14209c9","lessThan":"e254b23685ce3638605c0a80a72fcd8e9a9515d4","versionType":"git","status":"affected"},{"version":"011832b97b311bb9e3c27945bc0d1089a14209c9","lessThan":"e76fc81e1f1494ee117be80ce843737aa7957371","versionType":"git","status":"affected"},{"version":"011832b97b311bb9e3c27945bc0d1089a14209c9","lessThan":"c4a3a9f737e728fee10a1b9353bbfc89f04040d6","versionType":"git","status":"affected"},{"version":"011832b97b311bb9e3c27945bc0d1089a14209c9","lessThan":"67a3b916a7ae7c1a6bed08555417d444de6f5838","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["kernel/bpf/fixups.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"6.9","status":"affected"},{"version":"0","lessThan":"6.9","versionType":"semver","status":"unaffected"},{"version":"6.12.120","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.66","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.6","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc1","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.0,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.0,"impactScore":5.9}]},"references":[{"url":"https://git.kernel.org/stable/c/67a3b916a7ae7c1a6bed08555417d444de6f5838","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/c4a3a9f737e728fee10a1b9353bbfc89f04040d6","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/e254b23685ce3638605c0a80a72fcd8e9a9515d4","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/e76fc81e1f1494ee117be80ce843737aa7957371","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}