CVE-2026-74305

bpf: Tighten cgroup storage cookie checks for prog arrays

State
Published
Severity
7.8 High
Published
Aug 15, 2026
Updated
Oct 16, 2026
Reserved
Aug 15, 2026

Read the record on cve.org

Description

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

bpf: Tighten cgroup storage cookie checks for prog arrays

The fix in commit abad3d0bad72 ("bpf: Fix oob access in cgroup local storage") is still incomplete. The prog-array compatibility check treats a program with no cgroup storage as compatible with any stored storage cookie. This allows a storage-less program to bridge a tail call chain between an entry program and a storage-using callee even though cgroup local storage at runtime still follows the caller's context, that is, A -> B(no storage) -> C(storage) path.

Requiring exact cookie equality would break the legitimate case of a storage-less leaf program being tail called from a storage-using one. Instead, only accept a zero storage cookie if the program cannot perform tail calls itself. This keeps A -> B(no storage) working while rejecting the A -> B(no storage) -> C(storage) bridge.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • c1c74584b9b4043c52e41fec415226e582d266a3 to before 87177497cca90bf4fcfb759eb898560eb5b46a10Affected
  • 66da7cee78590259b400e51a70622ccd41da7bb2 to before 1c762d28698483ce7c372091f34d86e4d4828652Affected
  • 7acfa07c585e3d7a64654d38f0a5c762877d0b9b to before eb73056ce2a6f101ddd3bdba89af6b24ebffff85Affected
  • 41688d1fc5d163a6c2c0e95c0419e2cb31a44648 to before 9ca06849c4239aa2d580c54651f8588c51cb398bAffected
  • abad3d0bad72a52137e0c350c59542d75ae4f513 to before 46fbafe3d2d569d828e8d24a7dbe1659f63685cfAffected
  • abad3d0bad72a52137e0c350c59542d75ae4f513 to before cb22dc79528eb26a46d346c3118dbd6b14c70609Affected
  • abad3d0bad72a52137e0c350c59542d75ae4f513 to before 10627ddc0167aab5c1c390a10ef461e9937aba08Affected
  • 19341d5c59e8c7e8528e40f8663e99d67810473cAffected
  • 5.15.192 to before 5.15.212Affected
  • 6.1.151 to before 6.1.178Affected
  • 6.6.105 to before 6.6.145Affected
  • 6.12.46 to before 6.12.97Affected
  • 6.16.1 to before 6.17Affected
LinuxLinux
  • 6.17Affected
  • before 6.17Not affected
  • 5.15.212 through 5.15.*Not affected
  • 6.1.178 through 6.1.*Not affected
  • 6.6.145 through 6.6.*Not affected
  • 6.12.97 through 6.12.*Not affected
  • 6.18.40 through 6.18.*Not affected
  • 7.1.5 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.