Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected e420bed025071a623d2720a92bc2245c84757ecb before 8e1623e7d61faf16cbadc80550da874303611ff5; affected e420bed025071a623d2720a92bc2245c84757ecb before 0c249f523175963b0a746bba673ecebdf6cefd86; affected e420bed025071a623d2720a92bc2245c84757ecb before 4e0772cded109c238411f2fac36ac39302758b81; affected e420bed025071a623d2720a92bc2245c84757ecb before 3f04cc1e5374da4c5e791ae010a06cfea7bacbe6; affected e420bed025071a623d2720a92bc2245c84757ecb before ae23bc81ddf7c17b663c4ed1b21e35527b0a7131 |
| Linux / Linux | affected 6.6; unaffected 0 before 6.6; unaffected 6.6.160 through 6.6.*; unaffected 6.12.114 through 6.12.*; unaffected 6.18.14 through 6.18.*; unaffected 6.19.4 through 6.19.*; unaffected 7.0 through * |
CWE
No CWE identifiers supplied.
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