Description
In the Linux kernel, the following vulnerability has been resolved: bpf: Fix tcx/netkit detach permissions when prog fd isn't given This commit fixes a security issue where BPF_PROG_DETACH on tcx or netkit devices could be executed by any user when no program fd was provided, bypassing permission checks. The fix adds a capability check for CAP_NET_ADMIN or CAP_SYS_ADMIN in this case.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
e420bed025071a623d2720a92bc2245c84757ecb to < 8e1623e7d61faf16cbadc80550da874303611ff5affectede420bed025071a623d2720a92bc2245c84757ecb to < 0c249f523175963b0a746bba673ecebdf6cefd86affectede420bed025071a623d2720a92bc2245c84757ecb to < 4e0772cded109c238411f2fac36ac39302758b81affectede420bed025071a623d2720a92bc2245c84757ecb to < 3f04cc1e5374da4c5e791ae010a06cfea7bacbe6affectede420bed025071a623d2720a92bc2245c84757ecb to < ae23bc81ddf7c17b663c4ed1b21e35527b0a7131affected
Linux Linux
Default version status: affected
6.6affected0 to < 6.6unaffected6.6.160 to ≤ 6.6.*unaffected6.12.114 to ≤ 6.12.*unaffected6.18.14 to ≤ 6.18.*unaffected6.19.4 to ≤ 6.19.*unaffected7.0 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/8e1623e7d61faf16cbadc80550da874303611ff5 ↗
- https://git.kernel.org/stable/c/0c249f523175963b0a746bba673ecebdf6cefd86 ↗
- https://git.kernel.org/stable/c/4e0772cded109c238411f2fac36ac39302758b81 ↗
- https://git.kernel.org/stable/c/3f04cc1e5374da4c5e791ae010a06cfea7bacbe6 ↗
- https://git.kernel.org/stable/c/ae23bc81ddf7c17b663c4ed1b21e35527b0a7131 ↗