bpf: Add missing access_ok call to copy_user_syms
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel d5dc200c3a3f217de072af269dd90adddf90e48d, Kernel 0b6252afcd1965f77c6a6f8a802a2e1381822b98, Kernel 128391b57e0977c35243672a6f970073651f3831 and 8 more.
In the Linux kernel, the following vulnerability has been resolved: bpf: Add missing access_ok call to copy_user_syms As reported by sashiko we use __get_user without prior access_ok call on the user space pointer. Adding the missing call for the whole pointer array. Plus removing the err check in the error path, because it's not needed and also we can return -ENOMEM directly from the first kvmalloc_array fail path. [1] https://lore.kernel.org/bpf/20260611115503.AC16D1F00893@smtp.kernel.org/
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=0236fec57a15dc2a068dfe4488e0c2ab4559b1ec <d5dc200c3a3f217de072af269dd90adddf90e48d, >=0236fec57a15dc2a068dfe4488e0c2ab4559b1ec <0b6252afcd1965f77c6a6f8a802a2e1381822b98, >=0236fec57a15dc2a068dfe4488e0c2ab4559b1ec <128391b57e0977c35243672a6f970073651f3831, >=0236fec57a15dc2a068dfe4488e0c2ab4559b1ec <28ce7bcf8a29aa395b60764df4c97be745de89d0, >=0236fec57a15dc2a068dfe4488e0c2ab4559b1ec <8b719cef5ac30ab83ce5693c5faf10e4944874af, >=0236fec57a15dc2a068dfe4488e0c2ab4559b1ec <a67f7f9647cb243b3be32163e88e5bc76e3d51e9, =5.19 | d5dc200c3a3f217de072af269dd90adddf90e48d, 0b6252afcd1965f77c6a6f8a802a2e1381822b98, 128391b57e0977c35243672a6f970073651f3831, 28ce7bcf8a29aa395b60764df4c97be745de89d0, 8b719cef5ac30ab83ce5693c5faf10e4944874af, a67f7f9647cb243b3be32163e88e5bc76e3d51e9 |
| linux-kernel: Kernel | >=6.13.0 <6.18.40, >=6.19.0 <7.1.5, >=6.2.0 <6.6.145, >=6.7.0 <6.12.97, >=5.19.0 <6.1.178 | 6.18.40, 7.1.5, 6.6.145, 6.12.97, 6.1.178 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket