bpf: Fix tcx/netkit detach permissions when prog fd isn't given
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.6.160, 6.12.114, 6.18.14, 6.19.4
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From e420bed025071a623d2720a92bc2245c84757ecb · fixed in 8e1623e7d61faf16cbadc80550da874303611ff5; From e420bed025071a623d2720a92bc2245c84757ecb · fixed in 0c249f523175963b0a746bba673ecebdf6cefd86; From e420bed025071a623d2720a92bc2245c84757ecb · fixed in 4e0772cded109c238411f2fac36ac39302758b81; From e420bed025071a623d2720a92bc2245c84757ecb · fixed in 3f04cc1e5374da4c5e791ae010a06cfea7bacbe6; From e420bed025071a623d2720a92bc2245c84757ecb · fixed in ae23bc81ddf7c17b663c4ed1b21e35527b0a7131
- Linux Linux
6.6
- KernelLinux
From 6.6.0 · fixed in 6.6.160; From 6.7.0 · fixed in 6.12.114; From 6.13.0 · fixed in 6.18.14; From 6.19.0 · fixed in 6.19.4