Linux Kernel是开放源码操作系统Linux所使用的内核。 Linux Kernel ax25子系统的net/ax25/af_ax25.c文件中的ax25_setsockopt函数中存在整数符号错误,本地用户可以在SO_BINDTODEVICE操作中使用特制的optlen值触发栈溢出,导致拒绝服务的情况。 <*参考 http://marc.info/?l=oss-security&m=125494119617994&w=2 http...
KERNEL_SOCKPTR(optval), optlen); } static int sol_ipv6_setsockopt(struct sock *sk, int optname, char *optval, int optlen) { if (sk->sk_family != AF_INET6) return -EINVAL; switch (optname) { case IPV6_TCLASS: if (optlen != sizeof(int)) return -EINVAL; break; default: retu...
linux-audit / audit-kernel Public Notifications Fork 37 Star 143 Commit Permalink bpf: Add a few optnames to bpf_setsockopt Browse files This patch adds a few optnames for bpf_setsockopt: SO_REUSEADDR, IPV6_AUTOFLOWLABEL, TCP_MAXSEG, TCP_NODELAY, and TCP_THIN_LINEAR_TIMEOUTS. ...
GVPopenEuler/kernel 代码 Issues 1230 Pull Requests 2944 Wiki 统计 流水线 服务 Pull Requests / 详情 9083 Bluetooth: L2CAP: Fix not validating setsockopt user input 已合并 ci-robot:patch-1718365821 openEuler:OLK-5.10 ci-robot 创建于 2024-06-14 19:50 克隆/下载 HTTPS SSH 复制 下载...
xtables-legacy are the original versions of iptables that use old getsockopt/setsockopt-based kernel interface. This kernel interface has some limitations, therefore
xtables-legacy are the original versions of iptables that use old getsockopt/setsockopt-based kernel interface. This kernel interface has some limitations, therefore
We can find that the key issue is that net_device has not been protected in raw_setsockopt(). Use rtnl_lock to protect net_device in raw_setsockopt(). Fixes: c18ce10 ("[CAN]: Add raw protocol") Link: https://lore.kernel.org/r/20210722070819.1048263-1-william.xuanziyang@huawei.com...
xtables-legacy are the original versions of iptables that use old getsockopt/setsockopt-based kernel interface. This kernel interface has some limitations, therefore